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
Michail Vourlakos
aa4a6061cd
improve semantics for settings
5 years ago
Michail Vourlakos
9a104340bb
simplify code for background cmbbox
5 years ago
Michail Vourlakos
c39a50f253
rename colorscmb to backgroundcmb
...
--improve delegate name
5 years ago
Michail Vourlakos
5f3007ed93
simplify colors combobox in layouts editor
5 years ago
Michail Vourlakos
49e203de86
fixes for shared column delegate behavior
5 years ago
Michail Vourlakos
46e44606bc
update editor shared delegate to new model
5 years ago
Michail Vourlakos
44c1abcf73
update settings activities delegate
...
--drop totally deprecated activities delegate
code
5 years ago
Michail Vourlakos
d4ed1aa609
update settings Activites delegate
5 years ago
Michail Vourlakos
6e66907957
update settings Layout name delegate
5 years ago
Michail Vourlakos
e5baecfb9f
visual for layout name was edited
5 years ago
Michail Vourlakos
a9bc5aa19f
introduce original/edited Named in layout data
5 years ago
Michail Vourlakos
4428d4b083
support setData function for layouts model
...
--initial support for this
5 years ago
Michail Vourlakos
4874b254dd
fix sharedcolumn and introduce some editable items
5 years ago
Michail Vourlakos
bab5564d0a
remove deprecated settings window code
5 years ago
Michail Vourlakos
70c8841646
update layouts headers
5 years ago
Michail Vourlakos
b55447764a
update layouts checkdelegates for new model
5 years ago
Michail Vourlakos
401a56a8a4
support loading in the new model
5 years ago
Michail Vourlakos
5e75b889e0
introduce initial LayoutsModel
5 years ago
Michail Vourlakos
be4e088f5e
use QList for layoutsdata
...
--add isActive flag for Data::Layout
5 years ago
Michail Vourlakos
f81d535468
drop old originalLayoutNames list
5 years ago
Michail Vourlakos
09c599a2d7
update how layouts settings are stored in editor
5 years ago
Michail Vourlakos
7bb01f150a
support new layouts data for settings
5 years ago
Michail Vourlakos
1ee24adbbd
update "FreeActivities" during apply
5 years ago
Michail Vourlakos
fca4db5962
support font style for FreeActivities record
5 years ago
Michail Vourlakos
5f7bcf565d
remove old code for activities in settings window
...
--remove relevant deprecated code that is not needed
in the new implementation
5 years ago
Michail Vourlakos
43de9b509b
update activities combobox implementation
...
--the new implementation will provide all Activites
and everything else will be updated automatically
--also a default option is introduced which describes
which layout will be used for the free layouts and
the user will be able to alter this easily
5 years ago
Michail Vourlakos
38d7ec5c2e
prevent user from switching to shared layouts
5 years ago
Michail Vourlakos
5464018135
fix crashes and update share ids runtime in model
5 years ago
Michail Vourlakos
ab09e56d56
dont close settings dialog with Enter key
5 years ago
Michail Vourlakos
57d1bf1f43
add quit application to contextmenu actions
...
--easier way for some to quit Latte by just
right clicking on the docks/panels
BUG:417486
5 years ago
Michail Vourlakos
af712c6ac4
IMPORTANT:fix first run initialization
...
--dont mess the old migrating process during startup
with a new user that uses Latte for first time. This
is a very important step during startup otherwise the
entire Latte experiences instability.
BUG:417886
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos
fdf798b49f
add KDE official Help menu
...
--in that way Latte gains easily language
switching from user
--exposure of how/where to report bugs
5 years ago
Michail Vourlakos
0853d78101
remove QFontMetrics deprecated code
5 years ago
Tranter Madi
fe5dbf9f2b
Improve context menu
...
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)
Menu Items Order:
a. -separator-
b. Layouts->
c. Configure Application...
e. -separator-
f. Add Widgets...
g. Edit Dock...
h. -separator- [only for Tasks plasmoid]
i. Close... [only for Tasks plasmoid]
BUG: 415584
Test Plan:
Before:
{F7844554}
After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}
Reviewers: #latte_dock, #vdg, mvourlakos
Reviewed By: #latte_dock, mvourlakos
Subscribers: ngraham, ndavis, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D26238
5 years ago
Michail Vourlakos
a69f3013d8
search for Latte desktop file in more generic way
...
--there are distros that do not return /usr/share/applications
as their first global path for desktop files. It is better to not
just search for the "applications" path but rather the desktop
file also to make sure that we use the first one found.
BUG:412612
FIXED-IN:0.9.4
5 years ago
Michail Vourlakos
1a49238d57
track kwinrc file only on changes
...
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed
BUG:411657
FIXED-IN:0.9.3
5 years ago
Björn Feber
c264a0a9e3
[latte-dock] Use new activities icon
...
Summary:
Use the new icon added in D22155.
{F6948355}
Test Plan: Open the Latte layout settings.
Reviewers: #plasma, #vdg, mvourlakos, ndavis
Reviewed By: #vdg, mvourlakos, ndavis
Subscribers: #vdg, plasma-devel, #plasma
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D22170
5 years ago
Yuri Chornoivan
1aaef7aa2b
Fix minor EBN issues
5 years ago
Yuri Chornoivan
f63ab9a872
Try to fix build with Clang (take 2)
6 years ago
Michail Vourlakos
10939d410c
Views Report Information for inactive layouts
6 years ago
Michail Vourlakos
3412b13148
present Views data for Active layout
6 years ago
Michail Vourlakos
7954a3ac39
improve Screens Report
...
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
6 years ago
Michail Vourlakos
dcfcc1b442
show screens information through Settings menu
6 years ago
Michail Vourlakos
27736db317
update menu icons
6 years ago
Michail Vourlakos
714b41ec2f
add new menu options and edit layout file action
6 years ago
Michail Vourlakos
30f3145f95
Introduce Flat and 3D style for Badges
...
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred
BUG: 409467
6 years ago
Michail Vourlakos
110416c143
improve sharedlayouts record when selected
6 years ago
Michail Vourlakos
396efadb5a
track screens count changes for View Settings
6 years ago
Michail Vourlakos
eef791100d
show to user warning for Colors KWin Script presence
6 years ago
Michail Vourlakos
88ba9f4b75
track KWin Colors Script presence in system
6 years ago
Michail Vourlakos
a8a19bb550
support VirtualDesktops for kwayland>=5.52
...
--This of course needs Plasma>=5.15
BUG: 398106
6 years ago
Michail Vourlakos
11f70edbac
fill SharedLayouts circles in LayoutsEditor
6 years ago
Michail Vourlakos
f89b110a36
drop Meta+E that is used from Dolphin
6 years ago
Michail Vourlakos
3a3823add3
Assign/Remove properly Shares from INACTIVE Centrals
6 years ago
Michail Vourlakos
568716e9d3
add SharedLayouts ending circle in LayoutsEditor
6 years ago
Michail Vourlakos
a661fbb032
refactor:drop LAYOUTSMANAGER apis moved to SYNCHER
6 years ago
Michail Vourlakos
bea8247b84
refactor:move syncActiveShares to Synchronizer
6 years ago
Michail Vourlakos
c4b226def5
REFACTOR:Add Synchronizer for Layouts::Manager
...
--Split the Layouts::Manager to Synchronizer and
Manager classes. The Synchronizer is responsible
to keep all Active layouts in sync with user
preferences
6 years ago
Michail Vourlakos
d08f1f9dbb
add bold presentation for Shares in menu
6 years ago
Michail Vourlakos
46bf0c1229
update activities/shares from cell QMenu(s)
6 years ago
Michail Vourlakos
8c3d658a0d
refactor:move Importer to "layouts" folder
6 years ago
Michail Vourlakos
a27ff3ec48
REFACTOR:Update LayoutManager to Layouts::Manager
...
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago
Michail Vourlakos
d307ac626b
update UI elements in LayoutsEditor when needed
...
--toggling between Single/Multiple mode now shows/hides
all the SharedLayouts ui elements accordingly
6 years ago
Michail Vourlakos
84e8da60f8
improve column widths loading for LayoutsEditor
6 years ago
Michail Vourlakos
08ef9c10b9
add the Shared button behavior
6 years ago
Michail Vourlakos
0c4bbd9529
unload Central(active)layouts to become Shared
6 years ago
Michail Vourlakos
c37f605257
SharedLayouts, active layouts at LayoutsEditor
6 years ago
Michail Vourlakos
e51dbeab42
update strings for Background at LayoutsEditor
6 years ago
Michail Vourlakos
3aeabcd885
fix for LayoutsEditor cells coloring
...
--when the LayoutsEditor is losing focus the
colors chosen should respect that change
and be drawn correctly
6 years ago
Michail Vourlakos
f5b36b0230
fix typos
6 years ago
Michail Vourlakos
b33f29bc42
Activate Shared Layout if it is not loaded yet
6 years ago
Michail Vourlakos
e7568c8478
NO/ASSIGN active Shares to active Centrals
6 years ago
Michail Vourlakos
971d207d86
update Shared button state
6 years ago
Michail Vourlakos
05161a1ab8
fix layout lock/unlock from settings
6 years ago
Michail Vourlakos
55671ae31c
improve layout names renames from LayoutsEditor
6 years ago
Michail Vourlakos
78d212ce8e
SharedLayouts saving their settings from Layouts
6 years ago
Michail Vourlakos
25a29111e7
update Actitivies Delegate to new ButtonMenu ui
6 years ago
Michail Vourlakos
715e8b58c1
sharedtocolumn use only #settingid for layouts
...
--this way we can keep track of layout names changes
and work flawlessly in updating Shares names etc.
6 years ago
Michail Vourlakos
93ede645b8
introduce new menu for SharedToLayout
6 years ago
Michail Vourlakos
1090e6a22d
add Shared button in LayoutsEditor
6 years ago
Michail Vourlakos
14d7079198
improve disabled cells layout for shareds
6 years ago
Michail Vourlakos
cff6436a74
add shared icon for layouts to be identified
6 years ago
Michail Vourlakos
4c0a3f5523
update shared layouts cell states
...
--enable/disable shared layouts cells
accordingly
6 years ago
Michail Vourlakos
61621277d3
set icons for layouts columns
6 years ago
Michail Vourlakos
d813a15b57
publish Shared to relevant ComboBox
6 years ago
Michail Vourlakos
c27de681d1
LayoutsEditor:load shares for SharedLayouts
6 years ago
Michail Vourlakos
1b21e26dfa
introduce sharedcmbboxdelegate at settings ui
6 years ago
Michail Vourlakos
f2eb0b6b3a
REFACTOR:DONT load MultipleLayouts in Central(s)
...
--no reason to load Mutiple layouts linked file
as a Pseudo Central layout. This way no needed
checks can be removed and things are still working
as before.
6 years ago
Michail Vourlakos
1f14405e63
REFACTOR: rename Active TO -> CENTRALLAYOUT
6 years ago
Michail Vourlakos
4048edc7f9
Option to set Settings size at per screen level
...
--the Latte Settings window tries its best in order
to provide a nice experience concerning its width/height
ratio and a width size that is best for its contents.
There are cases that this fails so the user in the
best to set it right. Latte now provides two shortcuts
Meta+Scroll, that changes the width scale ratio and
Ctrl+Scroll, that changes the height scale ratio when
settings are in Basic mode.
The previous shortcuts must be applied when the mouse
is over the empty areas in the Settings View window.
6 years ago
Michail Vourlakos
b7cb41e322
ui improvements for Layouts editor
...
--lock icon takes into account the selected state
in order to draw itself
--focus dotted lines for tableview cells were disabled
until something less noisy is introduced
6 years ago
Michail Vourlakos
fb4508c6a7
simplify CMakeLists
6 years ago
Michail Vourlakos
7d0905e379
refactor: rename Layout to ActiveLayout
...
--first steps to abstract the Layout code in
different classes
6 years ago
Michail Vourlakos
c735792c30
REFACTOR:replace all "foreach" statements
6 years ago