Get rid of hardcoded colors in the Piano Roll and Automation Editor

This commit is contained in:
Umcaruje
2016-02-08 19:44:50 +01:00
parent 317cc74bac
commit d52d7d9fb7
5 changed files with 86 additions and 18 deletions

View File

@@ -16,15 +16,14 @@ AutomationEditor {
color: #e0e0e0;
qproperty-vertexColor: #ff77af;
qproperty-gridColor: #808080;
qproperty-crossColor: rgb( 255, 51, 51 );
qproperty-graphColor: qlineargradient(spread:reflect,
x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(153, 175, 255, 250), stop:1 rgba(153, 175, 255, 100));
/*#99afff;*/
qproperty-scaleColor: qlineargradient(spread:reflect,
x1:0, y1:0.5, x2:1, y2:0.5,
stop:0 #333, stop:1 #202020);
/*rgb( 32, 32, 32 );*/
}
/* text box */
@@ -114,9 +113,15 @@ PianoRoll {
qproperty-gridColor: rgb( 128, 128, 128 );
qproperty-noteModeColor: rgb( 255, 255, 255 );
qproperty-noteColor: rgb( 119, 199, 216 );
qproperty-barColor: #4afd85;
qproperty-noteBorderRadiusX: 5;
qproperty-noteBorderRadiusY: 2;
qproperty-selectedNoteColor: rgb( 0, 64, 192 );
qproperty-barColor: #4afd85;
qproperty-markedSemitoneColor: rgba( 40, 40, 40, 200 );
/* Text on the white piano keys */
qproperty-textColor: rgb( 0, 0, 0 );
qproperty-textColorLight: rgb( 128, 128, 128);
qproperty-textShadow: rgb( 240, 240, 240 );
}
/* main toolbar oscilloscope - can have transparent bg now */