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