[PyQt] Child Windows

Lawrence Shafer detroit371 at gmail.com
Fri Oct 12 04:26:18 BST 2007


I'm having trouble getting my brain wrapped around all this gooey stuff!

I want to show a child window, but have definitely NOT figured out the 
proper way to do it. Here's what shows the window right now, the problem 
being it is a seperate top level window. I'm good with python but QT is 
wearing my brain out so please help me understand this.

Thanks,
Lawrence

    @QtCore.pyqtSignature("")
    def on_editButton_clicked(self):
        self.win = filterEdit()
        self.win.show()

class filterEdit(QtGui.QWidget):
    def __init__(self):
        QtGui.QWidget.__init__(self)
        self.ui = Ui_filterEdit()
        self.ui.setupUi(self)



More information about the PyQt mailing list