Exemplo 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)
Exemplo 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()
Exemplo 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()