1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-28 03:21:38 +03:00
Commit Graph

80 Commits

Author SHA1 Message Date
Michail Vourlakos
8525e076f8 Tasks,dont mask out zoomed items too soon
--AppletItem::clip was introduced  in order to
avoid circumstances that applets exceed their limits
and as such still events from surrounding applets.
Because of that change applets should now apply
their layout properties as valid all the time
2020-05-12 10:08:03 +03:00
Michail Vourlakos
0d023dff37 expose backgroundThickness through Metrics
--this way Tasks scrolling shadows work ok again
and also they are decoupled from containment
2020-05-10 20:27:35 +03:00
Michail Vourlakos
a9425409d0 improve Indexer Container/Bridge implementation 2020-05-07 14:34:47 +03:00
Michail Vourlakos
b1ce98e8a4 introduce PrabolicEffect Ability for applets 2020-05-06 20:48:56 +03:00
Michail Vourlakos
cfd79ae713 fixes for ParabolicEffect Ability 2020-05-06 20:48:56 +03:00
Michail Vourlakos
44c7faba65 move zoomFactor,maxZoomFactor to ContainerAbility
--use nicer names such as parabolic.factor.zoom
and parabolic.factor.maxZoom
2020-05-06 20:48:56 +03:00
Michail Vourlakos
f707cdab4f create ParabolicEffect Abitility
--such ability provides four different parts:
Defintion/Applet/Container/Bridge
2020-05-06 20:48:56 +03:00
Michail Vourlakos
db60035917 fix Tasks AddingArea positioning 2020-05-02 20:58:42 +03:00
Michail Vourlakos
dae35a12bb rename thicknessMargins to thicknessEdges
--which is more accurate an Edge can be the calculated
distance of margin+border+padding like css is also
describing
2020-05-01 14:03:50 +03:00
Michail Vourlakos
c45e45138f rename Metrics padding.length 2020-05-01 13:50:54 +03:00
Michail Vourlakos
1c6fef6c12 move thickMargin(s) to Metrics Ability 2020-05-01 13:27:34 +03:00
Michail Vourlakos
ed3472b11f make Metrics.Fractions as private property 2020-05-01 12:19:29 +03:00
Michail Vourlakos
2727aa1616 add more metrics options for applets 2020-04-30 16:48:25 +03:00
Michail Vourlakos
90d9aefd0b add more metrics options for Ability 2020-04-30 16:11:57 +03:00
Michail Vourlakos
441fbdf635 plenty of improvements to position Latte panels
--used a video demonstrating multiple panels at the
bottom edge with padding between them
--max/minLength and offset are changed to float values
--max/minLength and offset can now be adjusted with
Ctrl+Wheel over their label in Appearance tab page. Clicking
the previous mentioned label will round the values
--introduce an autoSizeEnabled value in order to block
auto size mechanism when it becomes annoying. Such issue
appears more often to Latte panels
--block MenuZ from Latte icon heuristics
2020-04-29 09:54:16 +03:00
Michail Vourlakos
97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
2020-04-27 21:21:44 +03:00
Michail Vourlakos
03de9bb09f replace maxZoomFactor with innerZoomFactor
--innerZoomFactor is a way for applets to
request specific zoom factor at some cases
for example during some of their animations
2020-04-26 19:20:33 +03:00
Michail Vourlakos
c9ec2bc957 rename minZoomFactor to animations.maxZoomFactor 2020-04-26 17:45:57 +03:00
Michail Vourlakos
ef1fc413c9 publich Containet ability components 2020-04-26 17:18:45 +03:00
Michail Vourlakos
04daf81ac5 provide apis through abilities import 2020-04-26 16:54:04 +03:00
Michail Vourlakos
732c7821f1 support property AbilityDefinition.Animations
--use qml for this and it is much better than c++
2020-04-26 02:49:28 +03:00
Michail Vourlakos
529efe548a abilities animations definition working better 2020-04-25 22:28:50 +03:00
Michail Vourlakos
82f007e4bf provide an AbilityDefinition for Animations
--this way both containers and applets can use
the same infrastructure and properties
2020-04-25 21:19:09 +03:00
Michail Vourlakos
b1f5e169ee provide new abilities imports structure 2020-04-25 19:30:17 +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
13a9522a16 rename abilities imports to distiguish purpose
--an better plural naming was chosen in order for
for consumers to distiguish abilities purpose. Abilities
are designed to be use by multiple applets and
containers
2020-04-23 18:55:40 +03:00
Michail Vourlakos
ac99708315 MAJOR MAJOR:splitting types to their own component
--improve types and references and add types splitted
at better places. So now we have
 - LatteCore.Types that are global for all components
 - LatteTasks.Types that are private to tasks plasmoid
 - LatteContainment.Types that are private to latte
containment
2020-04-23 18:46:24 +03:00
Michail Vourlakos
3bee600a98 introduce AppletAbilities as qml library
--introduce AppletAbilities qml library which is going
to be available to all applets to use it freely. In the stage
all components will be qml-only but in the future when
any of the components have been stabilized for their
apis then many of them could gain c++ implementation
2020-04-20 13:42:19 +03:00
Michail Vourlakos
810dd5a1b4 publish Abilities qml library
--add AppletRequirements in Abilities
qml library
2020-04-20 12:41:20 +03:00
Michail Vourlakos
b69af88ebc refactor:move irrelevant WindowSystem properties
--irrelevant WindowSystem properties are now moved
to LatteCore.Environment that fit better semantically
2020-04-18 13:55:06 +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
c8eefd6194 update opacity for Settings::SubHeaders 2020-04-10 12:45:55 +03:00
Michail Vourlakos
4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
2020-01-13 21:53:49 +02:00
Michail Vourlakos
f9779d5284 introduce two new windows visibilities in options
--add options for visibility modes:
   - Windows Can Cover
   - Windows Always Cover
2019-12-26 12:37:52 +02:00
Michail Vourlakos
5a2c59601c Indicators:different margins for applets
--indicators gained a way to set different margins
for applets if they want to
2019-08-30 15:05:54 +03:00
Michail Vourlakos
768a6b4b2a indicators can now offset a bit icons
--through level.requested options each indicator
instance can request specific repositioning for
each icon. Very good example for this is the
Win7 style indicator
2019-08-30 02:23:50 +03:00
Michail Vourlakos
4ebf3e2329 update progress badge properly
--send repaint signals properly for BadgeText

BUG:410318
FIXED-IN:0.9.1
2019-07-28 23:26:48 +03:00
Michail Vourlakos
30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
2019-07-10 18:34:26 +03:00
Michail Vourlakos
d7a41ab264 introduce 3D style option for BadgeText 2019-07-10 17:57:10 +03:00
Michail Vourlakos
307564422e reduce Kirigami version to 2.2
BUG:409143
2019-06-24 19:40:50 +03:00
Michail Vourlakos
6c288401aa BadgeText revert plasma style renderType 2019-06-21 12:27:38 +03:00
Michail Vourlakos
2dfb136447 improve LatteComponets.ComboBoxButton
--improve elide metrics and align left when
text exceeds the available space
2019-06-19 17:10:32 +03:00
Michail Vourlakos
bb8a946140 fix warnings 2019-06-17 21:46:39 +03:00
Michail Vourlakos
002e0547ba improve LatteComponents.ComboBox
--drop editable feature of ComboBox in favour
of better alignment of the selected item and
the dropped down list elements
2019-06-17 21:38:07 +03:00
Michail Vourlakos
396efadb5a track screens count changes for View Settings 2019-06-17 21:20:46 +03:00
Michail Vourlakos
675ddb2e2e provide more modern Screens ComboBox 2019-06-17 21:01:50 +03:00
Michail Vourlakos
f75605d78d introduce Resources for Indicators 2019-06-03 18:31:42 +03:00
Michail Vourlakos
1d055f5e19 try to adjust BadgeText text alignment
--following a Plasma related commit in order to
center-align Text properly. There is no big
difference actually.
2019-06-03 15:34:24 +03:00
Michail Vourlakos
36119d3d86 move Indicators published properties,better place 2019-05-29 20:27:09 +03:00