Michail Vourlakos
688a45289a
make SHARETOINEDITROLE proxy model capable
5 years ago
Michail Vourlakos
b4847e1a79
choose which layouts must be saved in settings
...
--through the Layouts model we know which layouts
have been saved and which of them do not need to
be touched because they do not have any changes
5 years ago
Michail Vourlakos
e4670dace2
new implementation to update layout ids in settings
5 years ago
Michail Vourlakos
6bc4409b0b
move settings dialogs in their own directory
5 years ago
Michail Vourlakos
1e9785dc0b
introduce details button in settings window
5 years ago
Michail Vourlakos
41f945d4e1
move layout icons handling in the model
...
--this way it will be easier the layout icons
list to be used by other widgets also
5 years ago
Michail Vourlakos
6ab4c61d5a
protect layout toggle sharing
...
--do not assign a share will it is already used
from other layout
5 years ago
Michail Vourlakos
15fd0f1059
sort layouts model based on groups
5 years ago
Michail Vourlakos
72fdf4563b
improve AbstractLayout background infrastructure
...
--the new infrastructure can remember settings between
CustomBackgroundStyle and ColorStyle in order to
help the user to not have to reassign values
when changing backgrounds, between predefined
colors style and custom one.
5 years ago
Michail Vourlakos
5bdb8a683d
update sorting in layouts model
...
--the new priorities take into account
the layout name to be ordered as a last
criteria
5 years ago
Michail Vourlakos
4832042b0f
add message for dropping layout files
5 years ago
Michail Vourlakos
2e79a5df30
mv layouts headerview to settings/views folder
5 years ago
Michail Vourlakos
df635fb88b
improve Layouts sorting behavior
5 years ago
Michail Vourlakos
38f7df72fb
get userfeedback for saving and switching tabs
5 years ago
Michail Vourlakos
f51126eae2
prevent switch tabs when there are unsaved changes
5 years ago
Michail Vourlakos
1690ace196
store layoutsView user sorting preferences
5 years ago
Michail Vourlakos
a21874b29b
move LayoutsTab storage to view LayoutsContrailer
5 years ago
Michail Vourlakos
b63c7bfbc7
enabled antialiasing for Layouts::HeaderView
5 years ago
Michail Vourlakos
7613396708
remove deprecated code from layoutscontroller
5 years ago
Michail Vourlakos
27aebc9304
insert Settings::Layout menu at correct position
5 years ago
Michail Vourlakos
5285aee716
TabLayouts dataChanged when removing layouts
5 years ago
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.
5 years ago
Michail Vourlakos
5d52083968
rename for consistency
5 years ago
Michail Vourlakos
0d79c2ed15
update code to TabLayoutsHandler
...
--all ui code from settings dialog for Layouts Tab
in now moved to its handler.
5 years ago
Michail Vourlakos
f7b8bd6619
introduce the TabLayoutsHandler
5 years ago
Michail Vourlakos
0cae6f0ec3
define interface for Settings::Handler(s)
5 years ago
Michail Vourlakos
4f92222863
user Layouts::Manager for currentLayoutName
5 years ago
Michail Vourlakos
92c0a68a19
update active states differently for singlelayout
5 years ago
Michail Vourlakos
93d7422059
dont use too often, costly kwinrc tracking
5 years ago
Michail Vourlakos
850b058ecd
fix layouts data broadcasting when applying
5 years ago
Michail Vourlakos
ad8723ce4f
fix, save temporary layouts when user applied
5 years ago
Michail Vourlakos
f954999b12
drag n' drop layout files in layouts editor
5 years ago
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.
5 years ago
Michail Vourlakos
fe7f35b9bf
remove boldness from preferences settings
5 years ago
Michail Vourlakos
2256a8b855
update last-1 column width properly
5 years ago
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.
5 years ago
Michail Vourlakos
9faa3cac86
meaning sortings for layouts model
5 years ago
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
5 years ago
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.
5 years ago
Michail Vourlakos
466129c1d0
update shared layouts activities icons
5 years ago
Michail Vourlakos
7dacde2d3a
update Preferences settings to follow KDE HIG
5 years ago
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.
5 years ago
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
5 years ago
Michail Vourlakos
b960a8579e
use all cell height for free activities icon
5 years ago
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
5 years ago
Michail Vourlakos
97e5345f40
update shareto line settings indicator
...
--improve its appearance in general and its
behavior also
5 years ago
Michail Vourlakos
20602acbfb
provide nice icons for layouts from activities
5 years ago
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
5 years ago
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
5 years ago
Yuri Chornoivan
e61445d5cc
Fix minor typos: <i/> -> <i>
5 years ago
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
5 years ago
Michail Vourlakos
e9ec4ea266
add shortcuts for layouts editor
5 years ago
Michail Vourlakos
7a11aa93c0
improve settings window Esc key handling
5 years ago
Michail Vourlakos
b6b34b06de
validate layout name icons colors
5 years ago
Michail Vourlakos
5323e7832c
internal messages intervals
5 years ago
Michail Vourlakos
07df968fde
update layouts states after reseting layouts data
5 years ago
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
5 years ago
Michail Vourlakos
01bab50d67
add more inline message for adding layouts
5 years ago
Michail Vourlakos
3e3b455a53
introduce kmessagewidget in settings window
...
--use the nicely look kmessagewidget in order to
show inline internal messages to the user
5 years ago
Michail Vourlakos
300f4a364f
add alignment for backgroundcolumn
5 years ago
Michail Vourlakos
ba94546cb4
multiple fixes for single layout case
5 years ago
Michail Vourlakos
748ca87bb8
simplify code for switch button-single layout
5 years ago
Michail Vourlakos
0724124f63
set settings on all activities
...
--simplify pause button and switch button
codes
5 years ago
Michail Vourlakos
68f2ab9c47
improve switch button enablement
5 years ago
Michail Vourlakos
8c97dcecc5
update shared visual properly
5 years ago
Michail Vourlakos
2ad1a040b4
introduce custom headerview for layouts
5 years ago
Michail Vourlakos
92f37eef8c
improve alignments for layouts delegates
5 years ago
Michail Vourlakos
9a3918763b
settings,improve layouts header visual
5 years ago
Michail Vourlakos
79936a662d
improve background circle visual
5 years ago
Michail Vourlakos
4deaa3bc0b
make Shared button proxy model aware
5 years ago
Michail Vourlakos
a7ecd549b0
drop dataAreAccepted in settings window
...
--this is not needed any more, data should
always be valid
5 years ago
Michail Vourlakos
94e5a04de2
make copy layout function proxy aware
5 years ago
Michail Vourlakos
37cac2ca81
reject duplicate layout names in settings
5 years ago
Michail Vourlakos
880ed9638e
introduce proxy model for layouts in settings
5 years ago
Michail Vourlakos
bddc04d371
inform controller for inserted rows
5 years ago
Michail Vourlakos
00f4e4cd22
fix crash from layouts reset functionality
5 years ago
Michail Vourlakos
00e6fbba5b
update synchronizer semantics to freeactivities
5 years ago
Michail Vourlakos
0d39ee6f55
settings:always a layout is set for freeactivities
5 years ago
Michail Vourlakos
93a8ae3ff2
improvements for Layouts Editor
5 years ago
Michail Vourlakos
3b85867c56
introduce setLayoutForFreeActivities
5 years ago
Michail Vourlakos
abc4ca4308
layouts settings tab improvements
5 years ago
Michail Vourlakos
8be38bf7dc
apply current names after layouts saving
5 years ago
Michail Vourlakos
671f413a3e
introduce Reset button
5 years ago
Michail Vourlakos
7acde8be5d
update SharedTo column visibility properly
5 years ago
Michail Vourlakos
c0d8116e7b
visual improvements for settings delegates
5 years ago
Michail Vourlakos
7dbfb1184b
settings window improvements
5 years ago
Michail Vourlakos
3122103f6c
save column widths properly in settings window
5 years ago
Michail Vourlakos
1e855f2472
dont crash when saving a new layout
5 years ago
Michail Vourlakos
d418abbeb4
remove deprecated code from settings dialog
5 years ago
Michail Vourlakos
45e3531ad3
move logic out of settings dialog
...
--layouts controller in settings window
should take ownership for all logic
related to layouts model/view
5 years ago
Michail Vourlakos
01bb785999
rename editedName to currentName for layout data
...
--improve semantics for layout data in settings
window
5 years ago
Michail Vourlakos
4437472fa9
simplify shares map create/sync in settings window
5 years ago
Michail Vourlakos
4de91c535c
remove deprecated code
5 years ago
Michail Vourlakos
e29b5a3e38
update layout removing in settings window
5 years ago
Michail Vourlakos
60d24144b5
update layouts settings data classes
5 years ago
Michail Vourlakos
264b2b7568
remove deprecated settings window functions
5 years ago
Michail Vourlakos
828bacce33
update share_id automatic when layout_id changed
5 years ago
Michail Vourlakos
c6e8f6f032
introduce layouts controller for MVC approach
...
--the new controller will take all functionality
from Layouts model that is currently found in settings
window and that way the settings window will be
simplified and is going to be responsible only for
the UI elements of the window and NOT the QTableView
internals
5 years ago
Michail Vourlakos
2db252b769
fix warnings
5 years ago
Michail Vourlakos
154000345d
fix some warnings for shareddelegate
5 years ago