Skip to content
Snippets Groups Projects
Commit 5b8c462a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

stylesheet prefer palette over white or black

parent 8561e135
No related branches found
No related tags found
1 merge request!2452cleanup autosave, style sheet & palette; split save some files; dissolve GUI/Support
......@@ -74,22 +74,22 @@ QToolButton::menu-indicator
}
QToolButton#ViewSelectionButton
{
color: white;
color: palette(base);
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0 #153b4c, stop : 1 #347a9c);
}
QToolButton#ViewSelectionButton:pressed
{
color: white;
color: palette(base);
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #97a8b0, stop: 1 #dae7ed);
}
QToolButton#ViewSelectionButton:hover
{
color: white;
color: palette(base);
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #254b5c, stop: 1 #448aac);
}
QToolButton#ViewSelectionButton:checked
{
color: white;
color: palette(base);
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop : 0 #2b899c, stop : 1 #2abdda);
}
QToolButton#ViewSelectionButton:disabled
......@@ -101,7 +101,7 @@ QToolButton#ViewSelectionButton:disabled
QToolButton:checked
{
background-color: black;
background-color: palette(text);
}
/* ------------------------------------------------------------------------------- */
......@@ -572,7 +572,7 @@ QWidget{
QTextEdit, QLineEdit, QSpinBox, ScientificSpinBox, QDoubleSpinBox, DoubleSpinBox, QComboBox, QTabWidget,
QDockWidget, QTableView, QTableWidget, QHeaderView, QProgressBar, QSlider, QScrollBar,
QToolBar, QPushButton, QScrollArea {
background-color: white;
background-color: palette(base);
}
::disabled{
......@@ -588,18 +588,18 @@ QCheckBox::indicator:checked {
}
SampleView LayerOrientedSampleEditor QScrollArea LayerForm QLabel{
color: black;
color: palette(text);
}
SampleView LayerOrientedSampleEditor QScrollArea LayerForm QCheckBox{
color: black;
color: palette(text);
}
SampleView LayerOrientedSampleEditor QScrollArea LayerForm QToolButton{
color: black;
color: palette(text);
background-color: "transparent";
}
SampleView LayerOrientedSampleEditor QScrollArea LayerForm QPushButton{
color: black;
color: palette(text);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment