Esempio n. 1
0
 def __init__(self, parent):
     QDialog.__init__(self, parent)
     self.ui = Ui_AboutDialog()
     self.ui.setupUi(self)
     self._main = parent
     settings = QSettings()
     self.ui.buttonClose.clicked.connect(self.onButtonClose)
Esempio n. 2
0
class aboutDialog(QDialog):
    def __init__(self, parent):
        QDialog.__init__(self, parent)
        self.ui = Ui_AboutDialog()
        self.ui.setupUi(self)
        self._main = parent
        settings = QSettings()
        self.ui.buttonClose.clicked.connect(self.onButtonClose)

    def onButtonClose(self):
        self.reject()
Esempio n. 3
0
class aboutDialog(QtGui.QDialog): 
    def __init__(self, parent):
        QtGui.QDialog.__init__(self)
        self.ui = Ui_AboutDialog()
        self.ui.setupUi(self)
        self._main  = parent
        settings = QSettings()
        QObject.connect(self.ui.buttonClose, SIGNAL("clicked(bool)"), self.onButtonClose)

    def onButtonClose(self):
        self.reject()