Michail Vourlakos
6d84b6eea2
better way to identify applet plasma behavior
...
--there is a combinantion of settings that enables
plasma original applet behavior.
1. the applet is locked and is not using parabolic effect
2. the zoomfactor === 1 and the user has not activated
title tooltips
6 years ago
Michail Vourlakos
89e0eaa3ee
dont animate clicking for locked applets
6 years ago
Michail Vourlakos
834bb56194
provide panel transparency info to indicators
6 years ago
Tranter Madi
5fe27176fa
Center align shortcut badges when iconSize < 48
...
Summary:
When iconSize is not big enough, center aligned shortcut badges look better than top-left aligned ones.
BUG: 406037
Test Plan:
- When iconSize < 48: shortcut badges are center aligned
- When iconSize >= 48: they are top-left aligned
For example, with iconSize = 32:
Before:
{F6736365}
After:
{F6736366}
Reviewers: #latte_dock, mvourlakos
Reviewed By: mvourlakos
Subscribers: mvourlakos, plasma-devel
Tags: #plasma
Differential Revision: https://phabricator.kde.org/D20128
6 years ago
Michail Vourlakos
d4b2589d0c
expose isPressed state to indicators
6 years ago
Michail Vourlakos
6569160195
improve icon colors for applets
...
--provide a background and glow color for those
applets that do not provide an icon to render
6 years ago
Michail Vourlakos
69bbb82841
improve icons colors names
6 years ago
Michail Vourlakos
262dfa6b09
Indicators protocol change attributes to level
...
--introduce a new class called level which contains
all the needed information concerning indicator level
and at the same time the bridge that provides information
for the specific indicator states
6 years ago
Michail Vourlakos
10ee2d9ab8
fixes for reversed state of config window
6 years ago
Michail Vourlakos
614ec3ea48
move shortcut badges at top left corner
...
--this way the elements are observed better and
the user is able to both watch out the items and
the shortcut that activates them
6 years ago
Michail Vourlakos
7c59929b28
fixes for shadows calculations
6 years ago
Michail Vourlakos
9a464226bd
improve loading for indigator config ui
...
--in order for all indicators infrastructure to
load the plugin correctly the configuration and
the component elements of ViewPart::Indicator
must be loaded first correctly and afterwards
the relevant Indicators to follow
6 years ago
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
6 years ago
Michail Vourlakos
ca80a7932f
introduce LatteComponents to be consumed globally
...
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
6 years ago
Michail Vourlakos
28d197484e
fix warnings
6 years ago
Michail Vourlakos
b89ef0e50b
fix warnings fron new indicators architecture
6 years ago
Michail Vourlakos
8be388b893
improve vastly the indicators arch independence
6 years ago
Michail Vourlakos
0d568c81d5
update indicators architecture to be independent
...
--first steps in order to support completely independent
indicators that can be downloaded/installed/used online
6 years ago
Michail Vourlakos
10fbf41081
enable hover effect for Plasma Style
6 years ago
Michail Vourlakos
c85ec4c07a
new architecture for Indicators
...
--indicators now support both Back/Front
layers. Back layer is the usual layer
behind the current Item and the Front layer is
a layer above the current Item (overlay)
--update Unity to follow new architecture
6 years ago
Michail Vourlakos
104ee8581f
add more information for indicators consumption
...
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
6 years ago
Michail Vourlakos
25b636465a
split animations and make par.effect independent
6 years ago
Michail Vourlakos
83d2ead0a0
support increase/decreaseLength for latte separator
6 years ago
Michail Vourlakos
8b46ecc92a
support new Latte separator properly
6 years ago
Michail Vourlakos
218e8254a2
improve placement for SettingsOverlay tooltip
...
--place the SettingsOverlay tooltip under editMode
smarter in order to not break the parabolic
effect experience
6 years ago
Michail Vourlakos
05afe9e8d3
show title tooltips in liveEditMode
6 years ago
Michail Vourlakos
8a4f669ecf
fix hovered masking for editMode when zoomed
...
--in the past applets could not be hovered when
in editmode
6 years ago
Michail Vourlakos
3fac7c2388
remove deprecated showZoomed from appletItem
6 years ago
Michail Vourlakos
b15df34cc4
livemode:enable parabolic effect for editMode
...
--first commit to restructure editMode in order to
support livemode under editing. Live mode means
that all options changes during editMode will be
available to be tested directly
6 years ago
Michail Vourlakos
dcb2d4e528
restore previous behavior and add a timer
...
--reduce calculations and add a timer in order
to avoid binding loops by giving applets some
time to adjust their sizes properly
6 years ago
Michail Vourlakos
f00e34e36b
improvements for applets canBeHovered heuristics
6 years ago
Michail Vourlakos
d8738758a9
restore normal behavior for applets size
6 years ago
Michail Vourlakos
bd2336b7af
fix for applets size calculations
...
--fix how maxSize of an applet is calculated
in order to provide parabolic effect capability
or not.
BUG: 404977
6 years ago
Michail Vourlakos
33363c241d
Enable communication between Applets
...
--applets can now use the LatteBridge in order
to send/receive messages between them. A good
example of this could be the window title and
the window appmenu applets in order the hide
and show themselves based on mouse hovering.
6 years ago
Michail Vourlakos
ff77bc3485
compute icon colors only for indicators requesting
6 years ago
Michail Vourlakos
b1865e2634
hide indicator properly when task is removed
6 years ago
Michail Vourlakos
1965f7f9c0
move responsibility to separator to draw itself
...
-- metrics are now provided by the separator applet
and not from Latte
6 years ago
Michail Vourlakos
f353363670
fix shadowing for separators
6 years ago
Michail Vourlakos
c805963327
prepare for new latte separators
6 years ago
Michail Vourlakos
c64df5a078
fixes for separators
6 years ago
Michail Vourlakos
f2479d6678
move applet IndicatorLoader to its own qml file
6 years ago
Michail Vourlakos
dd1c3f61b8
increase mask thickness when indicators needed it
6 years ago
Michail Vourlakos
f1eb8becfc
improvements for Plasma Style indicator
6 years ago
Michail Vourlakos
fe71e5dd2e
remove deprecated headers
6 years ago
Michail Vourlakos
fc8d0ed46c
fixes for margins
6 years ago
Michail Vourlakos
98c20e4f83
adjust separators to new indicators design
6 years ago
Michail Vourlakos
d9fe9d438d
move Plasma/UnityIndicators into liblatte2
6 years ago
Michail Vourlakos
529c6f0bab
adjust applet to new LatteIndicator
6 years ago
Michail Vourlakos
3d7f5e7990
update Latte Indicator to new design
6 years ago
Michail Vourlakos
fb522d6231
introduce new margins for containment
6 years ago
Michail Vourlakos
c2dc637a46
activate Unity indicator style
...
--this is just initial work and not even close
to the final result but it is the ground in order
to build upon.
6 years ago
Michail Vourlakos
d387e7b6ef
important improve applets layout
...
--use plasma way to layout the applets. With this
fix all the applets layout is improved vastly
especially concerning more the plasma indicators
trigerred by applets.
6 years ago
Michail Vourlakos
341ba05f88
use correct plasma style for applets
6 years ago
Michail Vourlakos
2884f73507
enable Plasma Indicator Style
...
CCBUG: 404122
6 years ago
Michail Vourlakos
fd300ec9cf
simplify colorize properties & active new options
6 years ago
Michail Vourlakos
730d204a56
improve settings explanations
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
8e8b8e0c73
fix warnings
6 years ago
Michail Vourlakos
9cd851faea
show only one Meta badge
...
--more fixes for globalshortcuts
6 years ago
Michail Vourlakos
66b2e4bd9c
fixes and improvements for globalshortcuts
6 years ago
Michail Vourlakos
fef791d8e1
improve names for globalshortcuts qml calls
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
58d8208704
fix binding loops for ShortcutBadges
6 years ago
Michail Vourlakos
f6d2e8c8f8
add 24px minimum height for ShortcutBadges
6 years ago
Michail Vourlakos
3bfa313cbb
fix crash when showing shortcut badges
...
BUG: 403647
6 years ago
Michail Vourlakos
b3a845a0d5
do not show tooltip for spacers and separators
6 years ago
Michail Vourlakos
f03e820caf
reposition items to respect proper stack order
6 years ago
Michail Vourlakos
fb78f49d8f
dont colorize Applet Shortcut Badges
6 years ago
Michail Vourlakos
d04a3307d7
change names for two Communicator options
...
--follow qt naming for some Communicator options
6 years ago
Michail Vourlakos
3908b668a3
add two new Communicator options for applets
...
--activeIndicatorEnabled, applets can use it in order
to enable/disable the Latte Active Indicator for them
--parabolicEffectEnabled, applets can use it in order
to disable Parabolic Effect (zoom) for them
6 years ago
Michail Vourlakos
e2cf406ade
faulty object name
6 years ago
Michail Vourlakos
52465865f9
rename Task SubParts in plasmoid accordingly
6 years ago
Michail Vourlakos
eddb6d229f
rename applet(container) to appletItem
...
--improve naming for main applet item
6 years ago
Michail Vourlakos
abeb42935b
rename Applet parts accordingly
6 years ago
Michail Vourlakos
a01ac0d504
move Colorizer.Applet to better fit place
6 years ago
Michail Vourlakos
9d49063cc4
move applet active indicator out of colorizer
...
--the Active Applet Indicator must not be colorized
and as such is moved out of the Colorozing scope
6 years ago
Michail Vourlakos
582b59dae2
enable/disable colorizing from user
...
--when the user has enabled the monochrome colorizing
in that case in applet options there is now a new option
in order for the user to choose if wants or not that
applet to be colorized. Such an example are colorful
applets that lose their proper appearance through
monochrome option.
6 years ago
Michail Vourlakos
13b10c0498
fix binding loop for LatteBridge to applets
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
Michail Vourlakos
f84043d28e
REFACTOR:change dock in containment to latteView
6 years ago
Michail Vourlakos
d8621a9435
refactor:plasmoid rename latteDock to latteView
6 years ago
Michail Vourlakos
67253eda9d
REFACTOR:update qml to new Latte.Types
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
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
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
722d656bfa
enhance colorschemes and colorizer to new arch
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