Changed bar lines to follow snap size (#7034)
* Added lines in between bars * Changed bar lines to follow snap size * Changed default zoom and quantization value * Added constants for line widths * Added QSS configuration for new grid line colors * Tied line widths to QSS properties * Changed default quantization to 1/4 * Removed clear() from destructor model * Removed destructor in ComboBoxModel.h * Changed member set/get functions to pass by value * Updated signal connection with newer syntax
This commit is contained in:
@@ -352,14 +352,24 @@ lmms--gui--TrackView > QWidget {
|
||||
|
||||
/* autoscroll, loop, stop behaviour toggle buttons */
|
||||
|
||||
/* track background colors */
|
||||
/* track background config */
|
||||
lmms--gui--TrackContentWidget {
|
||||
qproperty-darkerColor: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
||||
stop:0 rgb( 50, 50, 50 ), stop:0.33 rgb( 20, 20, 20 ), stop:1 rgb( 15, 15, 15 ) );
|
||||
qproperty-lighterColor: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
||||
stop:0 rgb( 50, 50, 50 ), stop:0.33 rgb( 40, 40, 40 ), stop:1 rgb( 30, 30, 30 ) );
|
||||
qproperty-gridColor: rgba( 0, 0, 0, 160 );
|
||||
qproperty-embossColor: rgba( 140, 140, 140, 64 );
|
||||
/* colors */
|
||||
qproperty-darkerColor: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(50, 50, 50), stop:0.33 rgb(20, 20, 20), stop:1 rgb(15, 15, 15));
|
||||
qproperty-lighterColor: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(50, 50, 50), stop:0.33 rgb(40, 40, 40), stop:1 rgb(30, 30, 30));
|
||||
qproperty-coarseGridColor: rgba(0, 0, 0, 160);
|
||||
qproperty-fineGridColor: rgba(0, 0, 0, 80);
|
||||
qproperty-horizontalColor: rgba(0, 0, 0, 160);
|
||||
qproperty-embossColor: rgba(140, 140, 140, 64);
|
||||
|
||||
/* line widths */
|
||||
qproperty-coarseGridWidth: 2;
|
||||
qproperty-fineGridWidth: 1;
|
||||
qproperty-horizontalWidth: 1;
|
||||
qproperty-embossWidth: 0;
|
||||
|
||||
/* positive offset shifts emboss to the right */
|
||||
qproperty-embossOffset: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -388,12 +388,24 @@ lmms--gui--TrackView > QWidget {
|
||||
|
||||
/* autoscroll, loop, stop behaviour toggle buttons */
|
||||
|
||||
/* track background colors */
|
||||
/* track background config */
|
||||
lmms--gui--TrackContentWidget {
|
||||
/* colors */
|
||||
qproperty-darkerColor: #0C0E0F;
|
||||
qproperty-lighterColor: #14151A;
|
||||
qproperty-gridColor: #262B30;
|
||||
qproperty-embossColor: rgba( 0, 0, 0, 0 );
|
||||
qproperty-coarseGridColor: #3C444C;
|
||||
qproperty-fineGridColor: #262B30;
|
||||
qproperty-horizontalColor: #3C444C;
|
||||
qproperty-embossColor: rgba(0, 0, 0, 0);
|
||||
|
||||
/* line widths */
|
||||
qproperty-coarseGridWidth: 2;
|
||||
qproperty-fineGridWidth: 1;
|
||||
qproperty-horizontalWidth: 1;
|
||||
qproperty-embossWidth: 0;
|
||||
|
||||
/* positive offset shifts emboss to the right */
|
||||
qproperty-embossOffset: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user