Commit Graph

63 Commits

Author SHA1 Message Date
ItsLemmy c407edb4e9 BarWidgets: All the right click contextual menus. Fix #541 2025-11-17 22:47:17 -05:00
ItsLemmy 66770625dd Tooltip: no longer needed to pass a screen explicitely 2025-11-17 22:02:10 -05:00
ItsLemmy f1d714ad9a Cleanup: replaced a bunch of Screen by their proper "screen" 2025-11-17 14:53:47 -05:00
loner 24b8eeb1f4 feat: Optimize capsule color computation by using Style.qml property 2025-11-17 11:05:58 +08:00
loner a46c76b9d5 feat(bar): Add capsule opacity setting with conditional slider in bar settings 2025-11-17 11:05:57 +08:00
ItsLemmy 3ff5b7639f Switched to qmlformat. 2025-11-16 17:07:03 -05:00
ItsLemmy 355271768c Services in subfolder + cleanup/fixes 2025-11-08 16:38:43 -05:00
ItsLemmy 498fe24093 Time: more accurate time update to fix janky seconds needle. 2025-11-03 16:53:10 -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 29ad654a58 Locale: factorized usage in I18n. 2025-10-30 17:43:35 -04:00
ItsLemmy e1d39f3bbc Locale: fixed all Qt.locale calls to respect the user selected locale. 2025-10-30 17:20:54 -04:00
loner 04d091465e feat(bar): Adapt Clock to bar density scaling 2025-10-16 09:53:08 +08:00
ItsLemmy 00509170ef Bar: improved "mini" density look 2025-10-13 20:16:18 -04:00
ItsLemmy 2962c0d9f7 Same behavior for compact and mini 2025-10-12 16:17:45 -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 86127660fe Tooltip: different approach to get the current screen. 2025-10-03 23:27:07 -04:00
ItsLemmy f37625719d Clock: removed useMonospacedFont to keep things simple, + translations + cleanup 2025-10-01 09:20:14 -04:00
DiscoNiri 68e76abfc7 Move clock font settings to widget-specific configuration
- Moved clock font selection from general settings to clock widget settings
- Added custom font toggle and selection in ClockSettings.qml
- Updated BarWidgetRegistry.qml with new clock font metadata
- Removed global clockFont setting from Settings.qml and GeneralTab.qml
- Updated Clock.qml to use widget-specific custom font setting
- Added proper translation keys for new font options
- Maintained backward compatibility with existing font hierarchy
2025-10-01 20:26:13 +10:00
DiscoNiri 8b0e0f6e0e Add clock font setting for customizable clock displays
This commit adds a new 'Clock Font' setting that allows users to customize
the font used specifically for clock displays in the bar and widgets,
independent of the default UI font.

Features:
- New clockFont property in Settings.data.ui (defaults to 'Roboto')
- Updated Bar Clock widget to use the custom font with fallback support
- Added searchable font dropdown in General Settings tab
- Backward compatible - uses default font if clockFont is not set
- Real-time updates - changes apply immediately

The font selection uses FontService.availableFonts and includes proper
fallback logic that respects the existing monospaced font setting.
2025-09-30 18:37:47 +10:00
ItsLemmy 4b13e89a64 Font: added per font family scaling. removed billboard font 2025-09-29 21:31:45 -04:00
ItsLemmy 22794ea922 DateTime: proper locale usage. Fix #390
Replaced all Qt.formatDateTime() by Qt.locale().toString()
2025-09-29 10:07:58 -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
Ly-sec df70f0c824 Possibly got everything transfered over to i18n 2025-09-24 13:47:59 +02:00
LemmyCook 3aac552c44 Clock: Minor vertical adjustment tweaks when capsule are off. 2025-09-21 21:25:15 -04:00
LemmyCook f316effecd Clock: fixed centering and padding + smarted sizing. Fix #325 2025-09-20 23:46:12 -04:00
LemmyCook c85043782f Clock: better settings UI + support for \\n in horizontal bar. 2025-09-20 10:44:50 -04:00
ItsLemmy 8d0ce8dc49 Clock: simpler format management (horiz vs vertical) so one can switch the bar position without editing its clock. 2025-09-20 03:01:06 -04:00
LemmyCook f3f8b82fdd Clock: new approach to bar clock display based on tokens. 2025-09-19 23:18:59 -04:00
LemmyCook a734235cd0 Autoformating 2025-09-18 22:05:33 -04:00
Kevin Diaz 2b8b97ab3b fix(clock): respect monthBeforeDay setting in vertical clock date display 2025-09-18 20:30:22 -04:00
LemmyCook 47f72d9498 Location/Clock: Moved use12hourformat and reverseDaymonth from the clock widget settings to the main settings, location tab
- Fix #303
2025-09-17 21:10:51 -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 95d2dbe3fc Optional capsule bg 2025-09-16 09:23:37 -04:00
LemmyCook ac1902c76a Bar: compact mode works pretty well but need some more testing. 2025-09-16 00:39:30 -04:00
LemmyCook 47ef62beb3 Widgets Sizing: reworked our sizing approach to prepare for different bar densities. 2025-09-15 22:33:09 -04:00
LemmyCook 97bfcbb9e8 Clock: height calculation similar to NPill to avoid discrepancies 2025-09-14 21:15:27 -04:00
Ly-sec bb7f957e44 Clock: change to mono font 2025-09-14 21:10:16 +02:00
Ly-sec 9dfac69e9e More spacing fixes 2025-09-13 19:28:44 +02:00
LemmyCook 101e3125a9 Vertical bar: simpler management 2025-09-13 13:06:17 -04:00
Ly-sec b443c9f492 Add compact clock again 2025-09-13 17:46:38 +02:00
Ly-sec 2a1e7832d6 Revert 8c81514 2025-09-13 17:44:31 +02:00
Ly-sec 8c815146e6 More fixes 2025-09-13 17:34:13 +02:00
Ly-sec 004836fc8f More layout fixes 2025-09-13 17:00:49 +02: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 380f31fbd9 BaBar Widgets: pass a proper section name instead of a longer string. 2025-09-12 12:54:09 -04:00
LemmyCook 83fbb8f95d Clock: factorized many settings in a single combobox 2025-09-11 09:43:52 -04:00