mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Stylesheet parser in RiuGuiTheme can now parse QPalette::$QColorRole[::$QColorGroup] and uses the application's default QPalette for color replacements.
Adjusted default style sheet accordingly to use QPalette::Base color as QwtPlots' background color.
This commit is contained in:
committed by
Magne Sjaastad
parent
aaf357531f
commit
c49e9ea1bc
@@ -24,16 +24,16 @@ $plotGridColor: #394046; // Plot grid color
|
||||
$auxiliaryCurveColor: #000000; // Auxiliary curve color
|
||||
$externalInputColor: #fff2a7; // Background color for external input fields
|
||||
|
||||
QwtPlot["*"]::grid["*"] {
|
||||
color: $backgroundColor2;
|
||||
}
|
||||
|
||||
QwtPlot {
|
||||
background-color: white;
|
||||
background-color: QPalette::Base;
|
||||
}
|
||||
|
||||
QwtPlot > QWidget {
|
||||
background-color: white;
|
||||
background-color: QPalette::Base;
|
||||
}
|
||||
|
||||
QwtPlot["*"]::grid["*"] {
|
||||
color: $backgroundColor2;
|
||||
}
|
||||
|
||||
QwtPlot["PvtPlot"]::curve["Auxiliary"] {
|
||||
@@ -88,14 +88,6 @@ QwtPlot["PvtPlot"]::pointMarker["*"] {
|
||||
color: $textColor;
|
||||
}
|
||||
|
||||
QMainWindow {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
QToolBar {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
QListView[state="ExternalInput"] {
|
||||
background-color: $externalInputColor;
|
||||
border: 2px solid $borderColor;
|
||||
|
||||
Reference in New Issue
Block a user