How to set visible?
-
Hi, I create signal/slot link between button and label, I did so:
!http://nn3.upanh.com/b5.s28.d1/b1fdaec906bff07328437fac0a023a8e_45711083.h1.png(Interface)!
Currently, I only set a layout grid for form. When clicking at Show Button, I think it will display message "Hello World", but it couldn't ...
Maybe I missed something.
"Source":http://www.mediafire.com/?e11q1g30rmbai15
(copy link and paste it) -
Follow this example about "QPushButton":http://qt-project.org/wiki/How_to_Use_QPushButton and modify method handleButton() to show the desired message.
-
Thanks, I think signal released() and slot handleButton() are another story, maybe I will do it at a nice day :) . I am learning how to use toogle(bool) and setVisible(bool) in qt designer. You know my mistake? Can you show me?
-
Eureka, I miss checkable on Show button, if having anyone' support, I didn't waste much time ... to bite pencil =_=