Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-Qt-pushbuttons #1971

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jpka-
Copy link

@jpka- jpka- commented Feb 14, 2025

Update of #1970

  1. Pushbuttons are redrawn a bit to be more contrast.
  2. Tooltips with eyecandy precisions added.
  3. 3-state pushbutton with scalepoint tooltip shown.
  4. 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.

@jpka- jpka- mentioned this pull request Feb 14, 2025
@jpka-
Copy link
Author

jpka- commented Feb 14, 2025

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

@jpka-
Copy link
Author

jpka- commented Feb 19, 2025

Current w.i.p. (incl. displays added, saveable skin tweaks added), include fix of my "KNOWN BUG" mentioned above.
current-wip-full.zip

@jpka-
Copy link
Author

jpka- commented Feb 24, 2025

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

@jpka-
Copy link
Author

jpka- commented Feb 25, 2025

  1. Bug (my own) fix.
  2. Try to add feature as per Feature (or theme) request: dry/wet, volume knobs visible on "minimized" plugins? #1923, turns on with 'WetVolOnCompact':1, tweak. For compacted slots only for now (testing), not for classic.

wip-full.zip

@jpka-
Copy link
Author

jpka- commented Feb 28, 2025

  1. Solved Add double click on rack knobs to access the "Set Value" dialog #1569, Add ability to reset value of rack knobs using mouse scroll wheel button #1570.
  2. Knob context menu with hotkeys, unified value edit dialog with scalepoints, precision of displayed values updated, some other UI work.

new-wip-full.zip

@jpka-
Copy link
Author

jpka- commented Mar 4, 2025

  • CHANGELOG added (good for NEWS).
  • Other fixes.

current-WIP-full.zip

@jpka-
Copy link
Author

jpka- commented Mar 5, 2025

Fix #52 ticket.
Please see CHANGELOG included.

current-testing-full.zip

extra-own-bug-fix-patch.zip

@jpka-
Copy link
Author

jpka- commented Mar 6, 2025

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: Home currently interferes with Canvas control hotkey (use 0 then).
  • 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 Shift and Ctrl will 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.

@jpka-
Copy link
Author

jpka- commented Mar 7, 2025

current-full-patch.zip

@jpka-
Copy link
Author

jpka- commented Mar 11, 2025

NOTE: 3rd patch applies after compile (else no file exist yet). See changelog.

current-full-patches.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant