Displaying help text after clicking the pushbutton and lineedit
-
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 .. -
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