def __init__(self, preset={}, parent=None): super(Action, self).__init__(parent) self.parent = parent self.preset = preset if check_preset(self.preset): self.buildUI()
def __init__(self, preset={}, parent=None): super(VBoxLayout, self).__init__(parent) self.settings = Settings(SETTING_FILEPTH['app'], ST_FORMAT['ini'], self) self.parent = parent self.preset = preset if check_preset(self.preset): self.buildUI()
def __init__(self, preset={}, parent=None): super(PlainTextEdit, self).__init__(parent) self.signals = SignalManager(self) self.settings = Settings(SETTING_FILEPTH['app'], ST_FORMAT['ini'], self) self.parent = parent self.preset = preset if check_preset(self.preset): self.buildUI() self.values = dict(w = self.width(), h = self.height(), x = self.x(), y = self.y())
def __init__(self, preset={}, parent=None): super(Button, self).__init__(parent) self.signals = SignalManager(self) self.settings = Settings(SETTING_FILEPTH['app'], ST_FORMAT['ini'], self) self.values = dict(w=self.width(), h=self.height(), x=self.x(), y=self.y()) self.preset = preset if check_preset(self.preset): self.procedural()
def __init__(self, txt=None, preset={}, parent=None): super(CheckBox, self).__init__(parent) self.signals = SignalManager(self) self.settings = Settings(SETTING_FILEPTH['app'], ST_FORMAT['ini'], self) self.parent = parent self.txt = txt if self.txt is not None: self.setText(self.txt) self.stateChanged.connect(self.saveState) self.values = dict(w=self.width(), h=self.height(), x=self.x(), y=self.y()) self.preset = preset if check_preset(self.preset): self.buildUI()