New loop marker shortcuts, attempt 2 (#6382)

Co-authored-by: Dominic Clark <mrdomclark@gmail.com>
This commit is contained in:
Spekular
2023-12-25 17:26:35 +01:00
committed by GitHub
parent ce722dd6b6
commit 4eba656bd3
11 changed files with 298 additions and 127 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

View File

@@ -663,15 +663,25 @@ lmms--gui--TimeLineWidget {
background-color: qlineargradient( x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #8796a7, stop: 1.0 #3e454e );
qproperty-inactiveLoopColor: rgba( 52, 63, 53, 64 );
qproperty-inactiveLoopColor: rgba( 52, 63, 53, 64 );
qproperty-inactiveLoopBrush: rgba( 255, 255, 255, 32 );
qproperty-inactiveLoopInnerColor: rgba( 255, 255, 255, 32 );
qproperty-inactiveLoopHandleColor: rgba( 192, 192, 192, 100 );
qproperty-activeLoopColor: rgba( 52, 63, 53, 255 );
qproperty-activeLoopBrush: qlineargradient( x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #378d59, stop: 1.0 #297e36 );
qproperty-activeLoopInnerColor: rgba( 74, 155, 100, 255 );
qproperty-activeLoopHandleColor: rgba( 192, 192, 192, 200 );
/* Width of loop marker handles (when handle mode is active) */
qproperty-loopHandleWidth: 8;
qproperty-barLineColor: rgb( 192, 192, 192 );
qproperty-barNumberColor: rgb( 192, 192, 192 );
/* Cursor hotspots for loop marker adjustment */
qproperty-mouseHotspotSelLeft: 0px 16px;
qproperty-mouseHotspotSelRight: 32px 16px;
}
QTreeView {

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

View File

@@ -704,23 +704,32 @@ lmms--gui--TimeLineWidget {
/* Properties for the loop indicator rectangle in inactive state:
- LoopColor: Color of the outermost border
- LoopBrush: Brush to paint the main portion of the rectangle
- LoopInnerColor: Color used to paint the inlayed border */
- LoopInnerColor: Color used to paint the inlayed border
- LoopHandleColor: Color used to paint loop marker handles */
qproperty-inactiveLoopColor: #3B424A;
qproperty-inactiveLoopBrush: #3B424A;
qproperty-inactiveLoopInnerColor: #3B424A;
qproperty-inactiveLoopHandleColor: rgba( 192, 192, 192, 100 );
/* Properties for the loop indicator rectangle in active state.
See above for detailed description. */
qproperty-activeLoopColor: #21A14F;
qproperty-activeLoopBrush: #21A14F;
qproperty-activeLoopInnerColor: #21A14F;
qproperty-activeLoopHandleColor: rgba( 192, 192, 192, 200 );
/* Vertical padding for the loop indicator rectangle.
A value of zero draws the rectangle at the full height of the widget. */
qproperty-loopRectangleVerticalPadding: 1;
/* Width of loop marker handles (when handle mode is active) */
qproperty-loopHandleWidth: 8;
qproperty-barLineColor: rgb( 192, 192, 192 );
qproperty-barNumberColor: rgb( 192, 192, 192 );
/* Cursor hotspots for loop marker adjustment */
qproperty-mouseHotspotSelLeft: 0px 16px;
qproperty-mouseHotspotSelRight: 32px 16px;
}
lmms--gui--TrackContainerView QLabel