Michail Vourlakos
264b2b7568
remove deprecated settings window functions
2020-03-14 15:46:41 +02:00
Michail Vourlakos
828bacce33
update share_id automatic when layout_id changed
2020-03-14 15:39:00 +02:00
Michail Vourlakos
c6e8f6f032
introduce layouts controller for MVC approach
...
--the new controller will take all functionality
from Layouts model that is currently found in settings
window and that way the settings window will be
simplified and is going to be responsible only for
the UI elements of the window and NOT the QTableView
internals
2020-03-14 15:18:26 +02:00
Michail Vourlakos
6ff1102e1f
update qt5 deprecated code
2020-03-14 14:50:37 +02:00
Michail Vourlakos
2db252b769
fix warnings
2020-03-14 14:41:07 +02:00
Michail Vourlakos
154000345d
fix some warnings for shareddelegate
2020-03-14 13:54:20 +02:00
Michail Vourlakos
aa4a6061cd
improve semantics for settings
2020-03-14 13:45:25 +02:00
Michail Vourlakos
9a104340bb
simplify code for background cmbbox
2020-03-13 19:07:20 +02:00
Michail Vourlakos
c39a50f253
rename colorscmb to backgroundcmb
...
--improve delegate name
2020-03-13 19:01:42 +02:00
Michail Vourlakos
5f3007ed93
simplify colors combobox in layouts editor
2020-03-13 18:54:30 +02:00
Michail Vourlakos
49e203de86
fixes for shared column delegate behavior
2020-03-13 17:59:13 +02:00
Michail Vourlakos
46e44606bc
update editor shared delegate to new model
2020-03-13 16:11:26 +02:00
Michail Vourlakos
44c1abcf73
update settings activities delegate
...
--drop totally deprecated activities delegate
code
2020-03-13 14:33:39 +02:00
Michail Vourlakos
d4ed1aa609
update settings Activites delegate
2020-03-13 13:15:06 +02:00
Michail Vourlakos
6e66907957
update settings Layout name delegate
2020-03-13 12:33:40 +02:00
Michail Vourlakos
e5baecfb9f
visual for layout name was edited
2020-03-13 12:16:56 +02:00
Michail Vourlakos
a9bc5aa19f
introduce original/edited Named in layout data
2020-03-13 12:08:54 +02:00
Michail Vourlakos
4428d4b083
support setData function for layouts model
...
--initial support for this
2020-03-12 20:33:31 +02:00
Michail Vourlakos
4874b254dd
fix sharedcolumn and introduce some editable items
2020-03-12 19:23:24 +02:00
Michail Vourlakos
bab5564d0a
remove deprecated settings window code
2020-03-12 18:39:13 +02:00
Michail Vourlakos
70c8841646
update layouts headers
2020-03-12 18:34:52 +02:00
Michail Vourlakos
b55447764a
update layouts checkdelegates for new model
2020-03-12 16:40:33 +02:00
Michail Vourlakos
401a56a8a4
support loading in the new model
2020-03-12 15:12:13 +02:00
Michail Vourlakos
5e75b889e0
introduce initial LayoutsModel
2020-03-12 11:53:37 +02:00
Michail Vourlakos
be4e088f5e
use QList for layoutsdata
...
--add isActive flag for Data::Layout
2020-03-11 15:46:25 +02:00
Michail Vourlakos
f81d535468
drop old originalLayoutNames list
2020-03-10 21:56:58 +02:00
Michail Vourlakos
09c599a2d7
update how layouts settings are stored in editor
2020-03-10 21:01:01 +02:00
Michail Vourlakos
7bb01f150a
support new layouts data for settings
2020-03-10 20:37:01 +02:00
Michail Vourlakos
1ee24adbbd
update "FreeActivities" during apply
2020-03-10 19:35:34 +02:00
Michail Vourlakos
fca4db5962
support font style for FreeActivities record
2020-03-08 21:40:20 +02:00
Michail Vourlakos
5f7bcf565d
remove old code for activities in settings window
...
--remove relevant deprecated code that is not needed
in the new implementation
2020-03-08 20:56:26 +02:00
Michail Vourlakos
43de9b509b
update activities combobox implementation
...
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
2020-03-08 20:52:44 +02:00
Michail Vourlakos
1d8fe4541c
Important:fix localGeometry calculations
...
--and add also new visual debug mode for
localGeometry calculations
2020-03-08 10:27:16 +02:00
Michail Vourlakos
38d7ec5c2e
prevent user from switching to shared layouts
2020-03-08 02:14:13 +02:00
Michail Vourlakos
5464018135
fix crashes and update share ids runtime in model
2020-03-08 02:03:26 +02:00
Michail Vourlakos
d164f06354
fix wrong mis-assignment of Shared layouts
...
--when an active central layout was changing
from one shared layout to another the new
shared layout was not loaded properly
2020-03-08 00:44:06 +02:00
Michail Vourlakos
ab09e56d56
dont close settings dialog with Enter key
2020-03-08 00:00:28 +02:00
Michail Vourlakos
d3a07b5371
improvements for multips views and sidebars
2020-03-07 21:24:06 +02:00
Michail Vourlakos
d1faaedc59
improve availableScreen..WithCriteria api
...
--improve its semantics in order to be more
understandable
2020-03-07 18:58:05 +02:00
Michail Vourlakos
e6ba47daab
add more ignore visibility modes for calculations
...
--when a view is loaded its visibility mode is not
set already, in that case ignore it from all the
availableScreenGeometries calculations
2020-03-07 18:43:18 +02:00
Michail Vourlakos
0b2be421eb
IMPORTANT:Multiple docks/panels in same edge
...
--Latte can now support multiple Views in the same screen
edge. Views as separated in THREE Layers of priorities.
1. Views from Shared Layouts have highest priority and they
are first to occupy a screen edge
2. Views that are set OnPrimary screen occupy a screen edge only
if there is NO other View from a Shared Layout applied already
3. Views that are Explicit to specific screens occupy a screen
edge only if there is NO PRIMARY view already loaded
2020-03-07 18:30:22 +02:00
Michail Vourlakos
719c852c8c
update availableScree...WithCriteria functions
...
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
2020-03-07 15:36:39 +02:00
Michail Vourlakos
f31cc660b4
send QRegion through dbus as QList<QRect>
...
BUG:418559
2020-03-07 10:20:55 +02:00
Michail Vourlakos
9f4d961f32
Revert "change QRegion to QList for dbus plasma call"
...
This reverts commit a7f786d87f
.
2020-03-07 10:16:57 +02:00
Michail Vourlakos
a7f786d87f
change QRegion to QList for dbus plasma call
...
--change how dbus arguments are sent to Plasma
and a QList arguments for this
BUG:418559
2020-03-07 07:47:52 +02:00
Michail Vourlakos
d3b5e2c4eb
remove gtk_frame_extents from window geometries
...
--under x11 environment remove the gtk_frame_extents that
are used for shadows under plasma environment
BUG:417856
2020-03-06 21:45:54 +02:00
Michail Vourlakos
ab83bc5b2e
fixes for BLUR in live editMode
...
--add also missing signal in Effects to updateEffects
when enabledBorders are changed
2020-03-05 22:11:06 +02:00
Michail Vourlakos
b82d9dfdbe
x11:validate windows added before accepting them
...
--this way when Plasma Desktop is reloaded or during
startup after Latte is loaded then Plasma desktop
window is still totally ignored.
2020-03-05 21:20:25 +02:00
Michail Vourlakos
57d1bf1f43
add quit application to contextmenu actions
...
--easier way for some to quit Latte by just
right clicking on the docks/panels
BUG:417486
2020-03-05 20:09:22 +02:00
Michail Vourlakos
e2596b905c
fix topbottom borders check in editmode
2020-03-02 19:01:51 +02:00