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
4aa1bc3a8c
Make it possible to move windows between screens if there's more than one
2021-09-10 00:29:28 +00: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
d30744789f
Do not minimise windows from other screens
...
If a window from another screen is selected, don't minimise it.
Otherwise switching windows on the phone closes windows on the other
displays.
2021-08-31 16:29:44 +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
46305ae4db
Don't let the drawer under right side panels either
2021-08-30 14:47:59 +00: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
edcf70c263
taskpanel: Also add margins when the buttons are on the side (landscape)
...
Otherwise they look rather grotesque
2021-08-27 22:01:07 +02:00
Aleix Pol
a06bd89ec4
taskpanel: Put the controls at the right when on landscape mode
...
This way we don't lose otherwise precious screen real state on the
smaller
dimension.
2021-08-26 14:53:25 +02:00
Aleix Pol
989d6fdc1d
Port to the new org.kde.KWin.ScreenShots2 interface
...
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/85
2021-07-25 17:01:32 +00:00
Aleix Pol
441936186a
Port to use the new org.kde.kwin.VirtualKeyboard.visible property
...
Makes it possible to properly display the keyboard state when the
keyboard is hidden but still active.
2021-07-21 22:16:04 +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
Alexander Lohnau
bacfccd323
applets: Use K_PLUGIN_CLASS_WITH_JSON instead of K_EXPORT_PLASMA_APPLET_WITH_JSON
...
Task: https://phabricator.kde.org/T14542
2021-06-19 06:52:49 +02: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
Nicolas Fella
210468572d
[taskpanel] Show app name instead of window title
...
I think this looks better since the window title is often too long to be properly displayed
2021-06-09 10:36:53 +00: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
Nicolas Fella
f53aae825d
Use version-less qt DBus macros
...
They work with both Qt5 and Qt6
2021-05-31 01:08:05 +02: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
690abebfd5
Make components out of the homescreen
...
Move most of the homescreen pieces in a QML import
that can be reused making it easier to do alternative homescreens
2021-05-05 12:31:08 +02:00
Marco Martin
0be66f024e
remove last remains of krunnerin homescreen directly
2021-05-04 14:14:45 +02:00
Marco Martin
8483bcbe0f
fix controlling from the bottom panel
2021-05-04 12:46:27 +02:00
Marco Martin
b98c7ec224
remove dead code
2021-05-04 12:46:27 +02:00
Marco Martin
7c9dbf08f2
proepr positioning of fav strip
2021-05-04 12:46:27 +02:00
Marco Martin
8ece4519b1
limit applet size to view size
2021-05-04 12:46:27 +02:00
Marco Martin
8cfdb80661
remove useless debug
2021-05-04 12:46:27 +02:00
Marco Martin
354ec7c8a5
restore contentY->offset sync
2021-05-04 12:46:27 +02:00
Marco Martin
c8078b8288
make the favorites slide together all the rest
2021-05-04 12:46:27 +02:00
Marco Martin
86b8269b55
proper margin for the nav pages
2021-05-04 12:46:27 +02:00
Marco Martin
73efc8a59d
show last page with a + when dragging
2021-05-04 12:46:27 +02:00
Marco Martin
a79a7f31f8
dismiss applet edit mode by touch
2021-05-04 12:46:27 +02:00
Marco Martin
bd55057933
keep edit mode when drag stops
2021-05-04 12:46:27 +02:00
Marco Martin
7b59670deb
put the footer in the scroll away area
2021-05-04 12:46:27 +02:00
Marco Martin
d7af742066
fix the horizontal or vertical scroll decision
2021-05-04 12:46:27 +02:00
Marco Martin
c3959d056d
clip
2021-05-04 12:46:27 +02:00
Marco Martin
0576a15acc
remove debug message
2021-05-04 12:46:27 +02:00
Marco Martin
9848184226
remove the spacer when dropping
2021-05-04 12:46:27 +02:00
Marco Martin
8a2d7edbb7
respect screen boundaries
2021-05-04 12:46:27 +02:00
Marco Martin
91e763d4a3
remove bottom margin from page indicator
2021-05-04 12:46:27 +02:00
Marco Martin
434ec6fdf9
clicking panel home button goes to page 0
2021-05-04 12:46:27 +02:00
Marco Martin
66bf27b9e4
let LauncherRepeater know about thefavorite strip
2021-05-04 12:46:27 +02:00
Marco Martin
ee6f80de62
fix auto scrolling with drag and drop
2021-05-04 12:46:27 +02:00
Marco Martin
e27cdfdf55
mode droparea and appletslayout in own component
...
still casuses warnings and not fully functional but mostly works
2021-05-04 12:46:27 +02:00
Marco Martin
6366d5bfaf
more natural switching behavior
2021-05-04 12:46:27 +02:00
Marco Martin
f8cc7100aa
don't let horizontal scroll over limits
2021-05-04 12:46:27 +02:00
Marco Martin
e27b45574c
support auto scroll with actual dnd
2021-05-04 12:46:27 +02:00
Marco Martin
dff5809c59
better management of dragging to new pages
2021-05-04 12:46:27 +02:00
Marco Martin
70805d04eb
finished moving the horizontal flicking in component
2021-05-04 12:46:27 +02:00
Marco Martin
5393452390
move the main flickable in own file
2021-05-04 12:46:27 +02:00
Marco Martin
3ce188ee46
horizontal auto scroll works better
2021-05-04 12:46:27 +02:00
Marco Martin
401efee30f
make containment a focusscope
2021-05-04 12:46:27 +02:00
Marco Martin
1aca3951a1
remove unwanted changes in the top panel
2021-05-04 12:46:23 +02:00
Marco Martin
9c080a2676
snap for horizontal page scrolling
2021-05-04 12:42:26 +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
Vlad Zahorodnii
ab9f489b36
Remove unused forward declaration of PlasmaWindowModel
2021-03-25 10:09:48 +02:00
Alexander Lohnau
a5df3ebdcb
clang-tidy: Force braces around statements
2021-03-19 08:54:50 +01:00
Alexander Lohnau
854742efcc
Run clang-format
...
If you want git blame to ignore formatting revisions run:
git config blame.ignoreRevsFile .git-blame-ignore-revs
2021-03-19 08:52:24 +01:00
Alexander Lohnau
88ef5ea9b7
GIT_SILENT Prevent clang-format uglification
2021-03-19 08:51:58 +01: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
Devin Lin
9854558a1b
Fix panel icon sizing
...
Ensure integer pixel margins
2021-03-05 18:50:48 -05:00
Marco Martin
66f13653ae
remove code pushed by mistake
2021-03-05 14:37:17 +01:00
Marco Martin
5814fd9696
apporder reflects favorites
...
keep in sync the first items of apporder which will always be favorites.
this should fix the favorites spontaeous reordering that sometimes
happen
2021-03-05 14:37:17 +01:00
Devin Lin
b81d29d2c2
Change task panel down icon to symbolic
2021-03-04 18:44:07 -05:00
Aleix Pol
13f21bf23b
Port to use IconItem again
2021-03-04 15:54:56 +00:00
Aleix Pol
31fceb18f8
Prioritise hiding the virtual keyboard
...
Now that the virtual keyboard appears right over the panel, change the
close window button to a hide button. When the virtual keyboard is
hidden, now you get the big X to close.
2021-03-04 15:54:56 +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
7a740a2f5d
Tweak app drawer behavior
...
- Only trigger the app drawer open/close animation if the flick goes over an eighth of the screen so that small flicks do not trigger it
- Adjust easing curve to be OutQuad so that fast flicks don't feel slow (have to slow to a stop, and then animation triggers)
- Increase animation duration to account for OutQuad curve
- Animate opacity of application icons as the app drawer comes in and out
2021-02-22 16:08:43 +00:00
Marco Martin
40f6abd78e
enable the drag handler only when the containment has focus
...
this way it doesn't steal events anymore from the widget explorer
2021-02-22 14:59:15 +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
Marco Martin
ed91354960
respect max favorite count when dropping
2021-02-16 13:37:50 +01:00
Marco Martin
00d63af2da
More familiar behavior for the App Drawer
...
This makes the behavior of the app drawer a bit more familiar and
slightly more similar to Android for now:
* The drawer always contains every application
* Applications are always alphabetically ordered
* The drawer opens completely, not staying stuck in "in between" states
* is possible to drag more copies of a single app on the homescreen/favorites
* possible to remove an icon from the homescreen or favorites
Two things have been prepared in there (but are material for 5.22 only,
so not finished)
* Things have been reordered such in a way that makes easy for most of
the qml files to become components to make easy for people to build
their own customized homescreen
* basic infrastructure is there to allow for multiple horizontal pages
scroll, though not implemented yet as needs changes to plasma-workspace
layouting code beforehand
2021-02-15 16:25:39 +05:30
Yuri Chornoivan
cd4675b33e
Add i18n()
2021-02-10 19:00:51 +02:00
Marco Martin
4458d7355e
delay scroll reset after launch
2021-02-03 17:19:53 +01:00
Alexey Min
036edc24cb
Use loop instead of recursion
...
This fixes crash when clicking "screenshot" button
in the top panel on postmarketOS. The reason for crash
is that default thread stack size in musl libc is limited,
and recursion in a function with a 4 Kb buffer consumes
it all.
2021-02-01 17:52:33 +03:00
Nicolas Fella
8f92f6b4d6
Use versionless Qt cmake target
...
This makes it easier to build against both Qt5 and Qt6
GIT_SILENT
2021-01-30 17:23:02 +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
Aleix Pol
3ca6a2d395
thumbnail: don't request the window stream until we first need it
...
This way we don't add more pressure upon application startup time. It
doesn't seem noticeable when showing the windows overview.
2020-12-10 03:49:35 +01:00