create-Qt-pushbuttons
Update of #1970
- Pushbuttons are redrawn a bit to be more contrast.
- Tooltips with eyecandy precisions added.
- 3-state pushbutton with scalepoint tooltip shown.
- Custom colors are now match q'ty of displayed controls; gradients are HSL and can be easily set by any hue from/to.
KNOWN BUG: Can't make tooltips visible while changing value at the ends of the scales, when real value not changed.
Something goes wrong here while update diffs over diffs, sorry, looks like i can't recover. I've attach 3 diffs and 3 files itself here. create-Qt-pushbuttons-full.zip
Current w.i.p. (incl. displays added, saveable skin tweaks added), include fix of my "KNOWN BUG" mentioned above. current-wip-full.zip
Today's WIP. New zynfx widgets added, based on their UI current look. Tweaks added, incl. many variants of colorizing; high contrast option; tunable gaps expand, solve #1919. wip-full.zip
- Bug (my own) fix.
- Try to add feature as per #1923, turns on with
'WetVolOnCompact':1,tweak. For compacted slots only for now (testing), not for classic.
- Solved #1569, #1570.
- Knob context menu with hotkeys, unified value edit dialog with scalepoints, precision of displayed values updated, some other UI work.
Hotkeys on mouse hover:
- For floating point values:
-
0...9: Set absolute value, like 0 to 90 percent of full scale.
-
Home,End: Same, 0 and 100%. Note:Homecurrently interferes with Canvas control hotkey (use0then).
- For integer and boolean values:
-
- Keys are same.
-
-
- If full scale span < 10, sets exact value.
-
-
-
- If full scale span < 20, sets doubled value. Etc. So, on larger spans, it is mostly work as for floats, but with integer step.
-
PgUp, PgDn: Scroll value up and down. Change precision: coarse (Shift), normal, fine (Ctrl), extra fine (both Ctrl & Shift).
Enter: Edit value. If it is button, cycles it instead (button editing is possible using E or Context menu).
E: Edit value.
D, R: Default value (Reset).
Space: Cycles scalepoint values. If it is button, it will be cycled also, if no scalepoints for it. If it is special Wet or Vol knobs with special state MUTE or THRU (Bypass) enabled: cycle this state, restoring previous value on un-mute/un-bypass.
Left click:
Exactly same as Space on hover.
Middle click:
Set default value. If it is special Wet or Vol knobs with special state MUTE or THRU (Bypass) enabled: un-mute/un-bypass it, but unlike of click, previous value is lost and replaced by default value.
Double click:
Edits value, except special cases: with Wet or Vol knobs when Left click is used, and if it's button. Note: Editing still possible for these using Enter (if not button), E, or Context menu.
Mouse scroll:
- For floating point values:
Continuous change. Precision control: same as with
PgUp,PgDn. - For integer and boolean values:
Cycles all possible values, with step best suited for span. Precision control: Only
ShiftandCtrlwill work.
Scalepoints: (But, see #1976)
If exist for this control, they are used when values using keyboard and mouse cycling, but not when direct set (drag and 0 to 100 percent set) which still allows to use intermediate values, if any.
Drag:
As before/classic (Continuous change); added Ctrl to increase precision. But:
- If it is scalepointed control, drag will either:
-
- not work (due to click used already), or
-
- work as usual with intermediate value set possibility. (Selected by tweak).
- If it is special Wet or Vol knobs and there is special state MUTE or THRU (Bypass) enabled and active: drag will un-mute/un-bypass it, but unlike of click, previous value is lost and replaced by drag result.
- Fixed #1478.
- Added Stereo panning, and also Front-Rear balance for 3-ch (like Stereo+Bass) and 4-ch plugins, along with classic L, R knobs.
- Tube theme added.
- Scalable knobs for XY Controller. (But note: #1979 )
NOTE: 3rd patch applies after compile (else no file exist yet). See changelog.
- More enhancements for XY Controller. (Not interferes with classic behavior).
- Fix #1979. See changelog.
Menu enhanced. Icons added. Quick-Reload toolbar button added (hidden, enabled by tweak). #312 semi-fixed. Other small fixes. See changelog.
Qt6 stuff added.
Canvas openGL not works w/Qt6 yet, but not throw TypeError now.
Tested parameter grouping. Example of vitalium.ttl is at #1473.
See changelog how to compile for Qt6.
- Added pointer-style (chickenhead) knob for integer selectors (for tube skin yet). Ideas how it should look for other skins, are welcome.
- Added tweak for set knobs travel in degrees.
- Mouse drag unified to others (keys/wheel) by using
Ctrland/orShiftto get all four increment speeds/steps (fast, normal, fine, extra fine). - Knob drawing optimized to be a bit faster, and also skin management updated to make adding new skins more straightforward. Note: still w.i.p.
- Small fixes. See changelog.
Small fix of my own regression (to be applied over previous https://github.com/falkTX/Carla/pull/1971#issuecomment-2761970770)
Moved to #2010