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
l10n daemon script
bb2887232a
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-03-20 05:45:46 +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
25677a01b5
block screen gap animations on startup
2020-03-19 19:05:40 +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
Michail Vourlakos
df844ed171
drop double reference in corona
2020-03-18 17:39:19 +02:00
Michail Vourlakos
c59dc52e1e
move activities logic out of activity delegate
...
--all activities information/data for activities
and layouts are now handled properly from the
layoutsmodel in settings
2020-03-18 17:34:09 +02:00
Michail Vourlakos
11798211a9
multiple fixes for imports/exports
...
--import/export full configurations are now
moved to File menu and move out their
implementation from Import/Export layouts
2020-03-18 13:40:42 +02:00
Yuri Chornoivan
e61445d5cc
Fix minor typos: <i/> -> <i>
2020-03-18 09:02:05 +02:00
Michail Vourlakos
652cbb0041
add layout actions to Layout menu
...
--improve vastly how actions in the layout menu
and Layout push buttons use the same code and
shortcuts in order to work correctly
2020-03-17 21:13:33 +02:00
Michail Vourlakos
e9ec4ea266
add shortcuts for layouts editor
2020-03-17 17:06:15 +02:00
Michail Vourlakos
7a11aa93c0
improve settings window Esc key handling
2020-03-17 16:25:08 +02:00
Michail Vourlakos
b6b34b06de
validate layout name icons colors
2020-03-17 15:51:38 +02:00
Michail Vourlakos
5323e7832c
internal messages intervals
2020-03-17 14:29:40 +02:00
Michail Vourlakos
07df968fde
update layouts states after reseting layouts data
2020-03-17 14:17:34 +02:00