Commit Graph
56 Commits
Author SHA1 Message Date
ItsLemmy e29c6ee1a6 Refactor: Panels and Bar background are now drawn separately with Shapes. 2025-11-06 10:41:48 -05:00
Ly-sec 76a182a90c TrayMenu: cleanp 2025-11-06 12:49:52 +01:00
Ly-sec afde67bcb9 TrayMenu: use NPanel instead of PopupWindow
Tray, TrayDropdownPanel: use new TrayMenu
NPanel: expose animation options
shell: add TrayMenu component
i18n: add TrayMenu sub menu translation
2025-11-06 11:49:47 +01:00
Ly-sec 6a8c6a8914 Tray: fix pin/unpin icon 2025-11-04 23:52:02 +01:00
Ly-sec 8b00fae3ae Tray: layout fixes 2025-11-04 23:34:36 +01:00
Ly-sec ba6f0a1d2d Tray: hide all non pinned entries, reactive chevron
i18n: translation changes for tray
2025-11-04 22:50:22 +01:00
Ly-sec ae75fa80f0 Tray: dropdown shenanigans 2025-11-04 22:30:19 +01:00
ItsLemmy 65edc59371 Project structure adjustments 2025-11-03 21:18:13 -05:00
ItsLemmy 101b27fcc7 New windowing system
Large commit that totally refactor of the way we handle the bar and
panels.

Testing should focus on Panels, Bar, Keyboard Focus, IPC calls.

Changes brief:
- One NFullScreenWindow per screen which handle it's bar and dedicated
panels.
- Added shadows
- Reintroduced dimming
- New panels animations
- Proper Z ordering
- Panels on overlay laywer is not reimplemented, if we do it then the
bar will be on the Overlay too
- Panel dragging was not reimplemented, to be discussed before
reimplementing
- Still a WIP, need to work more on shadows and polishing + debugging.
2025-11-03 00:53:02 -05:00
ItsLemmy 1a124cf655 Colors: 2 news colors, mHover+mOnHover - autocomputed. Using them for all hovers instead of mTertiary. 2025-10-31 23:32:10 -04:00
ItsLemmy c9bbaf4c91 Borders: optim/simplification of scaled borders 2025-10-21 13:52:19 -04:00
ItsLemmy 95faefa8eb Pill: cleanup
- removed duality between disableOpen and forceClose
- renamed rightOpen to oppositeDirection
- wifi+bt: for vertical bar, use tooltip rather than the classic pill
opening as text will most likely never fit.
2025-10-20 21:56:59 -04:00
ItsLemmy 0ed82fbae8 BarPill: fix potential wrong tooltip update 2025-10-17 10:23:54 -04:00
ItsLemmy 9f7d4d274d autofmt 2025-10-16 20:21:44 -04:00
LemmyandGitHub 0a3820e4db Merge pull request #496 from lonerOrz/feat/adapt-bar-density-scaling
feat(bar): Introduce core density scaling mechanism
2025-10-16 20:18:17 -04:00
loner 9f46f8bed8 refactor(bar): Use ternary operator for scaling property 2025-10-17 06:30:55 +08:00
lysec 838491ba33 Logger: huge cleanup 2025-10-16 15:07:11 +02:00
loner 61043b78a5 feat(bar): Introduce core density scaling mechanism 2025-10-16 09:52:47 +08:00
ItsLemmy 00509170ef Bar: improved "mini" density look 2025-10-13 20:16:18 -04:00
ItsLemmy 5a47f88d48 Dont scale NIconButton in the bar 2025-10-12 16:54:36 -04:00
ItsLemmy 7e4c7a1efd translations 2025-10-12 16:16:46 -04:00
ItsLemmy 9f54822e4c Different scaling for Bar and Panels 2025-10-12 15:48:52 -04:00
ItsLemmy 292ecd493b More cleanup 2025-10-12 09:33:04 -04:00
ItsLemmy f4b27380c3 Qt-Scaling: first cleanup pass 2025-10-12 08:23:24 -04:00
ItsLemmy f77bbaa5e3 More math rounding to avoid any blur. 2025-10-10 15:47:14 -04:00
ItsLemmy bff195309a QuickSettings: editable widgets/button section in the ControlCenter 2025-10-08 23:05:52 -04:00
ItsLemmy 4ed16d795e Clipping: removed many unecessary clip: true 2025-10-04 22:22:23 -04:00
Ly-sec 04290d82cf NotificationService: respect 0s timeout (never disappear, fixes #419)
Autoformat
2025-10-04 17:31:01 +02:00
ItsLemmy f7e1fe4e0f Bar: minor memory optimization 2025-10-04 08:56:05 -04:00
ItsLemmy 86127660fe Tooltip: different approach to get the current screen. 2025-10-03 23:27:07 -04:00
ItsLemmy cc59362a1a Tooltip-TrayMenu: only use the simple mapToItem. 2025-10-03 22:01:51 -04:00
ItsLemmy 49a0c8449f Tooltips: fixed a bunch of tooltips which where not following the screen's scaling 2025-10-01 16:50:54 -04:00
ItsLemmy 43dee793de More pointSize cleanup 2025-09-30 07:44:03 -04:00
ItsLemmy 602d79c98e TrayMenu: fix icon size 2025-09-29 21:38:51 -04:00
ItsLemmy 4b13e89a64 Font: added per font family scaling. removed billboard font 2025-09-29 21:31:45 -04:00
ItsLemmy 9ed9231070 Init Sequence: removed a bunch of no longer necessary Settings.isLoaded 2025-09-29 09:11:37 -04:00
ItsLemmy fc1742e167 Tooltips: proper tooltip service 2025-09-28 10:51:56 -04:00
ItsLemmy 0593543d7a Tooltip: Refactoring in a single global tooltip. 2025-09-28 00:15:43 -04:00
ItsLemmy 8e248f6795 Tooltip: removed auto-positionning relative to the bar. as many tooltips are used in panels
- still a few edge cases to work on
2025-09-27 14:57:11 -04:00
FUFSoB 24ffedd599 bugfix: always hide display mode wasn't working 2025-09-24 19:50:10 +05:00
LemmyCook 458ef3c0d5 TrayMenu: not using 'Screen' as we have a proper 'screen' 2025-09-18 18:28:01 -04:00
LemmyCook 8af8bf2e2e BarService: to keep tracks of bar widgets and improve IPC behavior. 2025-09-17 10:19:55 -04:00
LemmyCook de6b7c6470 Dimmer: bulletproffed test on screen 2025-09-16 22:47:43 -04:00
LemmyCook a92b4b311a Renamed and moved NPill to BarPill.
Pill should not be used outside of the Bar as they rely on bar settings.
2025-09-16 22:26:56 -04:00
LemmyCook f399a6d9f5 TrayMenu: improve tray opening direction in vertical bar more 2025-09-14 22:44:27 -04:00
LemmyCook 53d0c3943d TrayMenu: Fix submenu burger icon color when hovered. 2025-09-14 22:24:39 -04:00
LemmyCook 7d2eaa46e6 qmlfmt: increase line-length to 360 to avoid hard-wrap.
+ cleaned up power menu/panel
2025-09-12 21:07:11 -04:00
LemmyCook 1f9247c429 More icons fixes 2025-09-09 19:34:31 -04:00
LemmyCook 87067f7062 TrayMenu: fix dynamic scaling 2025-09-01 14:41:12 -04:00
LemmyCook 210bbac583 ScalingService: 1st pass of the refactoring via signals instead of nested bindings for better efficienty and compatibility with old versions of Qt 2025-09-01 13:52:12 -04:00