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

2446 Commits

Author SHA1 Message Date
Michail Vourlakos
761305af61 improve text for Single/Multiple layouts 2021-02-14 20:23:55 +02:00
Michail Vourlakos
22fa4c8fc8 rename property single active layout
--renaming active layout in single mode is a little
tricky in order to not leave any deprecated data behind.
Successful steps would be:
1. unload current single layout
2. load new single layout for the new file
3. remove deprecated layout file after new file loaded correctly
2021-02-14 20:11:25 +02:00
Michail Vourlakos
4806a7c5e2 fix single mode active layout ordering
--simplify also some code parts in layouts handler
2021-02-14 18:39:30 +02:00
Michail Vourlakos
4a89138a6e provide functionality for Enabled layout action 2021-02-14 18:00:08 +02:00
Michail Vourlakos
da6478fc8e add functionality for activities explorer 2021-02-14 17:07:04 +02:00
Michail Vourlakos
684bf9dc80 provide two new actions in Layouts Editor
--Activities to trigger Plasma activities manager
--Enabled to assign/unassign layouts to different
activities
2021-02-14 16:43:34 +02:00
Michail Vourlakos
ad4095855e fix custom templates dir tracking 2021-02-14 00:30:44 +02:00
Michail Vourlakos
ea3d913757 improvements for view templates handling 2021-02-13 21:12:32 +02:00
Michail Vourlakos
7e92a79d4c add missing signal for export dialog handler 2021-02-13 20:04:07 +02:00
Michail Vourlakos
26af7e4091 add functionality for ExportViewTemplate 2021-02-13 19:52:52 +02:00
Michail Vourlakos
a9301ebf7b move syncing layout files into export dialog 2021-02-13 13:15:51 +02:00
Michail Vourlakos
c7404e55a9 custom templates in FullBackupConfiguration 2021-02-13 12:57:13 +02:00
Michail Vourlakos
440b4b5736 improve templates signaling 2021-02-13 12:38:34 +02:00
Michail Vourlakos
57fc8ec375 support applets relative path icons 2021-02-13 02:20:31 +02:00
Michail Vourlakos
d5f6dcad6d track custom templates removal 2021-02-13 02:01:13 +02:00
Michail Vourlakos
4ad8654970 visual feedback for templates extraction
--update templates list when adding new templates
2021-02-13 01:43:49 +02:00
Michail Vourlakos
53f32b6f3b do not remove configuration for subcontainments 2021-02-13 01:27:03 +02:00
Michail Vourlakos
a8d4bdf82d provide basic Export functionality 2021-02-13 01:22:44 +02:00
Michail Vourlakos
16c1a849b6 init UserSpecified templates in templatemanager 2021-02-12 21:02:42 +02:00
Michail Vourlakos
08327326ff provide functionality for ChooseDialog in Export 2021-02-12 20:51:27 +02:00
Michail Vourlakos
2dee058fdc provide Choose File Dialog for ExportTemplate 2021-02-12 19:10:23 +02:00
Michail Vourlakos
ea214c5297 increase View initial thickness
--this way during startup a big thickness is
provided in order for slide-in during startup
to play nicely and give the time to view
its proper thicknesses
2021-02-10 20:13:15 +02:00
Michail Vourlakos
f020400aec provide ExportTemplate::Reset functionality 2021-02-10 20:05:13 +02:00
Michail Vourlakos
c57a69ae05 rename function in settings handler 2021-02-10 19:10:24 +02:00
Michail Vourlakos
6f58d09d06 reorganize settings dialogs in better structure 2021-02-09 20:22:31 +02:00
Michail Vourlakos
484270f416 disable clickable for AppletsTable Header Columns 2021-02-09 19:29:00 +02:00
Michail Vourlakos
869df6316c fix applets table data
--ignore applets data that are not valid
2021-02-09 19:15:51 +02:00
Michail Vourlakos
d40cdfceab improve CheckBox behavior in AppletsTable 2021-02-09 19:04:44 +02:00
Michail Vourlakos
1b0b43e0e0 fix #43,set NULL mask() for behaveAsPlasmaPanel
--this way plasma frameworks are informed correctly
that they can use the window geometry to position
their popups
2021-02-08 19:03:02 +02:00
Michail Vourlakos
650e43c9d1 provide functionality for buttons in exporttemplate 2021-02-07 21:27:08 +02:00
Michail Vourlakos
fcfcf8ca51 provide reset button functionality 2021-02-07 21:04:00 +02:00
Michail Vourlakos
e50d9e33a7 provide some applets with no personal data 2021-02-07 20:56:10 +02:00
Michail Vourlakos
dd2d125c70 add buttons in exporttemplatedlg 2021-02-07 18:47:20 +02:00
Michail Vourlakos
222caf28da provide select/deselect all buttons in exportdlg 2021-02-07 18:27:46 +02:00
Michail Vourlakos
a4c70b0922 decouple ExtractTemplateDlg from SettingsWindow 2021-02-07 18:07:45 +02:00
Michail Vourlakos
156b2190a8 checkability for AppletsTable in ExportTemplateDlg 2021-02-07 13:43:10 +02:00
Michail Vourlakos
f63622db0f provide headers fixes for AppletTable in ExportDlg 2021-02-07 13:13:06 +02:00
Michail Vourlakos
a45b97a2b1 provide basic implementation of ExportTemplateDlg 2021-02-07 12:53:10 +02:00
Michail Vourlakos
0943ecb42e provide AppletsModel for ExportTemplateDialog 2021-02-07 12:02:50 +02:00
Michail Vourlakos
674888800d introduction of exporttemplatedialog 2021-02-06 19:19:12 +02:00
Michail Vourlakos
6cd47840fb improve how identification of expanded applets
--take into account AppletQuickItem.switchWidth/Height
values in order to identify or not if an applet
is expanded in a popup window
2021-02-06 12:32:54 +02:00
Michail Vourlakos
09654e75b3 expose view templates through dock settings
--the user can now add views based on view templates
found in the system through Dock Settings, New Dock
actions
2021-02-06 00:14:11 +02:00
Michail Vourlakos
390ea0596c provide newView function for Layouts::Storage 2021-02-05 23:47:51 +02:00
Michail Vourlakos
eff0fab134 expose view templates through Dock settings window 2021-02-05 19:05:04 +02:00
Michail Vourlakos
1f5f6cd69a provide view templates through manager 2021-02-05 18:38:58 +02:00
Michail Vourlakos
4222811de2 remove debug message 2021-02-05 17:54:45 +02:00
Michail Vourlakos
561f0168c0 fixes for abilities and KHNS 2021-02-05 17:06:12 +02:00
l10n daemon script
df10c92d48 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"
2021-02-04 06:59:16 +01:00
Michail Vourlakos
1e8ec1380d track lastActiveWindows for OnAllActivities layout
--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.

BUG:431763
2021-02-03 00:34:53 +02:00
Michail Vourlakos
f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
2021-02-02 22:29:27 +02:00
Michail Vourlakos
8ae3b4ecfb update based on position shortcuts implementation
--the new fix provides totally valid position shortcut
badges based on what the user has chosen as global
shortcut to trigger an item in latte dock based
on its position in it
2021-02-02 12:31:25 +02:00
Michail Vourlakos
7af60c802d provide isHidingBlocked through MyView Ability 2021-01-31 23:05:54 +02:00
Michail Vourlakos
df03f51fdc increase initial size for View 2021-01-28 00:41:19 +02:00
l10n daemon script
1dfabeac2a 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"
2021-01-27 08:55:30 +01:00
Michail Vourlakos
d21fc43b8c add update slot for layout:lastUsedActivity
--add layout slot to update lastUsedActivity
when runningActivities where changed in order
for layout::applyActivities() to provide valid
activities list even when an activity is
first starting.
2021-01-25 22:16:31 +02:00
Michail Vourlakos
e9ecec47dc containment: more improvements for indicators api 2021-01-25 20:42:56 +02:00
l10n daemon script
bba3c292b8 GIT_SILENT made messages (after extraction) 2021-01-24 02:43:32 +01:00
Michail Vourlakos
71e7bb6ec7 fix initialization/switching indicators settings
--fix case that indicators config uis were lost totally
during recreating a view that was using a custom indicator
and that custom indicator was updated.
--fix case that custom indicators were not assigned any
more to their original views when the dock settings
window was created first time for them.
2021-01-24 01:11:56 +02:00
Michail Vourlakos
cfb382002b update containmentActions properly when recreating 2021-01-23 23:37:13 +02:00
Michail Vourlakos
52490c6d7c fix crash when updating indicators 2021-01-23 21:16:13 +02:00
Michail Vourlakos
3e055914c0 provide a dragging corner in dock settings window 2021-01-23 19:29:38 +02:00
Michail Vourlakos
c777fca05a improve vastly user interaction with indicators uis 2021-01-23 15:04:05 +02:00
Michail Vourlakos
15c0220334 update dock settings window to use stackview 2021-01-23 00:36:11 +02:00
Michail Vourlakos
546b945fff fix how tasks model in update for destroyed 2021-01-22 22:54:38 +02:00
Michail Vourlakos
39ad54f9bb provide visual indicator for multiple tasks
--when the user changes Tasks tab settings between
different applets, the selected applet is providing an
animation
2021-01-22 21:58:37 +02:00
Michail Vourlakos
f37fde5824 simplify dragging architecture
--simpler implementation both for plasmoid
mousehandler and containment droparea
2021-01-22 19:09:12 +02:00
Michail Vourlakos
397e1324e9 update name to view.inRelocationAnimation 2021-01-19 21:14:09 +02:00
Michail Vourlakos
7a4010abc1 instantiate properly widget explorer 2021-01-16 21:43:36 +02:00
Michail Vourlakos
b6f4550c08 raise view window to set it in front layer 2021-01-16 20:57:07 +02:00
Michail Vourlakos
0edbd9a66a widgets explorer: initialize windows flags earlier
--this way we avoid in wayland to draw window decoration
2021-01-16 19:49:32 +02:00
Michail Vourlakos
754fb85133 avoid crash in wayland from Widgets Explorer 2021-01-16 19:41:57 +02:00
Michail Vourlakos
84d4d4cef7 provide latte internal widget explorer 2021-01-16 19:12:42 +02:00
Michail Vourlakos
81e4b19b59 improve SunkEvents implementation
--each origin mouse area is now informin
the SunkEvents handler for the relevant
origin areas at the same time and this way
there is no events breakage when changing
from one sunked event origin area to another
--the sunked events origin and destination areas
are now released only when the event is NOT inside
any origin area or any destination. This way
no events breakage is appearing when changing from
destination area to origin area and vice versa.
2021-01-15 22:29:00 +02:00
Michail Vourlakos
69df6400f2 rename launchersignals to syncedLaunchers
--that is more appropriate name for synced
launchers latte launchers handler
2021-01-14 20:21:12 +02:00
Michail Vourlakos
1ca43ee13f use Launchers Ability for syncing
--move internal synced launchers infrastructure
in order to use Launchers Ability. Things
this way will become much cleaner and
at the same reusable and maintainable
2021-01-13 22:53:55 +02:00
Michail Vourlakos
15c3b3630a wayland:fix struts crash
--when struts thickness during startup was zero
that was creating an invalid window geometry under
wayland and subsequently it was crashing the app.

BUG:431381
2021-01-10 13:14:07 +02:00
Michail Vourlakos
09294b8599 sync configuration to files after save configs 2021-01-10 12:43:19 +02:00
Michail Vourlakos
e404abde4e fix editThickness for latte panels 2021-01-08 00:45:33 +02:00
Michail Vourlakos
9d3ebca4af provide stable struts thickness
--when a floating view is hiding its screen gap
there is no reason for struts to be added
during that phase. Published struts could be
the final expected window position in that case.

BUG:431255
2021-01-07 15:02:16 +02:00
Michail Vourlakos
f8cce7acfa fix normalThickness value 2021-01-06 22:59:05 +02:00
Michail Vourlakos
919b0cbf8c rename view property 2021-01-06 22:02:54 +02:00
Michail Vourlakos
1181fc472c dont update GTK_FRAME_EXTENTS for floating state
--dont update when a floating Dock is hiding its screen
edge for a maximized window.
2021-01-06 21:29:34 +02:00
Michail Vourlakos
b9b41317ca reduce interval for Parabolic Nullifier 2021-01-05 21:39:48 +02:00
Michail Vourlakos
da1df5bc0c parabolic:improve clearZoom responsiveness
--fix also a case the even though mouse was out of the
view the zoomed items where not restoring
2021-01-01 16:16:26 +02:00
Michail Vourlakos
6a6e47c657 plenty of fixes for moving/dragging applets 2020-12-31 16:58:53 +02:00
Michail Vourlakos
2fd5f51e8d fixes for justify alignment arrangement 2020-12-31 16:58:53 +02:00
Michail Vourlakos
2e7dcb5428 refactor rely on c++ to provide justify alignment
--c++ takes the burden to validate the Justify alignment
2020-12-31 16:58:53 +02:00
Michail Vourlakos
c2595ba170 fix missing header 2020-12-31 16:56:27 +02:00
Michail Vourlakos
c7fedca8b6 remove margins from SinkAreas 2020-12-30 09:30:29 +02:00
Michail Vourlakos
1b23e3669b field QQuickItem pointers for Parabolic/EventsSink
--avoid crashes when the relevant destination/origin
quickitems are deleted during their events processing
2020-12-29 21:54:31 +02:00
Michail Vourlakos
574135e084 Welcome the all new EventsSink infrastructure
--each applet has now its own Sunk events to handle,
and as such each applet can now have different paddings
and that does not create any issues or missing events
2020-12-29 21:18:21 +02:00
Michail Vourlakos
de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
2020-12-29 19:36:58 +02:00
Michail Vourlakos
bc50b437e9 introduce View::EventsSink 2020-12-29 19:32:25 +02:00
Michail Vourlakos
60aa17dada fix missing header 2020-12-29 07:40:19 +02:00
Michail Vourlakos
ba9233684e view:separate parabolic c++ code from view
--The parabolic effect c++ part of View now
leaves in its own class
2020-12-28 23:36:28 +02:00
Michail Vourlakos
b5ceb4d91a tasksparabolic:use view triggering values 2020-12-28 10:23:36 +02:00
Michail Vourlakos
259f04f7c9 view:forward ParabolicEnter from c++ 2020-12-28 10:11:11 +02:00
Michail Vourlakos
17865ee21a task parabolic more fixes for its implementation 2020-12-28 09:51:10 +02:00
Michail Vourlakos
dcde80e6ed view::use a timer to nulify currentParabolicItem 2020-12-28 00:40:18 +02:00
Michail Vourlakos
a1ec6de412 tasks:make parabolic effect fixes 2020-12-27 23:37:46 +02:00
Michail Vourlakos
345d2823f6 simplify parabolic criteria in view 2020-12-27 20:58:16 +02:00
Michail Vourlakos
ae9836ccba first iteration for new parabolic 2020-12-27 19:07:00 +02:00
Michail Vourlakos
3c17c2e839 settings:disable StaysOnTop hint 2020-12-27 14:18:03 +02:00
Michail Vourlakos
bc5ba50147 refactor:plenty of fixes for masks/input events
--use only input events in order to identify the area
from which a window accepts input and also remove almost
every mask-qml code handling
--by reducing mask usage to minimum we fix also the
BLACKLINE bug under X11
2020-12-27 13:52:32 +02:00
Michail Vourlakos
ba94315ecb REFACTOR:input events and mask area
-- The new approach reduces mask area calls to
barely minimum. Input mask is used instead to
specify the area for which we accept input.
-- The new approach solves also the BLACKLINE issue
when hovering the view at startup. This is because
at all times the full window area is drawn.
2020-12-27 11:04:04 +02:00
Michail Vourlakos
4bf562c17b remove unneeded line 2020-12-26 00:27:28 +02:00
Michail Vourlakos
0c153de58f sinkedevents:optimize calculations 2020-12-25 19:20:16 +02:00
Michail Vourlakos
167a19b748 sinked events:respect Fitts Law 2020-12-25 19:08:21 +02:00
Michail Vourlakos
259d183179 dont be so verbose for sinked events
--so debug messages only for pressed sinked event
2020-12-25 14:20:52 +02:00
Michail Vourlakos
74d9065f1f change applets margins/paddings approach 2020-12-25 13:17:12 +02:00
Michail Vourlakos
96fd421e9f sinked events:various fixes
--disable sinked events when parabolic effect is
enabled. It needs to be rethought how this could work
properly with parabolic effect.
2020-12-25 01:14:11 +02:00
Michail Vourlakos
746f32050d adjust mouse events relevant to view paddings 2020-12-24 19:27:11 +02:00
Michail Vourlakos
b06e164f53 expose view padding through qml 2020-12-24 18:25:23 +02:00
Michail Vourlakos
2deed2d10c visibilitymanager use effects to hide/show mask 2020-11-30 21:06:24 +02:00
l10n daemon script
ddcc2bbe6b 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-11-26 06:42:23 +01:00
l10n daemon script
d87bdb379a GIT_SILENT made messages (after extraction) 2020-11-26 02:38:35 +01:00
Vlad Zahorodnii
54a14bce0f wayland: Add the screencast protocol to X-KDE-Wayland-Interfaces
Recently support for window thumbnails on Wayland was added in
latte-dock, but it shouldn't work as is because the screencast protocol
is not listed in X-KDE-Wayland-Interfaces. Only "trusted" applications
can bind the screencast global.
2020-11-19 09:44:49 +02:00
Michail Vourlakos
939c0573f9 x11:accept signals from Desktop windows
--this way we make sure that if Desktop windows
were not filtered out in the past they will be
in the future
2020-10-28 10:27:35 +02:00
Michail Vourlakos
c7d11c443e fix hiding of panels with mask technique 2020-10-27 19:12:48 +02:00
Michail Vourlakos
043c65e36c remove irrelevant line 2020-10-27 18:36:03 +02:00
Michail Vourlakos
3a5acf9383 layouts:fix crash when switching memoryusage type 2020-10-25 17:00:17 +02:00
Michail Vourlakos
d610cd3419 wayland:dont show/hide views totally, use mask
--use mask to achieve this in order to not have to
handle wayland weirdness with surfaces and reattached
properties
2020-10-25 10:46:43 +02:00
Michail Vourlakos
302c6a9cc2 update pause layout in multiple layouts environment
--the new approach takes into account only the layout
appliedactivities and accepts also FreeActivities as
valid to be paused
2020-08-31 21:28:07 +03:00
Michail Vourlakos
ef415e51fb disable pause button for only one running activity 2020-08-31 21:14:26 +03:00
Michail Vourlakos
5af3036613 fixes for identifying Unity vertical view showing
--more specific identifying properly when a vertical
view is shown and is touching a top or bottom view
that has requested to be fully trasparent when no
maximized window exists
2020-08-31 19:27:42 +03:00
Michail Vourlakos
5e50147848 fixes for dock settings window
--do not alter maxlength and offset incorrectly
when cycling between different views with different
relevant settings
2020-08-31 18:37:49 +03:00
Michail Vourlakos
7c542e6246 update layouts activities when activity is removed 2020-08-31 10:43:37 +03:00
Michail Vourlakos
a02056b4c8 ignore activities that are not currently present 2020-08-31 01:37:13 +03:00
Michail Vourlakos
0563b2d21b add command line version option 2020-08-30 21:35:56 +03:00
Michail Vourlakos
e4714d748f dont load freeactivities layouts if no frees 2020-08-30 21:31:13 +03:00
Michail Vourlakos
8448f36ed9 check layout valid activities 2020-08-30 21:28:22 +03:00
Michail Vourlakos
567e3ab78f initmultiple:update activities for specific layout 2020-08-30 20:38:39 +03:00
Michail Vourlakos
a83d26a35b multiple:make switch funtion work properly
--when the user requests a specific layout in Multiple
Layout mode the new approach is the following. If
the layout has assigned activities this is respected
but if its activities are empty that layout is assigned
only on the current activity and any other layouts assigned
explicitly to that activity are released
2020-08-30 20:32:13 +03:00
Michail Vourlakos
5101a1314e fix switch button for single layout mode 2020-08-30 17:14:20 +03:00
Michail Vourlakos
9428027aff provide universalsettings upgrade path for v0.10 2020-08-30 14:57:31 +03:00
Michail Vourlakos
eb627dd070 multiple mode:animate properly layouts unloading 2020-08-30 14:34:56 +03:00
Michail Vourlakos
41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
2020-08-30 14:04:04 +03:00
Michail Vourlakos
95486a1296 syncing on settings startup is needed no more 2020-08-29 23:46:41 +03:00
Michail Vourlakos
d8f1f7e4b9 refactor:settings layouts controller
--the controller does not need to host its own
CentralLayouts any more. It retrieves original
data for Synchronizer, updates layouts accordingly
and sends back to Synchronizer all the updated
layouts data
2020-08-29 23:37:52 +03:00
Michail Vourlakos
d5e83280d2 refactor:simplify layout data access 2020-08-29 20:42:15 +03:00
Michail Vourlakos
dfbf83b4a1 activities menu:provide CurrentActivity option 2020-08-29 15:45:07 +03:00
Michail Vourlakos
13708ddf4a support singleModeLayoutName property in settings
--single mode has now its own unique property to hold
the layout to be used in single mode
2020-08-28 19:03:23 +03:00
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
Michail Vourlakos
7ef74d2096 sync settings before exporting 2020-08-14 10:52:13 +03:00
Michail Vourlakos
043849c4e7 templates:track properly hidden multiple template 2020-08-14 10:34:34 +03:00
Michail Vourlakos
37d629125c drop deprecated presets/prestyles etc...
--we now use templates directory
2020-08-14 10:02:41 +03:00
Michail Vourlakos
5876548a7d drop deprecated importing layout presets 2020-08-14 09:57:39 +03:00
Michail Vourlakos
6dd3d96bfb update MultipleLayoutsHidden file importing 2020-08-14 09:41:23 +03:00
Michail Vourlakos
7c238589ba improve name style and layouts path references
--use Importer in order to reference layouts directory
in user space and improve also naming for relevant
Importer functions
2020-08-14 09:33:39 +03:00
Michail Vourlakos
5ed3f111e3 update Layout::MULTIPLELAYOUTSHIDDENNAME
which is used to identify multiple layouts hidden
base layout
2020-08-14 09:08:01 +03:00
Michail Vourlakos
ba178e534d add missing signals when adding new layout 2020-08-13 22:23:59 +03:00