Ejemplo 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")
Ejemplo 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")
Ejemplo 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)
Ejemplo 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)