Commit Graph

210 Commits (4832042b0f2955408727d7882f1dd41ff1dbb745)

Author SHA1 Message Date
Michail Vourlakos 4832042b0f add message for dropping layout files
Michail Vourlakos 2e79a5df30 mv layouts headerview to settings/views folder
Michail Vourlakos df635fb88b improve Layouts sorting behavior
Michail Vourlakos 38f7df72fb get userfeedback for saving and switching tabs
Michail Vourlakos f51126eae2 prevent switch tabs when there are unsaved changes
Michail Vourlakos 1690ace196 store layoutsView user sorting preferences
Michail Vourlakos a21874b29b move LayoutsTab storage to view LayoutsContrailer
Michail Vourlakos b63c7bfbc7 enabled antialiasing for Layouts::HeaderView
Michail Vourlakos 7613396708 remove deprecated code from layoutscontroller
Michail Vourlakos 27aebc9304 insert Settings::Layout menu at correct position
Michail Vourlakos 5285aee716 TabLayouts dataChanged when removing layouts
Michail Vourlakos d87663413e move properties at Settings window code
--no reason for Settings Window properties to
be present at UniversalSettings. They are moved
to their SettingsDialog best match classes.
Michail Vourlakos 5d52083968 rename for consistency
Michail Vourlakos 0d79c2ed15 update code to TabLayoutsHandler
--all ui code from settings dialog for Layouts Tab
in now moved to its handler.
Michail Vourlakos f7b8bd6619 introduce the TabLayoutsHandler
Michail Vourlakos 0cae6f0ec3 define interface for Settings::Handler(s)
Michail Vourlakos 4f92222863 user Layouts::Manager for currentLayoutName
Michail Vourlakos 92c0a68a19 update active states differently for singlelayout
Michail Vourlakos 93d7422059 dont use too often, costly kwinrc tracking
Michail Vourlakos 850b058ecd fix layouts data broadcasting when applying
Michail Vourlakos ad8723ce4f fix, save temporary layouts when user applied
Michail Vourlakos f954999b12 drag n' drop layout files in layouts editor
Michail Vourlakos 252ebcaa19 refactor preferences settings handling
--we introduce handlers that are going to be
responsible for the ui parts of settings windows.
So having data structures, MVC for models/tables that
are used and Handlers for any ui interaction
simplify the implementation and make it more
structured in order to be maintained and grow
safely.
Michail Vourlakos fe7f35b9bf remove boldness from preferences settings
Michail Vourlakos 2256a8b855 update last-1 column width properly
Michail Vourlakos 1113f942b1 provide feedback to the user in layouts view
--provide feedback to the user for which layout
options have been altered. This is achievable
by providing italicness to these options.
Michail Vourlakos 9faa3cac86 meaning sortings for layouts model
Michail Vourlakos c62ff66ffd validate layouts data to follow userrole
--all layouts table cell user Qt::UserRole as
the first role to user for their data and any
subdata should use an explicitly-set
LAYOUTUSERROLE
Michail Vourlakos f6aeea9980 move original data into layouts model
--this way the model items can become aware
of all data changes and become visual
responsive accordingly. All changed data
should use the italic paradigm... If a
value is changed from its original value
can become italic in order for the user
to know which values have changed.
Michail Vourlakos 466129c1d0 update shared layouts activities icons
Michail Vourlakos 7dacde2d3a update Preferences settings to follow KDE HIG
Michail Vourlakos 43d91c9b63 drop QRect::setX/Y from all classes
--they can change the QRect width and height
and this is not the desired behavior.
moveLeft/Top are much better replacements.
Michail Vourlakos 3246ce2447 update free activities flag from external changes
--when the user has altered the free_activities from
its context menu then settings window it must better
update its record concerning the layout that will
be responsible for free activities
Michail Vourlakos b960a8579e use all cell height for free activities icon
Michail Vourlakos 2bc4e63431 fix a case to autoupdate free_activities_id
--when free_activities layout becomes shared
then another layout should become responsible
for FREE_ACTIVITIES
Michail Vourlakos 97e5345f40 update shareto line settings indicator
--improve its appearance in general and its
behavior also
Michail Vourlakos 20602acbfb provide nice icons for layouts from activities
Michail Vourlakos c59dc52e1e move activities logic out of activity delegate
--all activities information/data for activities
and layouts are now handled properly from the
layoutsmodel in settings
Michail Vourlakos 11798211a9 multiple fixes for imports/exports
--import/export full configurations are now
moved to File menu and move out their
implementation from Import/Export layouts
Yuri Chornoivan e61445d5cc Fix minor typos: <i/> -> <i>
Michail Vourlakos 652cbb0041 add layout actions to Layout menu
--improve vastly how actions in the layout menu
and Layout push buttons use the same code and
shortcuts in order to work correctly
Michail Vourlakos e9ec4ea266 add shortcuts for layouts editor
Michail Vourlakos 7a11aa93c0 improve settings window Esc key handling
Michail Vourlakos b6b34b06de validate layout name icons colors
Michail Vourlakos 5323e7832c internal messages intervals
Michail Vourlakos 07df968fde update layouts states after reseting layouts data
Michail Vourlakos 6e09bb5601 drop KNotifications from settings window
--introduce a new dependency for KIO, it works
really nice in order to open files in filemanager
and selecting them
Michail Vourlakos 01bab50d67 add more inline message for adding layouts
Michail Vourlakos 3e3b455a53 introduce kmessagewidget in settings window
--use the nicely look kmessagewidget in order to
show inline internal messages to the user
Michail Vourlakos 300f4a364f add alignment for backgroundcolumn