1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-24 17:33:50 +03:00
Commit Graph

52 Commits

Author SHA1 Message Date
Michail Vourlakos
fe5d2d7a63 context menu:provide Add view through templates 2021-03-01 19:04:21 +02:00
Michail Vourlakos
631f4a9d6e provide moveView through context menu
--the user can now user the ContextMenu in order
to move a view between different active layouts
2021-03-01 17:15:12 +02:00
Michail Vourlakos
7f64126d5f improve and simplify context menu data 2021-03-01 16:18:43 +02:00
Michail Vourlakos
5fa77e05eb contextmenu:add export as template 2021-02-28 17:40:53 +02:00
Michail Vourlakos
965644ce2c add duplicate view in context menu 2021-02-28 17:27:04 +02:00
Michail Vourlakos
a44c5fa821 provide remove dock action in context menu 2021-02-28 11:56:09 +02:00
Michail Vourlakos
09654e75b3 expose view templates through dock settings
--the user can now add views based on view templates
found in the system through Dock Settings, New Dock
actions
2021-02-06 00:14:11 +02:00
Michail Vourlakos
69df6400f2 rename launchersignals to syncedLaunchers
--that is more appropriate name for synced
launchers latte launchers handler
2021-01-14 20:21:12 +02:00
Michail Vourlakos
3689cc406d retrieve available screen space through activityid 2020-08-28 17:58:39 +03:00
Michail Vourlakos
9026f931fd fixes for corona available areas calcs 2020-08-28 17:58:39 +03:00
Michail Vourlakos
d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
2020-08-18 03:13:05 +03:00
Michail Vourlakos
2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
2020-08-18 01:44:10 +03:00
Michail Vourlakos
545404ec82 introduce all new templates manager
--this class is going to be responsible for all
templates tasks
2020-08-12 12:59:55 +03:00
Michail Vourlakos
038b649804 delete PrimConfigView only on app exit 2020-07-04 14:44:27 +03:00
Michail Vourlakos
e1c38213b9 introduce viewsettingsfactory
--is going to be responsible to hold only
one instance of view config windows
2020-07-03 14:24:43 +03:00
Michail Vourlakos
1e144fc3e7 solution for Unity style layouts top view shadow
--when a vertical view that acts as a unity-style one
is activated, it sends a signal to top view to update
their visibility in order to stay on top
2020-05-10 20:27:35 +03:00
Michail Vourlakos
deb9c244ff improve/support BackgroundTracker in app
--the new implementation is much improved and easy
to support. No workaround and direct use of the
libraries
2020-04-24 17:30:30 +03:00
Michail Vourlakos
63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
2020-04-24 14:52:16 +03:00
Michail Vourlakos
6e4779e6ab require new official Latte library 2020-04-22 21:10:17 +03:00
Michail Vourlakos
ac3ccb5b98 try to support a public liblatte library 2020-04-22 14:09:42 +03:00
Michail Vourlakos
5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
2020-04-18 13:39:45 +03:00
Michail Vourlakos
f9c024095c ignore View real panel movements for desktop space
--when real panel views are slided out either for auto
hiding, dodge case or dynamically removing their screen
margin the desktop available space should not be
changed; it should stay the same.
2020-04-12 13:41:49 +03:00
Michail Vourlakos
df844ed171 drop double reference in corona 2020-03-18 17:39:19 +02:00
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
2020-03-18 13:40:42 +02:00
Michail Vourlakos
d1faaedc59 improve availableScreen..WithCriteria api
--improve its semantics in order to be more
understandable
2020-03-07 18:58:05 +02:00
Michail Vourlakos
719c852c8c update availableScree...WithCriteria functions
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
2020-03-07 15:36:39 +02:00
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
2020-03-05 20:09:22 +02:00
Michail Vourlakos
90df4f4f61 support new visibility mode for SideBars
--SideBar views are shown/hide ONLY WHEN the
user has requested to DO SHOW from external
applets, shortcuts and scripts
2020-03-01 18:20:23 +02:00
Michail Vourlakos
d071e3be33 publish available screen geometries to Plasma
--Plasma 5.18 introduced a new dbus interface in order
for external apps to be able to publish to Plasma how
much they occupy from screen space. This is a much
requested feature from users, Latte is now publishing
both its availableScreenRect and availableScreenRegions
and this is also Multiple Layouts aware at runtime.

BUG:391073
2020-02-22 14:30:02 +02:00
Michail Vourlakos
266499a485 support dialogs/background for dock settings wins
--use a different shadows manager for dialogs such as
dock settings window through the Latte::Corona class.
The new shadow manager is responsible to draw
"dialogs/background" shadows for windows instead of
the PanelShadows original class which is responsible
to draw "widgets/background" shadows
2020-01-12 23:51:46 +02:00
Michail Vourlakos
8946ded107 improve availableScreenR*WithCriteria functions 2020-01-04 19:21:10 +02:00
Michail Vourlakos
d0aa28a60d dock settings window not overlap plasma panels
--when dock settings window is shown it is good to
NOT overlap with plasma panels. Under X11 this is
possible because the real availableScreenGeometry
is exposed through QScreen.
2020-01-02 11:16:51 +02:00
Michail Vourlakos
ad788130ab REFACTOR:add WindowSystem namespace 2019-05-11 15:47:22 +03:00
Michail Vourlakos
d426ecb50f refactor:launcherssignals moved to "layouts" folder 2019-05-09 17:40:53 +03:00
Michail Vourlakos
a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
2019-05-09 17:12:57 +03:00
Michail Vourlakos
b35fa94307 reduce availableScreenGeometry calls 2019-04-12 18:55:45 +03:00
Michail Vourlakos
6620cf54bd plenty fixes updates for MultipleTopLayouts 2019-04-09 21:01:50 +03:00
Michail Vourlakos
861fced797 REFACTOR:move storaging to own class
--GenericLayout moves out all the storaging
mechanism to its dedicated Layout::Storage
class
2019-04-06 19:08:35 +03:00
Michail Vourlakos
bbddfd3d48 REFACTOR:move code from Active to GeneralLayout
--huge refactor in order to split the logic of the
Layout file. One of small steps in order to end at
the following logic:
AbstractLayout->GeneralLayout->InterfacedLayout

InterfacedLayout->NormalLayout
InterfacedLayout->OnTopLayout

PresentedLayout, that will contain references for
one ActiveLayout and one OnTopLayout and will
act as a class to provide useful information to
layoutManager and all other classes that want
to work with Views.

GeneralLayout will gain a storage object
for all STORAGE properties that require
a CORONA to work
2019-04-06 13:55:17 +03:00
Michail Vourlakos
7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
2019-04-06 13:55:17 +03:00
Michail Vourlakos
0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
2019-03-24 12:17:29 +02:00
Michail Vourlakos
362d50a1fd support wallpaper slideshows 2019-02-19 17:44:40 +02:00
Michail Vourlakos
d2ea33e236 sniff latte view id through contextData
--the menu is sending the containment id to
Latte::Corona and afterwards calls for the menu
data. These data now are including also the view
type, memory usage, active layout name and of
course the full layouts list shown to menu.
This is improvement from D18918.
2019-02-12 21:21:11 +02:00
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
2019-02-10 02:39:09 +02:00
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
2019-02-03 00:10:07 +02:00
Michail Vourlakos
0497c2c960 add PlasmaScreenPool to help with screen ids
-- Latte screen ids are different from plasma
screen ids. This class helps in order to help
translating the different screen ids between
Latte and Plasma.
2018-12-13 20:55:03 +02:00
Michail Vourlakos
2244cae8bc refactor:move PlasmaThemeExtended to better path 2018-12-13 20:03:14 +02:00
Michail Vourlakos
efb9414ef9 refactor:move plasmaquick headers to better place 2018-12-13 19:51:22 +02:00
Michail Vourlakos
0510293c21 REFACTOR:Move confiView(s) to ViewPart:: namespace 2018-12-09 00:06:14 +02:00
Michail Vourlakos
1ab99761a1 REFACTOR:Update Dock types to new Latte2::Types 2018-12-07 18:55:35 +02:00