示例#1
0
    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
示例#2
0
 def execute(self):
     printVerbose(_("Button geditor find clicked"))
     UPDATER.emit("geditor_search")
示例#3
0
 def execute(self):
     printVerbose(_("Button set JOG 0.01 clicked"))
     UPDATER.emit("jog_increment", 0.01)
示例#4
0
 def execute(self):
     printVerbose(_("Button delete view clicked"))
     UPDATER.emit("display_clear")
示例#5
0
 def execute(self):
     printVerbose(_("Settings page next button clicked"))
     UPDATER.emit("settings_page_next")
示例#6
0
 def execute(self):
     printVerbose(_("Button filemanager home clicked"))
     UPDATER.emit("fileman_home")
示例#7
0
 def execute(self):
     printVerbose(_("Button file reload clicked"))
     UPDATER.emit("file_reload")
示例#8
0
 def execute(self):
     printVerbose(_("Button set view Z clicked"))
     UPDATER.emit("display_view", 'z')
示例#9
0
 def execute(self):
     printVerbose(_("Button filemanager copy clicked"))
     UPDATER.emit("fileman_copy")
示例#10
0
 def execute(self):
     printVerbose(_("Button filemanager jump to clicked"))
     UPDATER.emit("fileman_jump")
示例#11
0
 def execute(self):
     printVerbose(_("Button toggle path visibility clicked"))
     UPDATER.emit("display_path")
示例#12
0
 def execute(self):
     printVerbose(_("Tool viewer right button clicked"))
     UPDATER.emit("toolviewer_right")
示例#13
0
 def execute(self):
     printVerbose(_("Button filemanager select clicked"))
     UPDATER.emit("fileman_select")
示例#14
0
 def execute(self):
     printVerbose(_("Button geditor new clicked"))
     UPDATER.emit("geditor_new")
示例#15
0
 def execute(self):
     printVerbose(_("Offset viewer select button clicked"))
     UPDATER.emit("offsetviewer_select")
示例#16
0
 def execute(self):
     printVerbose(_("Button zoom plus clicked"))
     UPDATER.emit("display_zoomin")
示例#17
0
 def execute(self):
     printVerbose(_("Button geditor replace all clicked"))
     UPDATER.emit("geditor_replace_all")
示例#18
0
 def execute(self):
     printVerbose(_("Button filemanager previous clicked"))
     UPDATER.emit("fileman_prev")
示例#19
0
 def execute(self):
     printVerbose(_("Button geditor redo clicked"))
     UPDATER.emit("geditor_redo")
示例#20
0
 def execute(self):
     printVerbose(_("Button geditor save clicked"))
     UPDATER.emit("geditor_save")
示例#21
0
 def execute(self):
     printVerbose(_("Button edit page clicked"))
     UPDATER.emit("screen_edit")
示例#22
0
 def execute(self):
     printVerbose(_("Tool viewer delete button clicked"))
     UPDATER.emit("toolviewer_del")
示例#23
0
 def execute(self):
     printVerbose(_("Tool viewer add button clicked"))
     UPDATER.emit("toolviewer_add")
示例#24
0
 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")
示例#25
0
 def execute(self):
     printVerbose(_("Settings page prev button clicked"))
     UPDATER.emit("settings_page_prev")
示例#26
0
 def execute(self):
     printVerbose(_("Offset viewer prev button clicked"))
     UPDATER.emit("offsetviewer_prev")