[minor] stylesheet modifications

This commit is contained in:
Marcel Paffrath 2017-09-11 10:24:22 +02:00
parent e5b0210c27
commit 6e43e67172
3 changed files with 26 additions and 6 deletions

View File

@ -554,8 +554,8 @@ class MainWindow(QMainWindow):
self.pg = pg self.pg = pg
# init style # init style
#self.set_style('dark') self.set_style('dark')
self.set_style('bright') #self.set_style('bright')
#self.set_style('default') #self.set_style('default')
# add event combo box and ref/test buttons # add event combo box and ref/test buttons

View File

@ -117,13 +117,14 @@ color:rgba(0, 0, 0, 255);
} }
QPushButton{ QPushButton{
background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(255, 255, 255, 255)); background-color:qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:0.5, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(245, 245, 245, 255));
color:rgba(0, 0, 0, 255); color:rgba(0, 0, 0, 255);
border-style: outset; border-style: outset;
border-width: 2px; border-width: 1px;
border-color: rgba(230, 230, 230, 255); border-color: rgba(100, 100, 120, 255);
min-width: 6em; min-width: 6em;
padding: 5px; padding: 5px;
border-radius: 2px;
} }
QPushButton:pressed{ QPushButton:pressed{
@ -142,7 +143,7 @@ QTabBar::tab{
background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(210, 210, 210, 255)); background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(230, 230, 230, 255), stop:1 rgba(210, 210, 210, 255));
color: rgba(0, 0, 0, 255); color: rgba(0, 0, 0, 255);
border-style:solid; border-style:solid;
border-color:rgba(230, 230, 230 255); border-color:rgba(210, 210, 210 255);
border-bottom-color: transparent; border-bottom-color: transparent;
border-width:1px; border-width:1px;
padding:5px; padding:5px;
@ -213,7 +214,16 @@ background-color: rgba(255, 255, 255, 255);
QLineEdit{ QLineEdit{
background-color: rgba(255, 255, 255, 255); background-color: rgba(255, 255, 255, 255);
border: 1px inset;
border-radius:0; border-radius:0;
border-color: rgba(100, 100, 120, 255);
}
QLineEdit:disabled{
background-color: rgba(255, 255, 255, 255);
border: 1px inset;
border-radius:0;
border-color: rgba(200, 200, 200, 255);
} }
QCheckBox{ QCheckBox{

View File

@ -124,6 +124,7 @@ border-width: 2px;
border-color: rgba(50, 50, 60, 255); border-color: rgba(50, 50, 60, 255);
min-width: 6em; min-width: 6em;
padding: 5px; padding: 5px;
border-radius: 2px;
} }
QPushButton:pressed{ QPushButton:pressed{
@ -218,7 +219,16 @@ border:none;
QLineEdit{ QLineEdit{
background-color: rgba(80, 80, 90, 255); background-color: rgba(80, 80, 90, 255);
border: 1px inset;
border-radius:0; border-radius:0;
border-color: rgba(100, 100, 120, 255);
}
QLineEdit:disabled{
background-color: rgba(80, 80, 90, 255);
border: 1px inset;
border-radius:0;
border-color: rgba(200, 200, 200, 255);
} }
QListWidget{ QListWidget{