[PyQt] Showing another form

Luca Bedogni me at lucabedogni.it
Fri Nov 16 14:32:50 GMT 2007

	it's my first message here :)
I'm building an interface for an application I've written.
Not sure if it's the best way, but I've a button called "Insert New", and I'd 
to get a string from a popup. So i builded another form, with a QLineEdit and 
an OK button, that i want to show when someone press "Insert New".

So i connected "Insert New" to a signal, in my app i catch that signal and 
instantiate the form, the form.show() doesn't show nothing. If I put a wrong 
command next to show, i could see my form, but that's not a good solution.

So, is this th best way to do that, and if positive, in what am I wrong?

Debian Powered GNU/Linux User #373118
Bedogni Luca - 	Blog | http://blog.lucabedogni.it
		        Site | http://www.lucabedogni.it
Debianizzati - www.debianizzati.org | Founder Member
The beauty of mechanical problems is that they are often visible to the
naked and untrained eye. If white smoke is rising from a disk drive,
that is probably where the problem lies (unless your disk drive has just
elected the new Pope). - John Bear, Computer Wimp  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071116/f8325dd7/attachment.bin

More information about the PyQt mailing list