示例#1
0
 def showAbout(self):
     """ Dialogue a propos
     """
     Dialog = QtGui.QDialog(self)
     ui = Ui_About()
     ui.setupUi(Dialog)
     Dialog.show()
示例#2
0
 def showAbout(self):
     """ Dialogue a propos
     """
     Dialog = QtGui.QDialog(self)
     ui = Ui_About()
     ui.setupUi(Dialog)
     Dialog.show()
示例#3
0
 def about(self):
     if self.about_window is not None:
         self.about_window.show()
         return
     self.about_window = QtWidgets.QDialog()
     ui = Ui_About()
     ui.setupUi(self.about_window)
     self.about_window.show()
示例#4
0
 def __init__(self, parent=None, isolate=True):
     if not isolate:
         super(window_about, self).__init__(parent)
     else:
         super(window_about, self).__init__(None)
     self.ui = Ui_About()
     self.parent = parent
     self.ui.setupUi(self)
     self.ui.label_version.setText(self.parent.version)        
示例#5
0
class window_about(QWidget):
    def __init__(self, parent=None, isolate=True):
        if not isolate:
            super(window_about, self).__init__(parent)
        else:
            super(window_about, self).__init__(None)
        self.ui = Ui_About()
        self.parent = parent
        self.ui.setupUi(self)
        self.ui.label_version.setText(self.parent.version)        

    def chk_new(self):
        # chk = self.parent.updateChk()
        # if chk is not None:
            # if not chk:
        self.parent.messageBox(2, "確認機能は停止しています", self)