Commit Graph

2100 Commits (6dd3d96bfb09fa455a686c7d4d7c7ebf82c75b65)

Author SHA1 Message Date
Michail Vourlakos 6dd3d96bfb update MultipleLayoutsHidden file importing
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 5ed3f111e3 update Layout::MULTIPLELAYOUTSHIDDENNAME
which is used to identify multiple layouts hidden
base layout
Michail Vourlakos ba178e534d add missing signals when adding new layout
Michail Vourlakos 50c419d4e4 upgrade importDefaultLayout codepaths
--use Templates::Manger in order to import
default layout on startup
Michail Vourlakos 15dc6f5eac move newLayout from layoutsmanager to templates
Michail Vourlakos 0393e0ff35 settings:improve init of layout templates submenu
Michail Vourlakos 77515be7c6 settings:expose LayoutTemplates to New button
Michail Vourlakos cd89f959e3 update layout system template identifying
Michail Vourlakos 19c96df252 update Layout::Manager::newLayout() function
--drop its presets support and update to all new
Layout Templates manager
Michail Vourlakos edf06edeba drop Layouts::Manager::presetsPaths
Michail Vourlakos 1b4d13959b use new TemplateManager add default templatelayout
Michail Vourlakos 6e2d8143e5 improve Default Layout Template name is accessed
Michail Vourlakos 2fdbc134a1 load system layout templates properly
Michail Vourlakos 545404ec82 introduce all new templates manager
--this class is going to be responsible for all
templates tasks
Martijn Vogelaar b207950cc7 Drag drop layout text
Michail Vourlakos 3ea099a54b update namespace for uniqueidinfo
Michail Vourlakos 4777e33a59 update namespace for PreferencesData
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 5d7ea7c9c7 fix crash at primary config when switching layouts
--fix crash at primary config when switching layouts
--load on demand view type options at vertical latte
views as memory improvement
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 dec2860d5f synchronizer:improve freeactivities layout semantic
Michail Vourlakos b799950ddb corona:remove editing windows earlier
--it minimizes warnings during exit
Michail Vourlakos fed3194ca9 multiple:unload central layouts after the additions
--this way a shared layout that unloads its only central
layout is not unloaded at all if a new central layout exists
with it
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 0bcc45e633 use KWin slideouts when switching layouts
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
Michail Vourlakos b808fa2559 reduce minimum hide timer interval to zero
Michail Vourlakos 7e4791fdbc fixes for hiding/showing signaling
Michail Vourlakos 8c1d0d34e5 rename internal containments to subcontainments
--applets that act as internal containments are now called
subcontainments because they are containments inside
main containments
Michail Vourlakos 59878a3f28 details:update window title based on layout name
Michail Vourlakos a623858d78 details: give layouts their background badges
Michail Vourlakos 72fa5cdd9c rename background delegate of layouts editor
Michail Vourlakos 39fb0df8dc remove background cmbbox deprecated code
Michail Vourlakos c3e430e356 fix crash when unloading layouts
--when unloading layouts applets are deleted
and subsequently all the heuristics for identifying
expanded applets are removed. In such case
there were rare cases that applet()->id() was
trying to be accessed and that was subsequently
creating crashes because applet did not exist
anymore. AppletQuickItems probably are deleted
after applet has already been destroyed.
Michail Vourlakos c64354c048 update CustomIndicator button onParentView change
Michail Vourlakos 45d09b2cd4 editdock:support indicatorsuimanager
--the new approach is much more memory efficient
as the same indicator config ui is used for ALL
views and anything related to config uis is now
handled by the manager instead of each diffent
view on its own
Michail Vourlakos 5d1edfe68d fix layouts model original data discoveries
--original data indexes may not be consistent with
current layouts data. If a layout is removed from
current layouts then many original layouts data indexes
are totally different. This commit fixes this.
Michail Vourlakos c1fc7b77f0 settings:clear new fields during duplicating layout
Michail Vourlakos 582de7afe3 each view now keeps one indicator configui
--curent view indicator config ui is not deleted
when the PrimaryConfigView changes its parent view.
For each view there is one indicator config ui
that is kept available to be shown when appropriate.
This way we avoid unnecessary recreations of indicator
config uis when the user cycles between different views
settings.
Michail Vourlakos 1c0f5acde8 call KIconDialog with default getIcon()
Michail Vourlakos 676e648ca3 layouts editor:fix shared layout icon badges
--when the shared layout has user assigned icon
then that icon is always preferred
--choose which icons are drawn for shared layout
based completely on what icons are already chosen
for the assigned shares (central layouts)
Michail Vourlakos 28bcc973c0 details:add layout icon property
--expose icon properly at details window