Commit graph

273 commits

Author SHA1 Message Date
Aleix Pol
43f2f293cf Revert "phonepanel: Keep the Quick Settings buttons the same size"
This reverts commit c4903c25b9.
2021-09-27 14:01:08 -04:00
Aleix Pol
c4903c25b9 phonepanel: Keep the Quick Settings buttons the same size
Instead of doing weird UI puzzles, just let them elide their text. This
solves binding loops and makes the look overall more predictable.
2021-09-16 10:27:45 +00:00
Tobias Fella
89dbff8995 Port signal strength indicator to ModemManager 2021-09-15 16:19:47 +00:00
Aleix Pol
4bba6ac402 units -> PlasmaCore.Units 2021-09-13 18:59:35 +02:00
Aleix Pol
4a52d8b791 Open KScreen KCM on auto-rotate long press 2021-09-10 02:40:53 +02:00
Aleix Pol
31448728b8 Make the phoneshell a bit more flexible
Use plasma-open-settings to open configs instead of directly
plasma-settings.

This way we're less dependent on specific set up.
2021-08-31 17:23:20 +02:00
Aleix Pol
5dd617f289 It's called Wi-Fi
According to https://www.wi-fi.org/
2021-08-30 17:53:48 +02:00
Aleix Pol
9a0d71fcf1 Fix top panel on dark themes
Use PlasmaCore.IconItem rather than Kirigami.Icon
2021-08-30 00:07:24 +00:00
Aleix Pol
9dfac82863 Move the Battery settings with its provider
And make use of it to show if it's plugged or not
2021-07-21 13:36:43 +00:00
Aleix Pol
dd888a707f Make it possible for QuickSettings to be created in a KPackage
Move the NightColor one into a KPackage to prove it
2021-07-21 13:36:43 +00:00
Aleix Pol
9ac1cc139e Move QuickSettingsModel to C++ 2021-07-21 13:36:43 +00:00
Aleix Pol
0d7f10abbc Move the Volume quick setting with its provider
So not to rely on global identifiers
2021-07-21 13:36:43 +00:00
Aleix Pol
3b212d7a55 QuickSettings: Simplify
Port away from ListModel, make it an array of QuickSetting objects
2021-07-21 13:36:43 +00:00
Aleix Pol
766fce50bd Open KClock when the clock is tapped 2021-07-19 16:27:16 +00:00
Aleix Pol
4942e0e369 Make sure the closed signal is emitted upon close
Otherwise some events never happen, like the screenshot request.
2021-07-14 17:53:58 +00:00
Devin Lin
7c8fc77984 [panel] Fix not centered bottom arrow, and adjust top margin slightly 2021-07-02 18:43:08 -04:00
Marco Martin
7ef50d4af4 Top panel: some simplification and smoother
Simplify the code of the collapsing quick settings panel a bit, and make animations and positioning way smoother
2021-06-16 09:30:28 +00:00
Aleix Pol
0fc51bfb1e Fix warning
Don't check a setting that doesn't exist.
2021-06-10 16:14:59 +02:00
Aleix Pol
d332582328 Port away from the global "theme" object to PlasmaCore.Theme
Like we've done for the rest of Plasma
2021-06-10 16:14:41 +02:00
Devin Lin
40419e48bc Add advanced VolumeOSD to top panel 2021-06-09 13:28:59 -04:00
Marco Martin
b0b0e6f237 restore the widescreen mode 2021-06-09 15:50:40 +02:00
Marco Martin
5da75348f7 Use Plasma Theme and layout fixes
This moves all background rendering of elements in the top sliding panel to use the plasma theme, making full use of themes that can be downloaded from the store, doing so decreases the usage of the Qt.GraphicalEffects import which is slow and not in Qt6. There are some layout and behavioral fixes especially in widescreen mode
2021-06-09 08:44:48 +00:00
Devin Lin
f292ca20f4 panel: remove unnecessary color changes for header panel when quicksettings open 2021-06-04 21:34:09 +00:00
Bhushan Shah
7bac59549d indicators: do not needlessly scan again
When putting modem in online state it would already make it scan for
operator, we have no need to make it scan for operators again and waste
time for operation takes long time.
2021-05-14 15:01:01 +05:30
Devin Lin
f97d5db94b Skip panel window open to improve performance 2021-05-09 19:32:32 -04:00
Marco Martin
1aca3951a1 remove unwanted changes in the top panel 2021-05-04 12:46:23 +02:00
Marco Martin
e4d297dd73 multi page horizontal scrolling
possibility of dragging icons and applets beyon the horizontal screen
boundaries, creating multiple pages that can be horizontally flicked
2021-05-04 12:42:14 +02:00
Devin Lin
0ed2053e79 Rework top panel and improve appearance 2021-04-09 20:59:05 +00:00
Devin Lin
cb72ee350d Fix panel clock from not respecting 12/24 hour settings 2021-03-09 19:04:29 +00:00
Devin Lin
7f7bea091e Use high-brightness and low-brightness icons in the top panel, and remove label 2021-03-09 12:28:40 -05:00
Marco Martin
113fe48caf 2 step top panel slide
a top panel can be just "half" opened showing only the top row of icons. don't duplicate the icons but dynamically fade in/out those making also possible to open the drawer completely by a single, longer swipe
2021-03-09 12:52:17 +00:00
Nicolas Fella
21a3bcafe4 Convert license headers to SPDX 2021-03-02 22:45:25 +01:00
Noah Davis
ed4d713ffb Use Header colors for top panel
Apps use this colorset now. Not using this color set causes the top panel to look weird.
2021-02-28 00:23:21 -05:00
Marco Martin
b044fd156d fix horizontal scrolling of applets
try harder to not have the applet outside of boundaries
2021-02-25 18:02:40 +01:00
Aleix Pol
9bda1b66ff Remove call to an element that doesn't exist
I imagine this was ported away from Loader but it's not anymore.
2021-02-24 16:02:54 +01:00
Devin Lin
17938b31ae Close sliding panel as soon as it's off the screen for no delay 2021-02-22 12:22:07 +00:00
Devin Lin
f231b04bdc Cancel sliding panel animations on touch so it's more responsive 2021-02-22 12:22:07 +00:00
l10n daemon script
006cb7f865 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-02-18 07:54:49 +01:00
l10n daemon script
7c6cabf4a1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-12-20 06:16:31 +01:00
Nicolas Fella
8014d1000c Use PC3 instead of QQC2
In the shell we need to use PlasmaComponents, otherwise the style will
be off
2020-12-16 14:55:44 +00:00
Marco Martin
5809376938 propert visibility binding for notifications 2020-12-07 16:19:45 +01:00
Bhushan Shah
6969101760 Fix button toggle for night color and torch
The code which adds initial buttons only sets the initial property and
does not affect the binding, so we need to set this values manually
2020-11-19 17:01:28 +05:30
Devin Lin
94609d2590 Add night color quick setting 2020-11-19 02:57:27 +00:00
Jonah Brüchert
4dbf4dba42
Simplify QuickSettings 2020-11-16 08:36:42 +01:00
Jonah Brüchert
162f93a41d
quicksettings: Port to new delegate api 2020-11-16 08:36:38 +01:00
Han Young
a13831bc42 toggle action background color when toggling flashlight 2020-11-16 14:20:40 +08:00
Nicolas Fella
d3e03c6ca5 Fix launching settings from top drawer 2020-11-15 16:01:10 +01:00
Marco Martin
791c76f327 remove wrong height binding 2020-11-11 16:34:13 +01:00
Marco Martin
e7f82ab394 fix top panel sliding in vertical mode
encapsulate in an Item to force the proper implicitHeight, so
the top panel slide works on vertical screen also before it has been
rpotated to horizontal and back
2020-11-11 16:25:41 +01:00
Nicolas Fella
2cc612a3a6 Fix volume button handling
main is not defined
2020-11-08 22:45:59 +01:00
l10n daemon script
44f04e5c56 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-11-08 06:24:01 +01:00
Jonah Brüchert
a9fab248d3
Fix launching settings modules 2020-11-06 09:06:50 +01:00
Tobias Fella
fae8ac9969 Improve the signal strength indicator
Show 'Sim locked' instead of '0%' when Sim is locked
Don't show the percentage at all, it's redundant
2020-11-05 08:24:02 +00:00
Nicolas Fella
4aee5533b3 Add quicksettings item for bluetooth
Now that we have bluetooth support add an item for it
2020-10-22 16:25:13 +02:00
l10n daemon script
c735bf3bcf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-09-20 05:52:17 +02:00
Devin Lin
cd4bf8d7c3 Apply settings 12/24 hour time format to lockscreen and panel time 2020-09-17 12:04:49 -04:00
Devin Lin
e6b055a915 Apply suggestions 2020-09-11 22:01:28 -04:00
Devin Lin
43603ed2ae Use Kirigami's ColorScope 2020-09-11 21:57:56 -04:00
Devin Lin
8487ccb35e Fix minor overlap 2020-09-12 00:56:12 +00:00
Devin Lin
e74833e9ab Fix top panel being greyed out by SlidingPanel 2020-09-12 00:56:12 +00:00
Devin Lin
8eecc27cbc Tweak delegate padding and color choice 2020-09-12 00:56:12 +00:00
Devin Lin
0308d1fd62 Use rounded edges for drawer 2020-09-12 00:56:12 +00:00
Devin Lin
392ed46c55 Offset sliding panel to where finger is 2020-09-02 22:44:52 +00:00
Marco Martin
e6d041f90f proper height for the panel 2020-09-01 17:42:53 +02:00
Marco Martin
4a5ac4a6aa don't show notification when it shouldn't 2020-09-01 17:40:09 +02:00
Devin Lin
da3d3c022f Allow holding top panel delegate to trigger label action 2020-08-29 12:22:13 -04:00
Marco Martin
96420f5080 invoke plasma-settings for wifi and broadband 2020-08-20 13:07:53 +02:00
Marco Martin
b675eeb635 better layout in widescreen mode 2020-08-20 12:28:03 +02:00
Marco Martin
5be8125c62 fix logic for open/close top panel 2020-08-20 11:45:38 +02:00
Marco Martin
0c3b152f99 color panel when startupfeedback is used 2020-07-30 12:39:13 +02:00
Marco Martin
12c34a7a6a things go under the top panel 2020-07-23 17:12:19 +02:00
Marco Martin
dd315d81e0 fixes to task switcher experience 2020-07-23 13:47:40 +02:00
Marco Martin
3f32a18b62 make use of HomeScreenControls 2020-07-22 17:17:10 +02:00
Marco Martin
b27e67037c rework panel coloring logic based on tasks 2020-07-16 16:22:57 +02:00
Jonah Brüchert
48f8f00034
Leave calculating the startup feedback color to plasma-nano 2020-06-30 14:34:27 +02:00
Jonah Brüchert
d76fc145f9
correct showinApp typo 2020-06-26 23:59:07 +02:00
Jonah Brüchert
a89d76b23c
Make panels opaque when StartupFeedback is open 2020-06-26 23:22:12 +02:00
l10n daemon script
c8419144ad SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-18 05:45:52 +02:00
l10n daemon script
5131546336 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-17 14:13:18 +02:00
l10n daemon script
59f61325a7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-05 05:05:54 +02:00
Jonah Brüchert
3f4915d426
Revert "Open and close StartupFeedback using KStartupInfo"
This reverts commit b856b78790.

Unfortunately it turned out not to work on Wayland yet.
2020-05-28 15:58:27 +02:00
Jonah Brüchert
b856b78790
Open and close StartupFeedback using KStartupInfo 2020-05-26 21:49:56 +02:00
Jonah Brüchert
f3ab3c0a56
Adapt to plasma nano API change 2020-05-25 19:07:38 +02:00
Dimitris Kardarakos
2f578016e3 Change quick settings location icon
The location icon changed to the gps icon instead of the file location
one
2020-05-11 14:56:20 +03:00
Luca Weiss
9cbb53744f Quicksettings: add toggle for enabling/disabling screen rotation 2020-04-29 21:42:48 +02:00
Luca Weiss
782d583175 Quicksettings: unify spaces/tabs usage 2020-04-29 18:07:36 +02:00
Bart Ribbers
1a1b67c548
Quicksettings: toggle wwan on button press 2020-03-12 12:59:19 +01:00
Bart Ribbers
264d570609 Quicksettings: toggle wifi on button press 2020-03-10 06:10:26 +00:00
Bhushan Shah
c9f466117b Drop debug 2020-02-27 12:36:16 +05:30
Marco Martin
1d359284ec another tiny adjustment 2020-02-14 14:04:18 +01:00
Marco Martin
130b2d8de0 less spacing 2020-02-14 13:39:49 +01:00
Marco Martin
f40bbadd48 lighter gradient 2020-02-12 09:59:18 +01:00
Marco Martin
cf91c25073 cache shadows 2020-02-12 09:57:40 +01:00
Marco Martin
937758721c launch feedback from top panel 2020-02-11 16:24:40 +01:00
Aleix Pol
6adbe5249d Fix warnings 2020-02-07 13:38:02 +01:00
Linus Jahn
30471d4148 Add screenshot option to panel 2020-02-06 19:17:25 +00:00
Marco Martin
9278d99600 a gradient for contrast 2020-02-06 15:39:25 +01:00
Marco Martin
5002023fa9 kill shutdown button 2020-02-05 20:43:35 +01:00
Marco Martin
6c4bef8f38 darken everything 2020-02-05 20:30:35 +01:00
Marco Martin
ea57d633bb move krunner in a plasmoid 2020-02-05 20:25:52 +01:00
Marco Martin
7c9547f5fb fullrepresentationview behind quicksettings 2020-02-04 21:28:14 +01:00
Marco Martin
9da6edd750 panelClosed signal 2020-02-04 21:26:26 +01:00
Marco Martin
8848017279 make closeRequested work 2020-02-04 21:17:58 +01:00
Marco Martin
b10d1ef5c6 a close signal 2020-02-04 20:44:58 +01:00
Marco Martin
1f685091ad debug-- 2020-02-04 12:05:09 +01:00
Marco Martin
e1f90dbfc6 square and smaller icons 2020-02-03 19:12:32 +01:00
Marco Martin
0dad4b65f6 more plasma-nm components to try to autoconnect 2020-01-27 17:26:16 +01:00
Marco Martin
bd078c7fa6 restore volume osd
show a volume icon only when muted atm
2020-01-27 17:22:37 +01:00
l10n daemon script
9b98493232 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-01-20 06:01:38 +01:00
l10n daemon script
ab190aa5da SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-12-28 05:25:20 +01:00
l10n daemon script
a7a5a3f003 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-12-04 05:36:25 +01:00
Marco Martin
6bafbc9cad put LayoutManager.js in the proper place 2019-12-03 11:07:56 +01:00
l10n daemon script
c6089a7b92 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-11-23 05:29:59 +01:00
Bhushan Shah
d37c2c993e remove translations of signal strength
- It makes no sense to translate either of this
- There's chance that this value won't be valid in case of not
functional ofono. which results in giant I18n argument missing error.

If translation was added to translate netreg.strength, I plan to remove
it anyway.
2019-11-22 14:52:49 +05:30
Pino Toscano
b7e93f5630 i18n fixes
- translate few UI strings
- use i18np for plural forms
- style fixes
2019-11-21 09:24:10 +01:00
l10n daemon script
78ce668071 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-11-20 05:40:05 +01:00
l10n daemon script
8e3a03beb4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-11-16 05:03:41 +01:00
Marco Martin
aeea4f92ed remove useless debug 2019-10-22 13:38:07 +02:00
Marco Martin
e14c8aeba3 different container for notifiactions
with different visibility rules
2019-10-22 12:56:59 +02:00
Nicolas Fella
3b034e7357 Use monochrome icon for battery quick action 2019-10-21 09:32:15 +00:00
Marco Martin
4543b7724c more android-looking top panel 2019-10-14 17:51:44 +02:00
Marco Martin
0d3ad6fd2e stop at bounds for the top panel 2019-10-11 15:21:24 +02:00
Marco Martin
902eed0258 ensure the top quicksettings is always on top of the second row 2019-10-11 10:59:32 +02:00
Marco Martin
5bd75786bc prevent control from eating events 2019-10-09 16:11:10 +02:00
Marco Martin
510a825b41 widescreen mode for plasmoids 2019-10-08 18:21:39 +02:00
Marco Martin
a01e645316 move to the right plasmoid when asked 2019-10-08 17:15:17 +02:00
Marco Martin
8d2cf69972 most icons are not plasmoids anymore
show plasmoids full rep in a flickable under quicksettings
2019-10-07 18:49:18 +02:00
Marco Martin
69c0edd704 move signal strength in indicators 2019-10-07 13:16:50 +02:00
Marco Martin
851d17a03d fancier anim 2019-10-04 16:37:51 +02:00
Marco Martin
5a4fdc5a40 better looking shadow 2019-10-04 16:27:29 +02:00
Marco Martin
2dbb5e7d83 simplify a lot top panel 2019-10-04 16:02:26 +02:00
Marco Martin
592481da73 fuse the top panel with krunner 2019-10-04 12:59:58 +02:00
Marco Martin
46a909a64d never reparent the panel 2019-10-04 12:01:56 +02:00
Marco Martin
d41f505795 as an experiment, use the normal color scope 2019-10-03 19:42:24 +02:00
Marco Martin
959e5ab797 try harder to keep panel plasmoid as icons 2019-10-01 18:20:50 +02:00
Marco Martin
2a11f0baa3 fullscreenpanel->fullscreenoverlay 2019-09-18 16:49:44 +02:00
Marco Martin
035e7c4535 smaller top drawer in tablet mode 2019-09-18 16:42:33 +02:00
Marco Martin
5717c71a82 use the window color to dim 2019-09-18 15:52:42 +02:00
Marco Martin
77ae2a21f0 remove local fullscreenpanel component 2019-09-18 15:31:04 +02:00
Bart Ribbers
3bff5cea4b Never allow setting brightness to 0 2019-08-14 08:06:36 +00:00
l10n daemon script
3c628b921e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-05-20 05:39:37 +02:00
Jonah Brüchert
3e5923b783 Replace plasmoids with settings app 2019-02-12 11:55:58 +01:00
Ilya Bizyaev
cfea45ec09 Remove blue line to match changes in desktop Breeze 2019-02-10 02:58:44 +01:00
Marco Martin
6184b2cae0 always force panel applets to be compact 2019-02-07 20:18:54 +01:00
Marco Martin
8f1ba4b1a4 Revert "remove the bool guard on screen brightness"
This reverts commit d6f0b8b2fc.
2019-02-07 17:23:04 +01:00
Marco Martin
d6f0b8b2fc remove the bool guard on screen brightness 2019-02-07 14:05:50 +01:00
Marco Martin
86b6265690 don't reset brightness at start 2019-02-07 12:58:08 +01:00
Simon Schmeisser
3194b36952 Add a shutdown button in the top drawer
it uses the PowerDevil data engine to request a
shutdown from ksmserver. Since ksmserver is not yet
running on the images this also prints a debug message.
Tested to work on desktop neon.
2019-02-06 18:26:48 +01:00
Marco Martin
7310f8282a use plasmoid popups from plasma-minishell
simplify the sliding behavior of the top panel, simpler code, less bugs
2019-02-06 16:31:55 +01:00
Bhushan Shah
e8864872cf simplify 2018-11-12 19:54:59 +05:30