1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 19:21:41 +03:00
Commit Graph

4805 Commits

Author SHA1 Message Date
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
237e561627 ignore background.headThickness for behaveAsPanels 2020-08-26 21:12:19 +03:00
Michail Vourlakos
148e3956b1 decouple background layer plasma shadows svg
--the multilayered background first layer is not
decoupled and is not the parent layer for all the
rest layer. This way we can really hide it without
influence the rest background layers.
2020-08-25 09:16:33 +03:00
Michail Vourlakos
0d941d05f2 background radius,shadows only in advanced settings 2020-08-24 19:46:40 +03:00
Michail Vourlakos
305b0b9519 add custom radius length paddings for background 2020-08-22 22:06:54 +03:00
Michail Vourlakos
8298bf0e2c fix dock view geometry calculations
--when background custom radius and shadow
are applied the dock window geometry shouldnot
change if these values are not altered. This
is especially true when a dock is hiding
its screen edge margin when there is a maximized
window and the same time is hiding also its
background shadows. In such case in the past because
shadows were temporarily disabled the dock was constantly
changing its geometry
2020-08-22 21:01:13 +03:00
Michail Vourlakos
dae99ea8a2 provide fixedshadows for LayeredBackground 2020-08-22 18:15:01 +03:00
Michail Vourlakos
0aa5aaec64 fixes for hideThickScreenGap in Dock mode 2020-08-22 18:15:01 +03:00
Michail Vourlakos
ab1aa51fce fix for customDefShadowEnabled case 2020-08-22 18:15:01 +03:00
Michail Vourlakos
5e770bfd5e Appearance,enable colors script information 2020-08-22 18:15:01 +03:00
Michail Vourlakos
9e8192438c improvements for custom shadowed rectangle 2020-08-22 18:15:01 +03:00
Michail Vourlakos
8553a2e511 discover plasma theme shadow size and color 2020-08-22 18:15:01 +03:00
Michail Vourlakos
77828307b0 Require Kirigami2 dependency
--this way we make sure that kirigami2 is installed
and afterwards we can easily check kde frameworks version
which needs to be >= 5.69 in order to support
ShadowedRectangle
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
2b5d19cfa3 combine Colors options in Appearance page
--combine all colors options into comboboxes and
at the same time enhance their icons and tooltips
functionality
2020-08-22 18:15:01 +03:00
Michail Vourlakos
b2f8f20482 background:fixes for customBackgroundShadow
--limit also the background custom shadow to never
exceed the minimum panel axis
2020-08-22 18:15:01 +03:00
Michail Vourlakos
89e94fce3b initial support background custom radius/shadow
--playing around with Kirigami.ShadowedRectangle in order
to provide a nice beautiful custom made panel background
that the user can chosen custom radius or shadow size.
Colors are going to be used totally based on current plasma
theme.
2020-08-22 18:15:01 +03:00
l10n daemon script
15c1f46ae5 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-08-21 06:15:43 +02: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