implementation of standard icons corrected

This commit is contained in:
Sebastian Wehling-Benatelli 2014-11-27 10:59:34 +01:00
parent 8ed281ae2d
commit d47623ed65
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -1 +1 @@
0.0.0-g4b7b
0.0.0-g0942