Commit Graph

400 Commits (44006f2fe675f84cde9fb010f56e47bfa729baf2)

Author SHA1 Message Date
Michail Vourlakos 44006f2fe6 refactor:move dockTransparency to View::Effects
--rename dockTransparency to backgroundOpacity
6 years ago
Michail Vourlakos 885e438143 refactor:colorizerSupport moved to View::Effects
--renamed also from colorizerSupport to colorizerEnabled
6 years ago
Michail Vourlakos 3de7993b8d refactor:move shadow to Effects
-rename also to shadow to innerShadow for
better naming. This shadow is used when the
shadow is drawn inside the window from qml
side, such examples are the dock case and the
editVisual case
6 years ago
Michail Vourlakos 253ca3085a fix warnings 6 years ago
Michail Vourlakos 3a0a95e6a9 refactor: rename properties in View::Effects
--effectsArea became "rect"
--maskArea became "mask"
6 years ago
Michail Vourlakos 47c3d6fb41 refactor:move effects and mask at own dock class 6 years ago
Michail Vourlakos 71d648437f move dock positioning code into its own class 6 years ago
Michail Vourlakos d364621e5a improve fill(s) calculations for single alignments
--improve how the applet size is calculated for fill(s)
applets when such applets are used in Left/Center/Right
alignments. This also fixes the bug that the plasma
taskmanager was not updating its size properly when tasks
were added after the initialization phase.

BUG: 401456
6 years ago
Michail Vourlakos 2b05834fe6 reduce interval for fill calculations 6 years ago
Michail Vourlakos 3c983a0082 missing object 6 years ago
Michail Vourlakos 78543c84e3 update sizes for fillWidth/Height more regular
--this way applets wont stack up in a size that is not
following panel available size and applets Layout sizes
settings
6 years ago
Michail Vourlakos 97d476a3f0 fix many typo(s) 6 years ago
Michail Vourlakos 9c3107d363 fix maximum length calculation in qml side
--the maximum length calculation in qml side
was not calculated correctly for behabeAsPlasmaPanel
flag
6 years ago
Michail Vourlakos 8ababcdc0c keep some colors from original plasma theme 6 years ago
Michail Vourlakos a6a291d2c5 expose all latte colors to applets 6 years ago
Michail Vourlakos 954dac650f dont enable shadows when are not needed
--this reduces also the syncGeometry calls
and as such improves cpu usage
6 years ago
Michail Vourlakos 5c82996dfa disable applet mouseareas for not loaded applets 6 years ago
Michail Vourlakos 0cd33727b8 restore iconOverlay default behavior
BUG: 400806
6 years ago
Michail Vourlakos 53d17bfd01 new communication protocol one more time 6 years ago
Michail Vourlakos 530dd8d655 simplify more the communicator 6 years ago
Michail Vourlakos 0f1b090e19 support new LatteSetings object for Communicator
--in order to improve extenability we pass now
a single QtObject for applets to use in order
to communicate with Latte
6 years ago
Michail Vourlakos 096358f46a expose latteInEditMode from communicator 6 years ago
Michail Vourlakos 6eb1251965 dont compute width/height for latte plasmoid 6 years ago
Michail Vourlakos d190ebb216 dont show fill(s) applets oversized in edit mode 6 years ago
Michail Vourlakos 48fe4fd615 support fill(s) applets property
--the user can use applets such as
plasma icon-only taskmanager to alignments
Left,Center,Right. In previous versions
this was possible only for Justify alignment.
6 years ago
Michail Vourlakos 24806d8909 drop TaskManager for drag/double click panel
--use the visibilitymanager in order to drag
and maximize/restore an active window. Update
also the wayland functions for these features.
6 years ago
Michail Vourlakos a14c265006 drag active window when moving mouse fast
--when the user trys to drag the active window
from panel and moves the mouse fast dragging
starts immediately without waiting the drag timer
to end.
6 years ago
Michail Vourlakos 9b0feaea6a drag active window from panel
the user can use the empty panel areas
in order to drag the active window
and by double clicking to maximize/restore
the active window

BUG: 400391
6 years ago
Michail Vourlakos e63a43afe5 enable requestMove through the visibilitymanager 6 years ago
Michail Vourlakos 1397ebe5ed fixes and add double click to restore/maximize 6 years ago
Michail Vourlakos b8ad6fceeb drag a maximized window from panel 6 years ago
Michail Vourlakos 722d656bfa enhance colorschemes and colorizer to new arch 6 years ago
Michail Vourlakos 3553415c59 load roundness theme info properly 6 years ago
Michail Vourlakos 92ce3f15c1 introduce plasma theme extended
--this is going to be a class that will
provide all the extended info of a plasma
theme such as roundness, dark/light color
schemes
6 years ago
Michail Vourlakos 37b89f2830 move qml luminance calculations to js files 6 years ago
Michail Vourlakos 9374ff3cc4 move colorizeManager to its own Item class 6 years ago
Michail Vourlakos d705d5a657 fixes for new Communicator protocol 6 years ago
Michail Vourlakos 5bab21d786 add function to identify mainitem in applets
--applets can have different main elements based on their
implementation. In such case we use a depth of 2 in order
to search for elements that contain variable isInLatte
6 years ago
Michail Vourlakos 4a13d12703 send colorizerManager colors to applets 6 years ago
Michail Vourlakos 9dae7f7170 add Colorizing properties in Communicator
--add properties in order for the Communicator
to inform applet when to use the LatteColorScheme
6 years ago
Michail Vourlakos 1f51524d42 create Applet Communicator for applets
--this item is fully responsible in order to
communicate the latte containment with any
underlying applet. A protocol specification
is used in that item in order for applets and
latte to exchange information.

currently supported:
   ingoing parameters (to applet):
      bool isInLatte // is in a Latte dock

   outgoing parameters (from applet):
         //deprecated from disableLatteOverlay
      bool disableLatteParabolicIcon

      bool disableLatteOverlay //dont use Latte overlays
6 years ago
Michail Vourlakos c5150300d5 fix warnings 6 years ago
Michail Vourlakos f2d088a297 add theme roundness option at preferences page 6 years ago
Michail Vourlakos e1712dded4 add more colors to SchemeColors 6 years ago
Michail Vourlakos 1192760f28 apply Colorizer at per applet bases 6 years ago
Michail Vourlakos 89b86c4b3e add customBackground class for colorizer
--in order to overlay properly the panel background
a roundness option was needed that takes into account
which borders should be drawn. In an upcoming commit
the user will be able to adjut the current plasma
theme roundness. The Colorizer is using now the
CustomBackground in order to draw the background
when the user wants to draw the contents based on
the current active window color scheme.
6 years ago
Michail Vourlakos 1510f1013c add option to colorize based on active win scheme 6 years ago
Michail Vourlakos f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
6 years ago
Michail Vourlakos 500b3d2b86 respect shrink margins for thickBase
--increase also the minimum for thickHigh in order
to follow plasma design

BUG: 398950, 398951
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos f4c9060bff update delete icons to plasma design
BUG: 398941
FIXED-IN: 0.8.2
6 years ago