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

91 Commits

Author SHA1 Message Date
Michail Vourlakos
6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
2020-07-19 15:04:46 +03:00
Michail Vourlakos
e4437b7f66 abilities:introduce UserRequests 2020-07-18 17:39:34 +03:00
Michail Vourlakos
f5cc1f8f81 abilities:provide animations.requirements
--applets animations ability can now be used to
provide a zoomFactor that is needed from their
animations
2020-07-18 16:47:56 +03:00
Michail Vourlakos
dd79d5a0ed provide colors Tools trough LatteCore 2020-07-10 21:09:54 +03:00
Tranter Madi
2aa010b5f3 Set Combobox's icon size more properly 2020-05-29 22:35:42 +07:00
Michail Vourlakos
1fa5984860 improvements for AddingArea component 2020-05-23 02:24:32 +03:00
Michail Vourlakos
05bc900a6d fix multiTasks global shortcuts on position
--multi Tasks now work properly with global
shortcuts on position even when only one of them
is stealing them for its own use.
2020-05-22 21:23:14 +03:00
Michail Vourlakos
5be106565c PositionShortcuts choose which Tasks will be used
--Tasks have an option in order for one of them to steal
the Global On Position shortcuts and not be applied for
any other applets in the same dock
2020-05-22 21:01:17 +03:00
Michail Vourlakos
7176febb09 move badges tags in PositionShortcuts ability 2020-05-22 19:23:08 +03:00
Michail Vourlakos
fa4ffbf521 use PositionShortuts Ability for activate/new 2020-05-22 19:11:10 +03:00
Michail Vourlakos
dc78257962 improvement for Container::OnPositionShortcuts
--bind On Position Shortcuts Container ability
with View::ExtendedContainmentInterface implementation
2020-05-22 14:09:29 +03:00
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