示例#1
0
文件: gui.py 项目: 3WiseMen/python
class MyDialog(QtGui.QDialog):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)
    def slot_1st():
    	print ('slot_1st')
    def slot_2nd():
    	print ('slot_2nd')
    def slot_3rd():
    	print ('slot_3rd')
示例#2
0
class MyDialog(QtGui.QDialog):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)

    def slot_1st():
        print('slot_1st')

    def slot_2nd():
        print('slot_2nd')

    def slot_3rd():
        print('slot_3rd')
示例#3
0
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = Ui_Dialog()
     self.ui.setupUi(self)
示例#4
0
文件: gui.py 项目: 3WiseMen/python
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = Ui_Dialog()
     self.ui.setupUi(self)