Let's say that into the main window you have a lineedit, how can you open a dialog that displays the text of this lineedit?
example attached.
Thanks in advance for any answers
display_from_other_dialog.zip
Let's say that into the main window you have a lineedit, how can you open a dialog that displays the text of this lineedit?
example attached.
Thanks in advance for any answers
display_from_other_dialog.zip
When you 're trying to help somebody in the newbie section, don't forget that he is a newbie. Be specific and give examples.
Either pass the value into the the_other_Dialog constructor or create a public method in the_other_Dialog that accepts a value to display.
hakermania (8th January 2011)
Hey, thanks for the reply.
Once being in the beginners' section, can you please point me somewhere that explains how to do one of these?![]()
When you 're trying to help somebody in the newbie section, don't forget that he is a newbie. Be specific and give examples.
google for getter and setter methods. Also read about parameters: http://www.cplusplus.com/doc/tutorial/functions2/. It is all about basic c++ stuff.
hakermania (8th January 2011)
Bookmarks