Skip to content

Commit 9dd2fab

Browse files
committed
Added more icons.
1 parent 0a10355 commit 9dd2fab

File tree

15 files changed

+6
-6
lines changed

15 files changed

+6
-6
lines changed

floppy/painter.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -666,37 +666,37 @@ def initActions(self):
666666
self.addAction(self.connectAction)
667667

668668

669-
self.killRunnerAction = QAction('Kill', self)
669+
self.killRunnerAction = QAction(QIcon(os.path.join(self.iconRoot, 'kill.png')), 'Kill Interpreter', self)
670670
self.killRunnerAction.setShortcut('Ctrl+Q')
671671
self.killRunnerAction.triggered.connect(self.killRunner)
672672
self.killRunnerAction.setIconVisibleInMenu(True)
673673
self.addAction(self.killRunnerAction)
674674

675-
self.pauseRunnerAction = QAction('Pause', self)
675+
self.pauseRunnerAction = QAction(QIcon(os.path.join(self.iconRoot, 'pause.png')), 'Pause', self)
676676
self.pauseRunnerAction.setShortcut('Ctrl+Q')
677677
self.pauseRunnerAction.triggered.connect(self.pauseRunner)
678678
self.pauseRunnerAction.setIconVisibleInMenu(True)
679679
self.addAction(self.pauseRunnerAction)
680680

681-
self.unpauseRunnerAction = QAction('Unpause', self)
681+
self.unpauseRunnerAction = QAction(QIcon(os.path.join(self.iconRoot, 'unpause.png')), 'Unpause', self)
682682
self.unpauseRunnerAction.setShortcut('Ctrl+Q')
683683
self.unpauseRunnerAction.triggered.connect(self.unpauseRunner)
684684
self.unpauseRunnerAction.setIconVisibleInMenu(True)
685685
self.addAction(self.unpauseRunnerAction)
686686

687-
self.stepRunnerAction = QAction('Step', self)
687+
self.stepRunnerAction = QAction(QIcon(os.path.join(self.iconRoot, 'step.png')), 'Step', self)
688688
self.stepRunnerAction.setShortcut('Ctrl+Q')
689689
self.stepRunnerAction.triggered.connect(self.stepRunner)
690690
self.stepRunnerAction.setIconVisibleInMenu(True)
691691
self.addAction(self.stepRunnerAction)
692692

693-
self.gotoRunnerAction = QAction('GoTo', self)
693+
self.gotoRunnerAction = QAction(QIcon(os.path.join(self.iconRoot, 'goto.png')), 'GoTo', self)
694694
self.gotoRunnerAction.setShortcut('Ctrl+Q')
695695
self.gotoRunnerAction.triggered.connect(self.gotoRunner)
696696
self.gotoRunnerAction.setIconVisibleInMenu(True)
697697
self.addAction(self.gotoRunnerAction)
698698

699-
self.updateRunnerAction = QAction('Update', self)
699+
self.updateRunnerAction = QAction(QIcon(os.path.join(self.iconRoot, 'update.png')), 'Update', self)
700700
self.updateRunnerAction.setShortcut('Ctrl+Q')
701701
self.updateRunnerAction.triggered.connect(self.updateRunner)
702702
self.updateRunnerAction.setIconVisibleInMenu(True)

floppy/ressources/goto.png

547 Bytes
Loading

floppy/ressources/goto.xcf

1.54 KB
Binary file not shown.

floppy/ressources/kill.png

450 Bytes
Loading

floppy/ressources/kill.xcf

2.01 KB
Binary file not shown.

floppy/ressources/pause.png

217 Bytes
Loading

floppy/ressources/pause.xcf

1.49 KB
Binary file not shown.

floppy/ressources/quit.png

500 Bytes
Loading

floppy/ressources/quit.xcf

2.07 KB
Binary file not shown.

floppy/ressources/step.png

411 Bytes
Loading

0 commit comments

Comments
 (0)