Commit Graph

59 Commits (d426ecb50faac93d964816be3f541cbcf34ee396)

Author SHA1 Message Date
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
Michail Vourlakos a5c7148168 improve icon references in Latte Layouts UI 6 years ago
Michail Vourlakos ff53a23cac drop manual roundness setting from code
--as the new automatic mechanism works nice
the old manual setting of plasma theme roundness
is not needed
6 years ago
Michail Vourlakos 14c3508aa1 dont disable Ok button at Latte Preferences window 6 years ago
Michail Vourlakos aaee132951 add outline width option in Preferences 6 years ago
Michail Vourlakos d5ef4c8acf discover standard paths independent of distro 6 years ago
Michail Vourlakos 20b76a182c add/enable option for MetaPressAndHold action
--user can now enable/disable the Meta pressAndHold
behavior that shows shortcuts badges. The new option
is located at Latte preferences.

BUG: 403840
6 years ago
Michail Vourlakos 7a95408c06 update Actions for Meta key in Preferences 6 years ago
Michail Vourlakos dfd115f380 Move Meta key option to new Actions section 6 years ago
Michail Vourlakos e780184d0c update option for Plasma Background Roundness
--that option now supports also Automatic in order
for Latte background parts to use the Latte heuristics
in order to identify the proper roundness
6 years ago
Michail Vourlakos b15bd24218 refactor:move shortcutsEngine to its own class
--in that way all environment related shortcuts
management (e.g. plasma related shortcuts) is moved
in its own class
6 years ago
Michail Vourlakos 7740649c85 show all views that contain shortcuts 6 years ago
Michail Vourlakos f31df4ee71 show plasma shortcuts for applets
--when shortcuts badges are shown then the
plasma assigned shortcuts are preferred to
be presented to the user
6 years ago
Michail Vourlakos a2569664b3 Latte is now informed for applets shortcuts
--meaning that Latte now has provide information
for applets when these applets have shortcuts been set
by plasma infrastructure.
6 years ago
Michail Vourlakos 46dd59b65a cleanup applet shortcuts on startup
--when Latte crashes the global shortcuts from applets
remain untouched in kglobalshortcutsrc file. That fact
based on the Latte architecture that can alter applet
ids during layout loading can break the global shortcuts
experience by creating multiple global shortcuts records
for the same applet and by disabling some shortcuts because
these shortcuts are already enabled for ghost applets of
the crashed layout. This patch fixes this by removing all
applet global shortcuts during startup. Applet global shortcuts
are already saved in the layout file based on the current
plasma architecture, that fact simplifies things a lot.

BUG: 401184
6 years ago
Michail Vourlakos 5416b1c0ef REFACTOR:move layout to its own folder 6 years ago
Michail Vourlakos 8c21ca9072 create local autostart folder if is missing
BUG: 402934
6 years ago
Yuri Chornoivan 8d7110f761 Fix minor typos
Summary: Fix minor typos in messages and comments

Test Plan: No major changes to prevent compilation and usage

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17894
6 years ago