def set_icons(self): self.actionBreak.setIcon(get_icon('pause-24px.svg')) self.actionBreak2.setIcon(get_icon('pause-24px.svg')) self.actionBreakCount.setIcon(get_icon('pause_red-24px.svg')) self.actionContinue.setIcon(get_icon('play_arrow-24px.svg')) self.actionEmergencyStop.setIcon(get_icon('cancel_red-24px.svg')) self.actionFinish.setIcon(get_icon('done-24px.svg')) self.actionFinishEarly.setIcon(get_icon('finish_early-24px.svg')) self.actionFinishEarlyAndStop.setIcon(get_icon('skip_next-24px.svg')) self.actionStop.setIcon(get_icon('stop-24px.svg')) self.actionStop2.setIcon(get_icon('stop-24px.svg'))
def set_icons(self): self.actionUser.setIcon(get_icon('settings_applications-24px.svg')) self.actionEmergencyStop.setIcon(get_icon('emergency_stop-24px.svg')) self.actionConnect.setIcon(get_icon('power-24px.svg')) self.actionExit.setIcon(get_icon('exit_to_app-24px.svg')) self.actionViewOnly.setIcon(get_icon('lock-24px.svg')) self.actionPreferences.setIcon(get_icon('tune-24px.svg')) self.actionExpert.setIcon(get_icon('fingerprint-24px.svg'))
def set_icons(self): self.actionNew.setIcon(get_icon('add_circle_outline-24px.svg')) self.actionEditView.setIcon(get_icon('edit-24px.svg')) self.actionSavePlot.setIcon(get_icon('save-24px.svg')) self.actionPrint.setIcon(get_icon('print-24px.svg')) self.actionUnzoom.setIcon(get_icon('zoom_out-24px.svg')) self.actionSaveData.setIcon(get_icon('archive-24px.svg'))
def _createIcons(cls): # hack to make non-Qt usage as in checksetups work if not hasattr(cls, 'statusIcon'): cls.statusIcon = { OK: get_icon('check_circle_green-24px.svg'), WARN: get_icon('warning_orange-24px.svg'), BUSY: get_icon('sync_orange-24px.svg'), NOTREACHED: get_icon('error-24px.svg'), DISABLED: get_icon('not_interested-24px.svg'), ERROR: get_icon('error-24px.svg'), UNKNOWN: get_icon('device_unknown-24px.svg'), }
def groupIcon(self): return get_icon('group_work-24px.svg')
def toggle_frame(self): self.frame_visible = not self.frame_visible self.frame.setVisible(self.frame_visible) self.cmdBtn.setText('Hide Cmd' if self.frame_visible else 'New Cmd') self.cmdBtn.setIcon(get_icon('remove-24px.svg' if self.frame_visible else 'add-24px.svg'))
def set_icons(self): self.cmdBtn.setIcon(get_icon('add-24px.svg')) self.simBtn.setIcon(get_icon('play_arrow_outline-24px.svg')) self.runBtn.setIcon(get_icon('play_arrow-24px.svg')) self.frame.hide()
def set_icons(self): self.actionPrint.setIcon(get_icon('print-24px.svg')) self.actionPDF.setIcon(get_icon('save-24px.svg')) self.actionUnzoom.setIcon(get_icon('zoom_out-24px.svg')) self.actionOpen.setIcon(get_icon('folder_open-24px.svg'))
def set_icons(self): self.actionPrint.setIcon(get_icon('print-24px.svg')) self.actionSavePlot.setIcon(get_icon('save-24px.svg')) self.actionUnzoom.setIcon(get_icon('zoom_out-24px.svg')) self.actionClose.setIcon(get_icon('zoom_out-24px.svg'))
def get_icons(self): self.actionNew.setIcon(get_icon('add_circle_outline-24px.svg')) self.actionOpen.setIcon(get_icon('folder_open-24px.svg')) self.actionSave.setIcon(get_icon('save-24px.svg')) self.actionPrint.setIcon(get_icon('print-24px.svg')) self.actionUndo.setIcon(get_icon('undo-24px.svg')) self.actionRedo.setIcon(get_icon('redo-24px.svg')) self.actionCut.setIcon(get_icon('cut_24px.svg')) self.actionCopy.setIcon(get_icon('file_copy-24px.svg')) self.actionPaste.setIcon(get_icon('paste_24px.svg')) self.actionRun.setIcon(get_icon('play_arrow-24px.svg')) self.actionSimulate.setIcon(get_icon('play_arrow_outline-24px.svg')) self.actionGet.setIcon(get_icon('eject-24px.svg')) self.actionUpdate.setIcon(get_icon('refresh-24px.svg'))