1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 13:33:50 +03:00
Commit Graph

2154 Commits

Author SHA1 Message Date
Michail Vourlakos
bc87d53e83 updates for layouts model single mode 2020-08-28 17:58:39 +03:00
Michail Vourlakos
7393ac02eb drop currentLayoutName as signal from synchronizer 2020-08-28 17:58:39 +03:00
Michail Vourlakos
a9774ff13f update Switch button in Layouts table 2020-08-28 17:58:39 +03:00
Michail Vourlakos
f31c698330 expose sortByColumn for layouts mode 2020-08-28 17:58:39 +03:00
Michail Vourlakos
4d7e1dca83 update layouts table to support new approach 2020-08-28 17:58:39 +03:00
Michail Vourlakos
419886b2ea identify dock changing layout in same visible area 2020-08-28 17:58:39 +03:00
Michail Vourlakos
0ee31eead6 update kwin disabled borders infrastructure 2020-08-28 17:58:39 +03:00
Michail Vourlakos
c7d163fdb6 plenty of fixes for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
588349e91c update text for Layout Read-Only 2020-08-28 17:58:39 +03:00
Michail Vourlakos
527f865eda fix last config view tracking for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
42dedca86f fixes for multiple layouts new approach 2020-08-28 17:58:39 +03:00
Michail Vourlakos
3689cc406d retrieve available screen space through activityid 2020-08-28 17:58:39 +03:00
Michail Vourlakos
9026f931fd fixes for corona available areas calcs 2020-08-28 17:58:39 +03:00
Michail Vourlakos
951668fff9 single informative window for activating layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
2e120f9446 make Multiple mode work correctly 2020-08-28 17:58:39 +03:00
Michail Vourlakos
caf9bf7b78 REFACTOR:Drop Shared Layouts infrastructure
--Move in a simpler layouts approach.
--Single Layout mode loads ONLY ONE Layout for ALL Activities
--Multiple Layouts mode loads any combination of Layouts based
on the following settings:
  -- OnAllActivities
  -- ForFreeActivities
  -- SpecificActivities
2020-08-28 17:58:39 +03:00
Michail Vourlakos
63bfc444c4 provide allactivities and free activities ids 2020-08-28 17:58:39 +03:00
Michail Vourlakos
fe34392e1f fix #24, typo 2020-08-28 17:57:36 +03:00
Michail Vourlakos
8553a2e511 discover plasma theme shadow size and color 2020-08-22 18:15:01 +03:00
Michail Vourlakos
1142950f69 provide effect/masks regions for custom backgrounds
--PlasmaExtended::Theme produces QRegions based on corners
radius that can be consumed afterwards from Effects calculations
in order to provide correct QRegions for custom backgrounds
produced from custom background radius option
2020-08-22 18:15:01 +03:00
Michail Vourlakos
bd16a0da69 provide self-calculated theme corners mask 2020-08-22 18:15:01 +03:00
Michail Vourlakos
0e0e8fe5be provide two different export actions for layouts
--Export For Backup, exports a layout with its entire
configuration for ALL applets
--Export As Template, exports a layout after the user
has chosen which applets should keep their settings
and personal data. By default Latte Tasks plasmoid
is going to propose to keep its data because no
personal data are kept in it
2020-08-20 20:33:35 +03:00
Michail Vourlakos
fd47976c1a provide margins for drop down menu buttons 2020-08-20 20:05:17 +03:00
Michail Vourlakos
343c1e632a provide consistent slots naming
--onSomethingChanged syntax is preferred for all
slots that are triggered from somethingChanged signals
--doThis syntax is preferred for generic slots that
are triggered from various different codepaths
2020-08-20 19:58:45 +03:00
Michail Vourlakos
dd46c79475 storage:expose applet plugins information 2020-08-20 17:28:29 +03:00
Michail Vourlakos
a36b49de77 data:extend generictable functionality
--provide different insert methods in order
to insert elements based on name or id sorting
criteria
2020-08-20 16:31:16 +03:00
Michail Vourlakos
7a3d68ed61 sort layouts based on their names
--when layouts are presented to the user it is preferred
to be perfectly sorted based on their names
2020-08-19 20:17:41 +03:00
Michail Vourlakos
8b836da44e genericlayout:improve semantics for id references 2020-08-19 17:36:25 +03:00
Michail Vourlakos
3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
2020-08-19 17:10:00 +03:00
Michail Vourlakos
ac2a4cffc6 support different subcontainments types
--create an abstract implementation for subcontainments
such as systrays and group applet in order to use
the same infrastructure for all storage operations
such as Multiple Layouts loading, copying views,
providing important information etc.

BUG:418642
2020-08-19 16:59:07 +03:00
Michail Vourlakos
46292bf7e5 layouts::storage,provide subcontainment identities
--a generic way to identify subcontainments such as
systrays, group applets etc...
2020-08-19 15:14:46 +03:00
Michail Vourlakos
ab2f416176 layouts::storage,functions for subcontainments 2020-08-19 15:01:45 +03:00
Michail Vourlakos
d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
2020-08-18 03:13:05 +03:00
Michail Vourlakos
d3c1f4d1a8 layouts::storage,move copyView() function 2020-08-18 02:56:33 +03:00
Michail Vourlakos
53a0cb6574 layouts::storage, move syncToLayoutFile() code 2020-08-18 02:23:34 +03:00
Michail Vourlakos
d97be6744d layouts::storage, move isBroken() function 2020-08-18 02:15:28 +03:00
Michail Vourlakos
9a1346d04a layouts::storage support importToCorona() 2020-08-18 01:56:11 +03:00
Michail Vourlakos
2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
2020-08-18 01:44:10 +03:00
Michail Vourlakos
d97fe4c59c provide a new Layouts::Storage singleton
--this class will be the replacement for layout::storage
and will be responsible for any containment actions for
all layouts either loaded or offloaded. Through this
refactor loading and checking CentralLayouts should become
lighter and also memory efficient
2020-08-18 01:23:41 +03:00
Michail Vourlakos
9ff834ccae layouts:define custom text properly
--store the full text color in layout file
2020-08-17 19:00:48 +03:00
Michail Vourlakos
d3a0b3cf31 details:confirm layout change,save data when needed 2020-08-17 18:27:21 +03:00
Michail Vourlakos
7695443a90 details:update buttons state on dataChanged 2020-08-17 17:17:14 +03:00
Michail Vourlakos
131ce454f2 fix IconData references based on Data::Generic type 2020-08-17 16:26:53 +03:00
Michail Vourlakos
5cb0277682 make layoutstable generic table dependent 2020-08-17 16:17:11 +03:00
Michail Vourlakos
3c92b04cbc provide generic table datatype 2020-08-17 15:20:39 +03:00
Michail Vourlakos
519decb85c update layoutstable remove function 2020-08-17 14:45:54 +03:00
Michail Vourlakos
188aa10b40 update datatypes to use generic data type 2020-08-17 14:40:32 +03:00
Michail Vourlakos
1af16862bf provide Data::Generic to be used from datatypes 2020-08-17 14:26:28 +03:00
Michail Vourlakos
9f7f846318 provide applet internal data type 2020-08-17 14:16:05 +03:00
Michail Vourlakos
fb843776a0 set document-new icon for New Templates menu items 2020-08-14 11:03:31 +03:00