From d47623ed6516aa1420cdecf0821a60a88f213c8d Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Thu, 27 Nov 2014 10:59:34 +0100 Subject: [PATCH] implementation of standard icons corrected --- QtPyLoT.py | 5 +++-- pylot/RELEASE-VERSION | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 452b4469..9d9e86c8 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -113,11 +113,11 @@ class MainWindow(QMainWindow): self.openEventAction = self.createAction("&Open event ...", self.loadData, QKeySequence.Open, - QStyle.SP_DirOpenIcon, + self.style().standardIcon(QStyle.SP_DirOpenIcon), "Open an event.") self.quitAction = self.createAction("&Quit", self.cleanUp, QKeySequence.Close, - QStyle.SP_MediaStop, + self.style().standardIcon(QStyle.SP_MediaStop), "Close event and quit PyLoT") self.filterAction = self.createAction("&Filter ...", self.filterData, "Ctrl+F", ":/filter.png", @@ -131,6 +131,7 @@ class MainWindow(QMainWindow): self.selectSAction = self.createAction("&S", self.alterPhase, "Ctrl+S", ":/sicon.png", "Toggle S phase", True) + self.printAction = self.createAction("&Print event ...", self.printEvent, QKeySequence.Print, QIcon(":/printer.png"), tip, checkable) self.eventLabel = QLabel() self.eventLabel.setFrameStyle(QFrame.StyledPanel|QFrame.Sunken) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index c7992fb6..7c0e69f3 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -0.0.0-g4b7b +0.0.0-g0942