Commit Graph

326 Commits (a24f6b85c2e2fb0d6b3c37a5f5ca2a64ed0d0481)

Author SHA1 Message Date
Michail Vourlakos 09294b8599 sync configuration to files after save configs
Michail Vourlakos 3c17c2e839 settings:disable StaysOnTop hint
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
Michail Vourlakos ef415e51fb disable pause button for only one running activity
Michail Vourlakos a02056b4c8 ignore activities that are not currently present
Michail Vourlakos 8448f36ed9 check layout valid activities
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
Michail Vourlakos 5101a1314e fix switch button for single layout mode
Michail Vourlakos 9428027aff provide universalsettings upgrade path for v0.10
Michail Vourlakos 41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
Michail Vourlakos 95486a1296 syncing on settings startup is needed no more
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
Michail Vourlakos d5e83280d2 refactor:simplify layout data access
Michail Vourlakos dfbf83b4a1 activities menu:provide CurrentActivity option
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
Michail Vourlakos bc87d53e83 updates for layouts model single mode
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer
Michail Vourlakos a9774ff13f update Switch button in Layouts table
Michail Vourlakos f31c698330 expose sortByColumn for layouts mode
Michail Vourlakos 4d7e1dca83 update layouts table to support new approach
Michail Vourlakos 0ee31eead6 update kwin disabled borders infrastructure
Michail Vourlakos c7d163fdb6 plenty of fixes for multiple layouts
Michail Vourlakos 588349e91c update text for Layout Read-Only
Michail Vourlakos 2e120f9446 make Multiple mode work correctly
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
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
Michail Vourlakos fd47976c1a provide margins for drop down menu buttons
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
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
Michail Vourlakos d97be6744d layouts::storage, move isBroken() function
Michail Vourlakos d3a0b3cf31 details:confirm layout change,save data when needed
Michail Vourlakos 7695443a90 details:update buttons state on dataChanged
Michail Vourlakos fb843776a0 set document-new icon for New Templates menu items
Michail Vourlakos 7ef74d2096 sync settings before exporting
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
Michail Vourlakos 0393e0ff35 settings:improve init of layout templates submenu
Michail Vourlakos 77515be7c6 settings:expose LayoutTemplates to New button
Michail Vourlakos 1b4d13959b use new TemplateManager add default templatelayout
Martijn Vogelaar b207950cc7 Drag drop layout text
Michail Vourlakos 910f480a3d rename data to layoutcolordata
Michail Vourlakos 47ef73041b update data::layout... namespaces
Michail Vourlakos b39c35b487 update namespace/name for Data::LayoutColor
Michail Vourlakos 805e37a368 update Layout::Data::ActivityData namespace
Michail Vourlakos 375579a517 move data classes from settings to app directory
--makes more sense data records to be accessible both
from settings and layouts management classes
Michail Vourlakos da61a432cd add template options to layoutdata
Michail Vourlakos aee04ef180 set maximum values for mouse sensitivity buttons
Michail Vourlakos 9092e54fc0 enable Multiple Layouts mode in wayland
--enable multiple layouts mode partially and
try to provide at least one central layout
combined with a shared layout
Michail Vourlakos e323f31645 use universal inAdvancedMode for edit settings
--for all view edit windows are now using the same
flag in order to identify basic and advanced level
for editing their settings
Michail Vourlakos 105b14de38 layouteditor:improve activity/shares edit behavior
--situation has improved vastly for users for activities
and shares when trying to change their values. The menus
that appear now contain Ok/Cancel buttons in order to
accept or ignore the changes. If the user just hides
the menu without clicking Ok button then the changes
are ignored.
Michail Vourlakos 3f1e788885 details:fix checkboxes options
--use one single checkbox for its option and
align an much as possible previous radiobuttons