PDA

View Full Version : How to show a QDialog ( Designed ) ?



Bong.Da.City
17th August 2010, 15:19
I had created a new design form but i do not know how to show it :)
Take a look to the example i have created ... Download link: Here (http://www.megaupload.com/?d=3IN2LIDB)

http://i36.tinypic.com/343ng2c.jpg

Zlatomir
17th August 2010, 15:27
You connect the button's clicked signal to the dialog's show (or exec) slot. documentation for signal and slots. (http://doc.trolltech.com/4.6/signalsandslots.html)

Bong.Da.City
17th August 2010, 16:24
Emm.. can you edit the example programm (http://www.megaupload.com/?d=3IN2LIDB) i had uploaded so as to me to understand :)

Lykurg
17th August 2010, 16:36
Emm.. can you edit the example programm (http://www.megaupload.com/?d=3IN2LIDB) i had uploaded so as to me to understand :)

Ehm, could you just read the said pages in the documentation and try to understand it? We are not here to do your work neither we can learn for you. And if you are not able to do such a simple task, then please use next time our Newbie section. Also do not use 3rd party sites to host examples. Attach them on the board instead. (So the threads will stay valid a long time.)

Try it and if you have trouble ask again, showing what you have tried so far.

Bong.Da.City
17th August 2010, 16:40
Οκ sorry... I will try to understand it from the documentation... And sorry for the link. I forgot it to attach it ...

Bong.Da.City
17th August 2010, 16:54
I had posted it to the Newbie section. I am a bit of a noob but to become better i should first learn some basic things...