Do some effort please to read the documentation:
http://doc.qt.nokia.com/4.7/tutorials.html
Do some effort please to read the documentation:
http://doc.qt.nokia.com/4.7/tutorials.html
as tbscope already mentioned, you need definitively some basics.
to give you some hints:
* write a custom class, I suggest to derive QDialog* put a QLineEditand a QPushButtoninto the dialog (you probably want to use Layouts)
* write a custom slot without Parameters. within the definition of this slot, you set the text of your QLineEdit* connect the clicked()-signal of the button with your custom slot
I think, this task is a good one to start with qt. you can always ask here i you have any problems. show us your code and explain, what you tried to do, then we can help. But please don't ask: "Can someone give me code for ...".
Bookmarks