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 #1970

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

create-Qt-pushbuttons #1970

wants to merge 1 commit into from

Conversation

jpka-
Copy link

@jpka- jpka- commented Feb 10, 2025

This commit supersedes my commit #1969.

  1. Three types of knobs (internal, calf, openav) redrawn with Qt only; no substrate svg/png image need now. Now hover enlighting works on all knobs. All is vectorized and use HSL color model. This is a complete work, intended to be replacement of current scalabledial.py file, tested also by CPU usage.
  2. But it is one way ticket: png/svg stuff removed.
  3. Three types of 2- and 3-positions pushbuttons created. The idea is to make buttons well different from knobs, while still keep skin style, include disabled items. Used now for booleans, and integers @ [0,1], [0,1,2] ranges.
  4. Mouse wheel captured for QDial, it solves request: more options for knob control #11 and gives exact control for bools/ints, while smooth one for floats. Use with Ctrl or Shift also.
  5. Left mouse button toggles pushbuttons.
  6. Hotkeys introduced when mouse hover active (no mouse press need) for both pushbuttons and knobs: 0...9 to set absolute value; Home, End, PgUp, PgDn. Note: 'Home' interferes with Canvas control hotkey.

Hope it will be useful.

@jpka- jpka- mentioned this pull request Feb 10, 2025
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