Esempio n. 1
0
class StartQT4(QtGui.QMainWindow):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_MainWindow()
        self.ui.setupUi(self)
        QtCore.QObject.connect(self.ui.menu_File, QtCore.SIGNAL("clicked()"), self.file_dialog)
    def file_dialog(self):
        self.ui.textEdit.setText("aaaaaaaaa")
Esempio n. 2
0
class StartQT4(QtGui.QMainWindow):
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = Ui_MainWindow()
        self.ui.setupUi(self)
        QtCore.QObject.connect(self.ui.menu_File, QtCore.SIGNAL("clicked()"),
                               self.file_dialog)

    def file_dialog(self):
        self.ui.textEdit.setText("aaaaaaaaa")
Esempio n. 3
0
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = Ui_MainWindow()
     self.ui.setupUi(self)
     QtCore.QObject.connect(self.ui.menu_File, QtCore.SIGNAL("clicked()"), self.file_dialog)
Esempio n. 4
0
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = Ui_MainWindow()
     self.ui.setupUi(self)
     QtCore.QObject.connect(self.ui.menu_File, QtCore.SIGNAL("clicked()"),
                            self.file_dialog)