示例#1
0
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = Ui_DesignedWidget()
     self.ui.setupUi(self)
示例#2
0
class WidgetWithUiAsAttr(QtGui.QWidget):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_DesignedWidget()
        self.ui.setupUi(self)