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
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to