June 21, 2012

Vikuseth Vikuseth
Ant Farmer
76 posts

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 ..

1 reply

June 21, 2012

leon.anavi leon.anavi
Mad Scientist
1045 posts

You should connect appropriate signals from QPushButton [qt-project.org] and QLineEdit [qt-project.org] to a slot which shows a custom help widget. Check this example at Qt Dev Net Wiki about QPushButton [qt-project.org]

 Signature 

http://anavi.org/

 
  ‹‹ How to select one widget in multipled widgets layout?      What is the difference between QWS and lighthouse ? ››

You must log in to post a reply. Not a member yet? Register here!