Add option to show note values on notes in Piano Roll (#4466)
Add the option to show note values on notes in the Piano Roll. This functionality is currently coupled with the option "Enable note labels in piano roll" which can be found in the main menu. The notes are rendered at about 80% of the notes height. They are only rendered if they fit on the whole note and if the font does not become too tiny. Enable the configuration of the note value text's color via the stylesheets and set the value to white for both shipped themes. Other changes: * Clean up some warnings about old school casts and implicit casts.
This commit is contained in:
@@ -123,6 +123,7 @@ PianoRoll {
|
||||
qproperty-backgroundShade: rgba( 255, 255, 255, 10 );
|
||||
qproperty-noteModeColor: rgb( 255, 255, 255 );
|
||||
qproperty-noteColor: rgb( 119, 199, 216 );
|
||||
qproperty-noteTextColor: rgb( 255, 255, 255 );
|
||||
qproperty-noteOpacity: 128;
|
||||
qproperty-noteBorders: true; /* boolean property, set false to have borderless notes */
|
||||
qproperty-selectedNoteColor: rgb( 0, 125, 255 );
|
||||
|
||||
@@ -142,6 +142,7 @@ PianoRoll {
|
||||
qproperty-backgroundShade: rgba(255, 255, 255, 10);
|
||||
qproperty-noteModeColor: #0bd556;
|
||||
qproperty-noteColor: #0bd556;
|
||||
qproperty-noteTextColor: #ffffff;
|
||||
qproperty-noteOpacity: 165;
|
||||
qproperty-noteBorders: false; /* boolean property, set false to have borderless notes */
|
||||
qproperty-selectedNoteColor: #064d79;
|
||||
|
||||
Reference in New Issue
Block a user