1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-26 02:04:12 +03:00

1810 Commits

Author SHA1 Message Date
Michail Vourlakos
4832042b0f add message for dropping layout files 2020-03-23 00:40:57 +02:00
Michail Vourlakos
2e79a5df30 mv layouts headerview to settings/views folder 2020-03-22 22:38:57 +02:00
Michail Vourlakos
100e3d4884 update knsrc installation path
--since kde frameworks >= 57 there is a specified path
for which knsrc files should be present
2020-03-22 18:39:36 +02:00
Michail Vourlakos
df635fb88b improve Layouts sorting behavior 2020-03-22 17:52:22 +02:00
Michail Vourlakos
38f7df72fb get userfeedback for saving and switching tabs 2020-03-22 17:28:36 +02:00
Michail Vourlakos
f51126eae2 prevent switch tabs when there are unsaved changes 2020-03-22 16:04:05 +02:00
Michail Vourlakos
1690ace196 store layoutsView user sorting preferences 2020-03-22 14:17:10 +02:00
Michail Vourlakos
a21874b29b move LayoutsTab storage to view LayoutsContrailer 2020-03-22 13:53:26 +02:00
Michail Vourlakos
b63c7bfbc7 enabled antialiasing for Layouts::HeaderView 2020-03-22 12:55:41 +02:00
Michail Vourlakos
7613396708 remove deprecated code from layoutscontroller 2020-03-22 12:49:44 +02:00
Michail Vourlakos
27aebc9304 insert Settings::Layout menu at correct position 2020-03-22 12:43:12 +02:00
Michail Vourlakos
5285aee716 TabLayouts dataChanged when removing layouts 2020-03-22 12:28:10 +02:00
Michail Vourlakos
d87663413e move properties at Settings window code
--no reason for Settings Window properties to
be present at UniversalSettings. They are moved
to their SettingsDialog best match classes.
2020-03-22 12:15:37 +02:00
Michail Vourlakos
5d52083968 rename for consistency 2020-03-22 10:18:18 +02:00
Michail Vourlakos
0d79c2ed15 update code to TabLayoutsHandler
--all ui code from settings dialog for Layouts Tab
in now moved to its handler.
2020-03-21 22:06:19 +02:00
Michail Vourlakos
f7b8bd6619 introduce the TabLayoutsHandler 2020-03-21 20:33:37 +02:00
Michail Vourlakos
0cae6f0ec3 define interface for Settings::Handler(s) 2020-03-21 19:22:37 +02:00
Michail Vourlakos
4f92222863 user Layouts::Manager for currentLayoutName 2020-03-21 13:47:32 +02:00
Michail Vourlakos
92c0a68a19 update active states differently for singlelayout 2020-03-21 13:33:53 +02:00
Michail Vourlakos
0534c33ff8 reduce publish geometries interval to 1000ms 2020-03-21 13:23:15 +02:00
Michail Vourlakos
6188888840 update infoview to be ignored properly 2020-03-21 13:06:03 +02:00
Michail Vourlakos
70359602b8 apply activities at views andcurrentActivitychanges 2020-03-21 12:44:52 +02:00
Michail Vourlakos
93d7422059 dont use too often, costly kwinrc tracking 2020-03-21 12:23:32 +02:00
Michail Vourlakos
0ff8f2b74f force plasmageometries updates for activitieschange 2020-03-21 12:10:19 +02:00
Michail Vourlakos
850b058ecd fix layouts data broadcasting when applying 2020-03-21 01:54:45 +02:00
Michail Vourlakos
ad8723ce4f fix, save temporary layouts when user applied 2020-03-21 01:46:33 +02:00
Michail Vourlakos
f954999b12 drag n' drop layout files in layouts editor 2020-03-21 01:29:38 +02:00
Michail Vourlakos
252ebcaa19 refactor preferences settings handling
--we introduce handlers that are going to be
responsible for the ui parts of settings windows.
So having data structures, MVC for models/tables that
are used and Handlers for any ui interaction
simplify the implementation and make it more
structured in order to be maintained and grow
safely.
2020-03-20 23:53:15 +02:00
Michail Vourlakos
fe7f35b9bf remove boldness from preferences settings 2020-03-20 18:50:17 +02:00
Michail Vourlakos
2256a8b855 update last-1 column width properly 2020-03-20 18:41:23 +02:00
Michail Vourlakos
1113f942b1 provide feedback to the user in layouts view
--provide feedback to the user for which layout
options have been altered. This is achievable
by providing italicness to these options.
2020-03-20 18:19:29 +02:00
Michail Vourlakos
9faa3cac86 meaning sortings for layouts model 2020-03-20 16:02:31 +02:00
Michail Vourlakos
c62ff66ffd validate layouts data to follow userrole
--all layouts table cell user Qt::UserRole as
the first role to user for their data and any
subdata should use an explicitly-set
LAYOUTUSERROLE
2020-03-20 16:02:31 +02:00
Michail Vourlakos
f6aeea9980 move original data into layouts model
--this way the model items can become aware
of all data changes and become visual
responsive accordingly. All changed data
should use the italic paradigm... If a
value is changed from its original value
can become italic in order for the user
to know which values have changed.
2020-03-20 16:02:31 +02:00
Johnny Jazeix
ebaf3aebee fix build for Qt < 5.14 2020-03-20 09:17:36 +01:00
Michail Vourlakos
4ad3880579 update PLASMAPANEL geometry immediate after hiding
--behaveAsPlasmaPanel can now slide in/out as real windows
but after they hide there is a chance that their geometry
should be updated. This patch makes sure that this will
happen exactly before the BEHAVEASPLASMAPANEL starts
sliding-in.
2020-03-19 22:12:59 +02:00
Michail Vourlakos
466129c1d0 update shared layouts activities icons 2020-03-19 18:56:03 +02:00
Michail Vourlakos
7dacde2d3a update Preferences settings to follow KDE HIG 2020-03-19 18:21:13 +02:00
Michail Vourlakos
87f6330816 slide in/out nicely when hideThickScreenGap
--when the user has chosen to hide the screen gap
when there is a maximized window in the screen and
at the same time the View behaves as plasma panel,
it now slides in/out nicely
2020-03-19 15:32:36 +02:00
Michail Vourlakos
338159c01f calculate better the screen edge margin 2020-03-19 13:47:04 +02:00
Michail Vourlakos
c9c61818a4 force kwinedge for behaveAsPlasmaPanels
--this way we make sure that the user will be
able to trigger showing with mouse at the screen
edge. Using the window mask to succeed in this
in not an option.
2020-03-19 13:35:31 +02:00
Michail Vourlakos
43d91c9b63 drop QRect::setX/Y from all classes
--they can change the QRect width and height
and this is not the desired behavior.
moveLeft/Top are much better replacements.
2020-03-19 12:54:20 +02:00
Michail Vourlakos
73b3fb234f drop QRect::setX/Y from View
--change them with moveTop/Left which provide
the exact math calculations that are needed
for geometries. Functions setX/Y must be
avoided because they may change the width
and height values.
2020-03-19 12:45:23 +02:00
Michail Vourlakos
f4c255952f disable some debug messages 2020-03-19 12:16:09 +02:00
Michail Vourlakos
e0c04a9c6f import:dont update view:local_geometry when hidden
--if this does not apply then local geometry are not valid
when views become hidden
2020-03-19 12:09:17 +02:00
Michail Vourlakos
3246ce2447 update free activities flag from external changes
--when the user has altered the free_activities from
its context menu then settings window it must better
update its record concerning the layout that will
be responsible for free activities
2020-03-19 02:21:31 +02:00
Michail Vourlakos
b960a8579e use all cell height for free activities icon 2020-03-19 01:56:01 +02:00
Michail Vourlakos
2bc4e63431 fix a case to autoupdate free_activities_id
--when free_activities layout becomes shared
then another layout should become responsible
for FREE_ACTIVITIES
2020-03-19 01:44:52 +02:00
Michail Vourlakos
97e5345f40 update shareto line settings indicator
--improve its appearance in general and its
behavior also
2020-03-19 01:22:04 +02:00
Michail Vourlakos
20602acbfb provide nice icons for layouts from activities 2020-03-18 20:28:19 +02:00