Skip to content

Replace QAction menu with custom QToolButton tray menu#2020

Open
Snaiper-hub wants to merge 10 commits into
hyperion-project:masterfrom
Snaiper-hub:master
Open

Replace QAction menu with custom QToolButton tray menu#2020
Snaiper-hub wants to merge 10 commits into
hyperion-project:masterfrom
Snaiper-hub:master

Conversation

@Snaiper-hub

@Snaiper-hub Snaiper-hub commented Jun 28, 2026

Copy link
Copy Markdown

- Replace native QAction items with QToolButton+QWidgetAction for full
  control over icon/text spacing, padding and dark-theme styling
- Add inline Color/Effects/Clear icon buttons for the first LED instance
  (replaces submenu) with colored 4px indicator strips per button
- Add recoloredIcon() helper that renders SVG icons at any size and
  recolors per-pixel for dark/light theme support
- Auto-detect Windows dark theme and apply matching QSS + white icons
- Fix autorun toggle text not updating after QAction→QToolButton change
- Track last selected color so the color dialog opens with it preselected
@hyperion-project

Copy link
Copy Markdown

Hello @Snaiper-hub 👋

I'm the Hyperion Project Bot and I want to thank you for
contributing to Hyperion with your pull requests!

To help you and other users test your pull requests faster,
I'll create a link for you to your workflow artifacts.

🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28321876178

Of course, if you make changes to your PR, I will create a new link.

Best regards,
Hyperion Project

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28329989068

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28330254034

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28330325798

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28330731805

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28330749803

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28331132917

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28331237809

@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28331567802

…n fixes

- Twilight auto-suspend with inverted logic (night=ON, day=OFF)
- Astronomical twilight calculation with coordinates
- Startup source persistence via SQLite settings
- Tray inline buttons with dark theme
- Active mode indicators (color strips)
- Fix suspend/resume button toggle logic
- Auto-enable device on user color/effect change during daytime
- Prevent grabber auto-enable during daytime
@hyperion-project

Copy link
Copy Markdown

Hey @Snaiper-hub I created a new link to your workflow artifacts:
🔗 https://github.com/hyperion-project/hyperion.ng/actions/runs/28396036688

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