コード例 #1
0
class AboutForm(QtWidgets.QWidget):
    """About Form widget initialization"""
    def __init__(self, parent=None):
        QtWidgets.QWidget.__init__(self, parent)
        self.ui = About_Ui_Form()
        self.ui.setupUi(self)
        self.main_window = None
        self.entry_id = None

    def set_main_window(self, main_win):
        """assigns main_win as main_window"""
        self.main_window = main_win
コード例 #2
0
ファイル: init.py プロジェクト: ZDroid/brightness
class AboutForm(QtGui.QWidget):
    """About Form widget initialization"""
    def __init__(self, parent=None):
        QtGui.QWidget.__init__(self, parent)
        self.ui = About_Ui_Form()
        self.ui.setupUi(self)
        self.main_window = None
        self.entry_id = None

    def set_main_window(self, main_win):
        """assigns main_win as main_window"""
        self.main_window = main_win
コード例 #3
0
 def __init__(self, parent=None):
     QtWidgets.QWidget.__init__(self, parent)
     self.ui = About_Ui_Form()
     self.ui.setupUi(self)
     self.main_window = None
     self.entry_id = None
コード例 #4
0
ファイル: init.py プロジェクト: apandada1/Brightness
 def __init__(self, parent=None):
     QtGui.QWidget.__init__(self, parent)
     self.ui = About_Ui_Form()
     self.ui.setupUi(self)
     self.main_window = None
     self.entry_id = None