[PyQt] Call a window from other parent window
Sergio Jovani Guzmán
sergio.jovani at gmail.com
Tue Oct 16 22:38:05 BST 2007
Hi all!
I am learning PyQt and I have a question.
I have two classes, one for each widget:
==================
class Main(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
loadUi("frmmain.ui", self)
class Conectar(QDialog):
def __init__(self):
QDialog.__init__(self)
loadUi("frmconectar.ui", self)
=====================
My question is, how can I call and show a widget from other with parent?
For example, open Conectar() window from Main() window?
Many thanks!
--
Sergio Jovani
More information about the PyQt
mailing list