Beispiel #1
0
class Form(QtGui.QDialog):
    def __init__(self, parent=None, trigger=None):
        QtGui.QDialog.__init__(self, parent)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)
        """self.ui.ok.clicked.connect(self.ok)
        self.setModal(True)"""
        self.show()

    def cancel(self):
        self.reject()

    def ok(self):
        self.accept()
Beispiel #2
0
class Form(QtGui.QDialog):
    def __init__(self, parent=None, trigger=None):
        QtGui.QDialog.__init__(self, parent)
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)
        """self.ui.ok.clicked.connect(self.ok)
        self.setModal(True)"""
        self.show()

    def cancel(self):
        self.reject()

    def ok(self):
        self.accept()
Beispiel #3
0
class holamundo(QtGui.QDialog):
    def __init__(self):
        super(holamundo, self).__init__()
        self.ui = Ui_Dialog()
        self.ui.setupUi(self)
        self.show()
Beispiel #4
0
class holamundo(QtGui.QDialog):
	def __init__(self):
		super(holamundo, self).__init__()
		self.ui=Ui_Dialog()
		self.ui.setupUi(self)
		self.show()