Commit Graph

89 Commits (61621277d3a6fecd0611304897b626828f6542db)

Author SHA1 Message Date
Michail Vourlakos a52144cc3a remove SharedLayouts from Layouts ContextMenu
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.
Michail Vourlakos 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT
Michail Vourlakos be36b7cfaf unload SharedLayout when does not activeLayouts
--this code path is also used on Latte exit
Michail Vourlakos 01f7f17aa5 remove deprecated code from layoutmanager
Michail Vourlakos bd3950a601 dont assign shared layouts to activities
Michail Vourlakos fe995bb4f5 layoutmanager track storedsharedlayouts
Michail Vourlakos 913c35523f move views between Active/SharedLayouts
--the move to layout option under View Settings
window now can enable the user to move view
between Active and Shared Layouts
Michail Vourlakos e2ccad62d9 RENAME TopLayout to SharedLayout
--Shared is a better term to describe these
layouts that can be Shared and be OnTop of
other layouts in Multiple Mode
Michail Vourlakos 6620cf54bd plenty fixes updates for MultipleTopLayouts
Michail Vourlakos 9236f18c4e add TopLayout and use combined with ActiveLayout
Michail Vourlakos 7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
Michail Vourlakos 4c4b41d378 remove deprecated code
Michail Vourlakos 5db22022c1 refactor:cleanup globalshortcuts
--move out from globalshortcuts functions that were
related to latte views functions such as sorting,
highest priority etc. All these were moved to their
appropriate places in layout manager or layout classes
Michail Vourlakos 499ae015c1 fix publishing launchersSignals in qml
--fix headers in order to work correctly
Michail Vourlakos 50dc45c61f fix headers references for classes
Michail Vourlakos 7740649c85 show all views that contain shortcuts
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
Michail Vourlakos 5e09a41e99 refactor:remove no needed colorizer signals
--the new infrastructure to track background
brightness does not need communication between
universalsettings and view colorizer enabler
Michail Vourlakos 1ab99761a1 REFACTOR:Update Dock types to new Latte2::Types
Michail Vourlakos 185dd39e5c refactor:rename dock terms to view terms
Michail Vourlakos 25d9d4ed17 refactor:rename DockCorona to Latte::Corona
Michail Vourlakos f74b3a4da0 REFACTOR:drop DockView term,in favour of LatteView
Michail Vourlakos 39368a41de REFACTOR:rename DockView to Latte::View
--move all classes related to Latte::View
from dock/ folder to view/ folder
Michail Vourlakos 2099b8ed36 add headers comments for all c++ files
Michail Vourlakos d8f748b512 REFACTOR:move setting* to relevant folder
Michail Vourlakos 885e438143 refactor:colorizerSupport moved to View::Effects
--renamed also from colorizerSupport to colorizerEnabled
Yuri Chornoivan 7323068f36 Fix minor EBN issues
Michail Vourlakos 6708510213 support a meta badge visual from global shortcuts
--when an application launcher exists, Latte can show
a "Meta" badge for that applet instead of the global
shortcut action number. With this patch we take also
into account when the assigned application launcher is
in different dock/panel and show it accordingly

BUG: 396753
Michail Vourlakos 6efeaa7d51 update code to new astyle conditions
Michail Vourlakos 616b8139ff use recreateDock directly
--recreateDock is used when the visibility mode
changes and as such the window must be recreated
in order to work correctly. Any remaining code
found for such function in corona and layoutManager
is removed.
Michail Vourlakos eb3feb4a4e fix #934,change quit button to close button
--exhausted to discuss this so often so in the
end it may be my perspective wrong. Quit button
in dock settings window changed to Close button
and the Quit option moved to menu bar of the
general Latte settings window with shortcut
Ctrl+Q
Michail Vourlakos b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
Michail Vourlakos 43cc5da6fa complete containmentactions support
--this way the Layouts menu in now accesible
even from plasma taskmanagers. The codebase is also
the same for every component that is showing its
menus.
Michail Vourlakos 82e77f7b23 more improvements to containmentactions
Michail Vourlakos 474c7a3970 slide-out docks on closing
Michail Vourlakos afe9a2e09d rename latteconfigdialog to settingsdialog
Michail Vourlakos e4153271ef fix dependencies and references
Michail Vourlakos acb77c6cd4 update header files and move files around
Michail Vourlakos 2327965c24 support pausing activities from main config window
Michail Vourlakos 4212d57ca7 enable global shortcuts for universal settings
Michail Vourlakos 1ab273753e add menu/about in Latte Settings window
Michail Vourlakos 8fb12bdbcf improvements to new Latte config window
Michail Vourlakos 5c98015e8e fix #808,Multiple Layouts in Layouts Editor
-- the user is able to change from Multiple Layouts
to Single Layout runtime through Layouts Editor
Michail Vourlakos e4cd47ca3e MultipleLayouts:update Layouts menu
Michail Vourlakos 60cc89d595 MultipleLayouts:restore isSwitching signal
--this creates a nice animation when switching
layouts for orphaned Activities at a Multiple
Layouts state
Michail Vourlakos 1e97609067 MultipleLayouts:support Export
Michail Vourlakos fa379144e9 fix Switch behavior for Multiple Layouts
Michail Vourlakos 94914ee578 warning message for broken MultipleLayouts startup
--if the app crashed and the user trys to reopen Latte
then the Containments must first return to their Original
Layouts. This code provides that and informs also the user
during the startup.
Michail Vourlakos 333afc75bc improve currentLayoutName for Multiple Layouts
--improve layout manager header appearance