def __init__(self, parent, label, value, browser=None): QCheckBox.__init__(self) self.__label = label self.__value = value self.__browser = browser self.configure() self.initCallback()
def __init__(self, parent, styler): QCheckBox.__init__(self, _(styler.friendly_name), parent) self.styler = styler if styler.is_active: self.toggle() self.stateChanged.connect(self.switch_state) self.parent = parent
def __init__(self, parent, label, value, browser = None): QCheckBox.__init__(self) self.__label = label self.__value = value self.__browser= browser self.configure() self.initCallback()
def __init__(self, parent, info, widget, label): QCheckBox.__init__(self) self.__info = info self.__widget = widget self.setText(label) self.stateChangedWidget(Qt.Unchecked) self.initCallback()
def __init__(self, parent, info, widget, label): QCheckBox.__init__(self) self.__info = info self.__widget = widget self.setText(label) self.stateChangedWidget(Qt.Unchecked) self.initCallback()
def __init__(self, tree, dataset, master, parent=None): QCheckBox.__init__(self, parent) Control.__init__(self, tree, dataset, master) self.setText(getattr(tree, "displayName", "")) self.setChecked(getattr(tree, "default", "false") == "true") if hasattr(tree, "description"): self.setToolTip(tree.description)
def __init__(self, tree, dataset, master, parent=None): QCheckBox.__init__(self, parent) Control.__init__(self, tree, dataset, master) self.setText(getattr(tree, "displayName", "")) self.setChecked(getattr(tree, "default", "false") == "true") if hasattr(tree, "description"): self.setToolTip(tree.description)
def __init__(self, module, flag): QCheckBox.__init__(self) self.flag = flag self.module = module self.setText("Scan children") if flag in module.flags: self.setCheckState(Qt.Unchecked) else: self.setCheckState(Qt.Checked) self.connect(self, SIGNAL("stateChanged(int)"), self.flagStateChanged)
def __init__(self, module, argument): QCheckBox.__init__(self) self.argument = argument self.module = module self.setText(self.argument.description()) if self.ppModules().argument(self.module.name, self.argument.name()): self.setCheckState(Qt.Checked) else: self.setCheckState(Qt.Unchecked) self.connect(self, SIGNAL("stateChanged(int)"), self.optionsStateChanged)
def __init__(self, module, argument, optionsWidget): QCheckBox.__init__(self) self.module = module self.argument = argument self.optionsWidget = optionsWidget self.setText(argument.description() + ": ") argument = self.ppModules().argument(self.module.name, self.argument.name()) if argument: self.setCheckState(Qt.Checked) self.optionsStateChanged(Qt.Checked) else: self.setCheckState(Qt.Unchecked) self.optionsStateChanged(Qt.Unchecked) self.connect(self, SIGNAL("stateChanged(int)"), self.optionsStateChanged) self.connect(self.optionsWidget, SIGNAL("argumentChanged()"), self.updateArgument)
def __init__(self): QCheckBox.__init__(self) self.children = [] self.connect(self, SIGNAL("clicked()"), self.updateChildren)
def __init__(self, value): QCheckBox.__init__(self) self._value = value if value.default: self.setChecked(True)
def __init__(self, value): QCheckBox.__init__(self) self._value = value if value.default: self.setChecked(True)
def __init__(self, *a, **kw): QCheckBox.__init__(self, *a, **kw) self.setCheckable(True)
def __init__(self): QCheckBox.__init__(self) self.children = [] self.connect(self, SIGNAL("clicked()"), self.updateChildren)
def __init__(self, name, value, categoryName=None): """ Constructor. """ Property.__init__(self, name, categoryName) QCheckBox.__init__(self) self.connect(self, SIGNAL('stateChanged(int)'), self.valueChanged)
def __init__(self, name, data, scheme, parent=None): QCheckBox.__init__(self, parent) NodeWidget.__init__(self, name, data, scheme)
def __init__(self, rule): QCheckBox.__init__(self, m18n(rule.name)) self.rule = rule
def __init__(self, name, value, categoryName=None): """ Constructor. """ Property.__init__(self, name, categoryName) QCheckBox.__init__(self) self.connect(self, SIGNAL('stateChanged(int)'), self.valueChanged)
def __init__(self): QCheckBox.__init__(self) self.__InitUi()
def __init__(self, parent=0): QCheckBox.__init__(self) self.stateChanged.connect(self.onStateChanged)
def __init__(self, id, text, **kwargs): QCheckBox.__init__(self) self.id = id self.setText(text)
def __init__(self, id): QCheckBox.__init__(self) self.setText("Add grid to plot") self.setToolTip("<p>Check to add grid to plot</p>") self.id = id