Devin Lin
bb3b6959ac
Fix activate
2021-10-31 00:14:50 -04:00
Devin Lin
fc818bcf7f
Major refactor and smoothen alignment
2021-10-31 00:11:10 -04:00
Devin Lin
16615e37cb
Ensure that homescreen is not showing when task switcher opens
2021-10-28 22:08:36 -04:00
Devin Lin
dcbdf8f101
Add overswipe gesture
2021-10-28 22:08:36 -04:00
Devin Lin
43c327655d
Improve smooth offset behaviour
2021-10-28 22:08:36 -04:00
Devin Lin
90138d5442
Revamp task switcher
2021-10-28 22:08:36 -04:00
Devin Lin
25e0f99f43
homescreen: Add swipe down panel gesture
2021-10-28 21:54:52 -04:00
Devin Lin
0100d26024
Fix broken reset homescreen position signal, and minor refactor
...
Closes #122
2021-10-28 20:11:01 -04:00
Aleix Pol
0cd4f91ec4
Port away from PlasmaComponents 2.0 on most places
2021-10-22 16:34:03 +00:00
Devin Lin
b091ce2ac3
Rework app drawer layout and open/close behaviour logic
2021-10-22 15:48:31 +00:00
Devin Lin
e168b2bdb6
panel: Fix quicksetting delegate width not getting enforced on label
2021-10-18 14:56:43 +00:00
Aleix Pol
1eb7965fca
HomeScreen: Support the meta key
...
While using the shell, add some value to the Meta key so the shell is
more useful when using a keyboard.
2021-10-18 11:12:43 +00:00
Devin Lin
7df05e09be
panel: Rework panel layout, and refactoring
2021-10-12 13:50:36 +00:00
David Faure
5411b8c962
Merge remote-tracking branch 'origin/Plasma/5.23'
2021-10-02 14:02:23 +02:00
David Faure
5c6c094dd2
Fix path->URL conversion error, detected by -DQT_NO_URL_CAST_FROM_STRING
2021-10-02 14:01:56 +02:00
Devin Lin
f599a6897d
taskpanel: Make the vertical form factor offset a bit smaller.
2021-09-29 15:48:58 +00:00
Aleix Pol
1554008648
taskpanel: Use the form factor to define the position we are on
...
Instead of the panel state itself. That would arrive at different points
in the event and sometimes plasma would set the offset to the horizontal
panel. This should remove this case by only setting the offset when the
panel is in the state that needs it.
2021-09-29 15:48:58 +00:00
Aleix Pol
cfcab16fb2
Do not show "Sim Locked" when there's no SIM card
...
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115
(cherry picked from commit d238aa3031 )
2021-09-29 12:29:54 +00:00
Aleix Pol
8335934aef
As an acronym, SIM should be upper-case
...
It stands for Subscriber Identity Module
2021-09-29 01:01:39 +02:00
Aleix Pol
d238aa3031
Do not show "Sim Locked" when there's no SIM card
...
Fixes https://invent.kde.org/plasma/plasma-phone-components/-/issues/115
2021-09-29 01:01:39 +02:00
Aleix Pol
f6c1d727d7
Revert "phonepanel: Keep the Quick Settings buttons the same size"
...
This reverts commit c4903c25b9 .
(cherry picked from commit 43f2f293cf )
2021-09-27 23:20:24 +00:00
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
6d1a9ed153
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.
(cherry picked from commit c4903c25b9 )
2021-09-16 23:25:10 +00: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
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