def edit_widget(self): """Sets the controls based on the variables.""" self.lock = True qtplugin.edit_widget(self) self.lock = False return self._edit_widget
def edit_widget(self): """ desc: Updates the widget. """ qtplugin.edit_widget(self) self.sketchpad_widget.initialize() self.sketchpad_widget.draw()
def edit_widget(self): """See qtitem.""" qtplugin.edit_widget(self) _prepare = safe_decode(self.var._prepare) if _prepare != self.qprogedit.tab(0).text(): self.qprogedit.tab(0).setText(_prepare) _run = safe_decode(self.var._run) if _run != self.qprogedit.tab(1).text(): self.qprogedit.tab(1).setText(_run)
def edit_widget(self): """ desc: Updates the widget. """ qtplugin.edit_widget(self) self.sketchpad_widget.initialize() self.sketchpad_widget.draw() if self.first_refresh: self.sketchpad_widget.center() self.sketchpad_widget.zoom_fit() self.first_refresh = False
def edit_widget(self): """See qtplugin.""" self._combobox_sketchpad.refresh() qtplugin.edit_widget(self)