From d15828a058ccdfae8d87aa1d488a5cef9c509cef Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 8 Sep 2017 12:25:30 +0200 Subject: [PATCH] [add] pick trace button color --- QtPyLoT.py | 4 ++-- pylot/core/util/widgets.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 63ef7c8e..5a41557b 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -554,8 +554,8 @@ class MainWindow(QMainWindow): self.pg = pg # init style - #self.set_style('dark') - self.set_style('bright') + self.set_style('dark') + #self.set_style('bright') #self.set_style('default') # add event combo box and ref/test buttons diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 6648e6f8..534141ac 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2531,6 +2531,7 @@ class TuneAutopicker(QWidget): def add_buttons(self): self.pick_button = QtGui.QPushButton('Pick Trace') + self.pick_button.setStyleSheet('QPushButton{border-color: rgba(110, 200, 0, 255)}') self.pick_button.clicked.connect(self.call_picker) self.close_button = QtGui.QPushButton('Close') self.close_button.clicked.connect(self.hide)