Displaying help text after clicking the pushbutton and lineedit
General and Desktop
2
Posts
2
Posters
1.4k
Views
1
Watching
-
wrote on 21 Jun 2012, 05:33 last edited by
I have a pushbutton and a lineedit , and what i want is , when i click that pushbutton or lineedit a help text(the purpose of that component) shall be shown besides the respective component.
Please give reply soon , i need it urgently ..
Thankx in advance .. -
wrote on 21 Jun 2012, 05:45 last edited by
You should connect appropriate signals from "QPushButton":http://qt-project.org/doc/qt-4.8/QPushButton.html and "QLineEdit":http://qt-project.org/doc/qt-4.8/qlineedit.html to a slot which shows a custom help widget. Check this example at Qt Dev Net Wiki about "QPushButton":http://qt-project.org/wiki/How_to_Use_QPushButton
1/2