Style sheets for BarModelEditor

Add style sheets options for BarModelEditor. See the changes in
style.css for the available options and their usage.

The members that can be manipulated by the style sheet options are
initialized accoriding to the palette so that the BarModelEditor should
also render something useful if no style is set.

Adjust the paintEvent method to use the style sheet brushes and colors.
This commit is contained in:
Michael Gregorius
2023-07-16 15:26:58 +02:00
parent 11f1bc747a
commit 0184efd630
3 changed files with 74 additions and 11 deletions

View File

@@ -1002,6 +1002,12 @@ lmms--gui--CompressorControlDialog lmms--gui--Knob {
qproperty-lineWidth: 2;
}
lmms--gui--BarModelEditor {
qproperty-backgroundBrush: rgba(30, 40, 51, 255);
qproperty-barBrush: rgba(3, 94, 97, 255);
qproperty-textColor: rgba(14, 192, 198, 255);
}
/* palette information */
lmms--gui--LmmsPalette {