hi,
I have a qtoolbutton's object which i have typecasted to QWidget.so that i can use it.
I want the text in qtoolbutton to change when a particular condition becomes true.
I tried doing this using Setwindowtext.Its not working.What is the problem in my code.
Qt Code:
QToolButton* toolbuttonmsg; msg->setWindowTitle("Hi");To copy to clipboard, switch view to plain text mode
Bookmarks