mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Implemented 'Change color of list view #6512'. Style of list widget can now be changed in style sheet by using the dynamic property state="ExternalInput".
This commit is contained in:
committed by
Gaute Lindkvist
parent
23f581d7a0
commit
719feac15e
@@ -19,6 +19,7 @@ $markerColor: #e6e7ea; // Marker color
|
||||
$lineMarkerColor: #eeeeee; // Color of line marker
|
||||
$plotGridColor: #394046; // Plot grid color
|
||||
$auxiliaryCurveColor: #000000; // Auxiliary curve color
|
||||
$externalInputColor: #e82257; // External input background color
|
||||
|
||||
QwtPlot["*"]::grid["*"] {
|
||||
color: $backgroundColor2;
|
||||
@@ -361,4 +362,9 @@ QMinimizePanel QLabel, QMinimizePanel QCheckBox, QToolButton {
|
||||
|
||||
QTextEdit, QPlainTextEdit {
|
||||
border: 2px solid $borderColor;
|
||||
}
|
||||
|
||||
QWidget[state="ExternalInput"] {
|
||||
background-color: $externalInputColor;
|
||||
border: 2px solid $borderColor;
|
||||
}
|
||||
@@ -19,6 +19,7 @@ $markerColor: #141719; // Marker color
|
||||
$lineMarkerColor: #eeeeee; // Color of line marker
|
||||
$plotGridColor: #394046; // Plot grid color
|
||||
$auxiliaryCurveColor: #000000; // Auxiliary curve color
|
||||
$externalInputColor: #fff2a7; // Background color for external input fields
|
||||
|
||||
QwtPlot["*"]::grid["*"] {
|
||||
color: $backgroundColor2;
|
||||
@@ -90,4 +91,9 @@ QMainWindow {
|
||||
|
||||
QToolBar {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
|
||||
QListView[state="ExternalInput"] {
|
||||
background-color: $externalInputColor;
|
||||
border: 2px solid $borderColor;
|
||||
}
|
||||
Reference in New Issue
Block a user