class HelpForm(QtWidgets.QWidget): """Help Form widget initialization""" def __init__(self, parent=None): QtWidgets.QWidget.__init__(self, parent) self.ui = Help_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
class HelpForm(QtGui.QWidget): """Help Form widget initialization""" def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Help_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
def __init__(self, parent=None): QtWidgets.QWidget.__init__(self, parent) self.ui = Help_Ui_Form() self.ui.setupUi(self) self.main_window = None self.entry_id = None
def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.ui = Help_Ui_Form() self.ui.setupUi(self) self.main_window = None self.entry_id = None