def execute(self): printVerbose(_("Button filemanager delete clicked")) if self.delete_confirm: self.delete_confirm = False self.update_image() UPDATER.emit("fileman_delete") else: self.button.setFocus() self.button.setIcon(QIcon()) self.button.setStyleSheet("color:black") self.button.setText(_("Are you sure?\nClick to delete.")) self.delete_confirm = True
def execute(self): printVerbose(_("Button geditor find clicked")) UPDATER.emit("geditor_search")
def execute(self): printVerbose(_("Button set JOG 0.01 clicked")) UPDATER.emit("jog_increment", 0.01)
def execute(self): printVerbose(_("Button delete view clicked")) UPDATER.emit("display_clear")
def execute(self): printVerbose(_("Settings page next button clicked")) UPDATER.emit("settings_page_next")
def execute(self): printVerbose(_("Button filemanager home clicked")) UPDATER.emit("fileman_home")
def execute(self): printVerbose(_("Button file reload clicked")) UPDATER.emit("file_reload")
def execute(self): printVerbose(_("Button set view Z clicked")) UPDATER.emit("display_view", 'z')
def execute(self): printVerbose(_("Button filemanager copy clicked")) UPDATER.emit("fileman_copy")
def execute(self): printVerbose(_("Button filemanager jump to clicked")) UPDATER.emit("fileman_jump")
def execute(self): printVerbose(_("Button toggle path visibility clicked")) UPDATER.emit("display_path")
def execute(self): printVerbose(_("Tool viewer right button clicked")) UPDATER.emit("toolviewer_right")
def execute(self): printVerbose(_("Button filemanager select clicked")) UPDATER.emit("fileman_select")
def execute(self): printVerbose(_("Button geditor new clicked")) UPDATER.emit("geditor_new")
def execute(self): printVerbose(_("Offset viewer select button clicked")) UPDATER.emit("offsetviewer_select")
def execute(self): printVerbose(_("Button zoom plus clicked")) UPDATER.emit("display_zoomin")
def execute(self): printVerbose(_("Button geditor replace all clicked")) UPDATER.emit("geditor_replace_all")
def execute(self): printVerbose(_("Button filemanager previous clicked")) UPDATER.emit("fileman_prev")
def execute(self): printVerbose(_("Button geditor redo clicked")) UPDATER.emit("geditor_redo")
def execute(self): printVerbose(_("Button geditor save clicked")) UPDATER.emit("geditor_save")
def execute(self): printVerbose(_("Button edit page clicked")) UPDATER.emit("screen_edit")
def execute(self): printVerbose(_("Tool viewer delete button clicked")) UPDATER.emit("toolviewer_del")
def execute(self): printVerbose(_("Tool viewer add button clicked")) UPDATER.emit("toolviewer_add")
def update(self): if UPDATER.value("jog_increment") == 0.01: self.button.setStyleSheet("border:2px solid #32CD32") else: self.button.setStyleSheet("border:2px solid black")
def execute(self): printVerbose(_("Settings page prev button clicked")) UPDATER.emit("settings_page_prev")
def execute(self): printVerbose(_("Offset viewer prev button clicked")) UPDATER.emit("offsetviewer_prev")