Marco Martin
9c0e6c20fd
hide the itembackground when the mouse leaes the toolbox
...
svn path=/trunk/KDE/kdelibs/; revision=1118442
2010-04-24 19:21:04 +00:00
Marco Martin
be75656033
hide th itembackground the first time
...
svn path=/trunk/KDE/kdelibs/; revision=1118439
2010-04-24 18:57:48 +00:00
Marco Martin
3c05185f64
use an itembackground
...
svn path=/trunk/KDE/kdelibs/; revision=1118438
2010-04-24 18:54:34 +00:00
Marco Martin
6bad7500be
take the max between width and height
...
svn path=/trunk/KDE/kdelibs/; revision=1118354
2010-04-24 14:03:48 +00:00
Marco Martin
35cb858197
vertical size policy is fixed;
...
use a preferred icon size
svn path=/trunk/KDE/kdelibs/; revision=1118324
2010-04-24 12:10:16 +00:00
Marco Martin
5b49fc05e1
new property: preferredIconSize, aka the final solution to all layout problems
...
svn path=/trunk/KDE/kdelibs/; revision=1118322
2010-04-24 12:08:13 +00:00
Marco Martin
b9de116f33
get the margins right.
...
give the natural svg size if the icon is a svg
svn path=/trunk/KDE/kdelibs/; revision=1118304
2010-04-24 11:30:09 +00:00
Aaron J. Seigo
c08007f131
make the naming consistent
...
svn path=/trunk/KDE/kdelibs/; revision=1118099
2010-04-23 22:36:17 +00:00
Bruno de Oliveira Abinader
51a9b1ac72
Added Plasma::Animator::easingCurve() pre-defined easing curves factory.
...
Using this, Plasma::PendulumCurve now longer needs to be public :-)
svn path=/trunk/KDE/kdelibs/; revision=1118090
2010-04-23 20:55:46 +00:00
Aaron J. Seigo
9278caf4a0
don't do the Containment resizeEvent dance unless it is actually being used as a containment
...
svn path=/trunk/KDE/kdelibs/; revision=1118056
2010-04-23 19:06:55 +00:00
Aaron J. Seigo
59505c7f07
we already have an applet version of the pointer; no need to go casting about
...
svn path=/trunk/KDE/kdelibs/; revision=1118045
2010-04-23 18:27:05 +00:00
Aaron J. Seigo
644859eec4
a sensible default position for non-panel containments
...
svn path=/trunk/KDE/kdelibs/; revision=1118043
2010-04-23 18:23:53 +00:00
Bruno de Oliveira Abinader
2375cd6ce8
Added Plasma::PendulumCurve class plus make it work with RotationAnimation
...
svn path=/trunk/KDE/kdelibs/; revision=1117942
2010-04-23 13:39:34 +00:00
Bruno de Oliveira Abinader
abd0dd20b5
Missed RotationStacked QEasingCurve double call fix :-)
...
svn path=/trunk/KDE/kdelibs/; revision=1117941
2010-04-23 13:38:38 +00:00
Marco Martin
5d9b77ed76
reset any svg icon if a normal one gets set
...
svn path=/trunk/KDE/kdelibs/; revision=1117890
2010-04-23 11:35:43 +00:00
Script Kiddy
93949358d3
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdelibs/; revision=1117806
2010-04-23 06:29:21 +00:00
Bruno de Oliveira Abinader
75b66bdd8b
Avoid double call for QEasingCurve's valueForProgress() (now executed by EasingAnimation before calling updateEffectiveTime), causing a minor corruption of the effective animation progress values.
...
svn path=/trunk/KDE/kdelibs/; revision=1117762
2010-04-22 23:10:29 +00:00
Marco Martin
d54fd38d3b
hardcoded setMinimumSize is evil, evil, evil
...
now the actual sizehints are used, since qgraphicslayouts got slightly better we have more up to date hints
svn path=/trunk/KDE/kdelibs/; revision=1117260
2010-04-21 17:47:38 +00:00
Marco Martin
3d8425e6ef
don't bork horizontal tabbar size
...
svn path=/trunk/KDE/kdelibs/; revision=1117183
2010-04-21 13:16:46 +00:00
Marco Martin
36e45c7929
behave slightly better in layouts
...
svn path=/trunk/KDE/kdelibs/; revision=1117180
2010-04-21 13:05:57 +00:00
Marco Martin
7517afa198
when overriding the size policy, save the old one, should unbork a little contaiment switching
...
svn path=/trunk/KDE/kdelibs/; revision=1117160
2010-04-21 12:16:06 +00:00
Aaron J. Seigo
43240c4c19
if the source is new, but comes with data, we need to do an update immediately
...
svn path=/trunk/KDE/kdelibs/; revision=1116989
2010-04-20 19:50:41 +00:00
Marco Martin
b80b091db4
make viewportGeometryChanged actually working
...
svn path=/trunk/KDE/kdelibs/; revision=1116503
2010-04-19 16:20:08 +00:00
Marco Martin
215e883684
new signal: viewportGeometrychanged
...
svn path=/trunk/KDE/kdelibs/; revision=1116489
2010-04-19 15:55:04 +00:00
Michael Jansen
8fda976c9e
Do not use #include "<KDebug>" in kdelibs itself. Use #include "kdebug.h"
...
.
svn path=/trunk/KDE/kdelibs/; revision=1116483
2010-04-19 15:40:16 +00:00
Bruno de Oliveira Abinader
4526c57515
Fixed last-minute bug when animating and resizing widget
...
svn path=/trunk/KDE/kdelibs/; revision=1116478
2010-04-19 15:24:12 +00:00
Bruno de Oliveira Abinader
a8975d2e2d
Initial WaterAnimation implementation
...
This water animation uses the RippleEffect class to simulate a cool water animation on the target widget
svn path=/trunk/KDE/kdelibs/; revision=1116474
2010-04-19 15:09:36 +00:00
Bruno de Oliveira Abinader
ea49b36874
Initial ripple effect implementation
...
This ripple effect will be used by the WaterAnimation to generate a cool simulation of water flowing inside a plasma widget :)
svn path=/trunk/KDE/kdelibs/; revision=1116473
2010-04-19 15:03:02 +00:00
Marco Martin
1d8d908d9b
snap animations are snapX and snapY
...
still todo, create them only when snap is on
svn path=/trunk/KDE/kdelibs/; revision=1116414
2010-04-19 12:44:09 +00:00
Marco Martin
dfb46bb03e
a new property: snapSize if one wants to always make the scroll end aligned to a certain grid (is a size, so snap can be different horizontal and vertical)
...
svn path=/trunk/KDE/kdelibs/; revision=1116100
2010-04-18 16:31:07 +00:00
Marco Martin
ee661f4347
while still adjusting hard size hints, keep the tabbar centered
...
svn path=/trunk/KDE/kdelibs/; revision=1115434
2010-04-16 12:57:59 +00:00
Marco Martin
6ff8621d3a
update fixed size hints as soon as the tabwidgetmode changes
...
svn path=/trunk/KDE/kdelibs/; revision=1115431
2010-04-16 12:51:07 +00:00
Marco Martin
b6f75d6e46
if an svg is set for the icon switch to the full view on the desktop as well
...
svn path=/trunk/KDE/kdelibs/; revision=1115279
2010-04-15 20:30:14 +00:00
Marco Martin
fbe946ca4c
don't toggle the popup on activate, but actually show it
...
also set the state on needsattention.
if the view of the applet is not the same for its containment, call popupposition with the parent of the applet rather than the applet itself.
this fixes the popup appearing at funny places for applets in systemtray, like devicenotifier
svn path=/trunk/KDE/kdelibs/; revision=1115260
2010-04-15 19:25:30 +00:00
Bruno de Oliveira Abinader
daffafb9fe
s/pulsershadow/widgetsnapshot
...
svn path=/trunk/KDE/kdelibs/; revision=1115254
2010-04-15 18:51:26 +00:00
Marco Martin
ec3d3774bc
try to load a monocrome icon as popupicon, fallback to KIcon
...
svn path=/trunk/KDE/kdelibs/; revision=1115209
2010-04-15 16:14:37 +00:00
Alessandro Diaferia
d6d1c812c0
restore cursor when entering the view
...
this addresses bug 234386
BUG:234386
CCMAIL:bjoern@ruberg-wegener.de
svn path=/trunk/KDE/kdelibs/; revision=1115117
2010-04-15 09:49:44 +00:00
Script Kiddy
e8c07b4dd0
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1115065
2010-04-15 06:07:57 +00:00
Daniel Laidig
911b361064
fading works fine if one of the pixmaps is empty
...
in this case, the emtpy pixmap behaves just like a transparent one
svn path=/trunk/KDE/kdelibs/; revision=1114906
2010-04-14 20:53:45 +00:00
Marco Martin
8dcae8f83c
heuristic for formfactor becoming quite complex.
...
since a containment can put applet in a child widget, we must compare sizes only of parents that are indeed applets (only way it works both the systray plasmoid and the newspaper applets)
svn path=/trunk/KDE/kdelibs/; revision=1114750
2010-04-14 12:05:15 +00:00
Aaron J. Seigo
548ca104e2
use ContainmentPrivate::isPanelContainment() for more readable code
...
svn path=/trunk/KDE/kdelibs/; revision=1114542
2010-04-13 21:10:28 +00:00
Marco Martin
b4b822e1dd
chack for view, crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1114503
2010-04-13 19:16:20 +00:00
Aaron J. Seigo
08c94cc3de
put the containment in the position that best suits it as soon as possible
...
svn path=/trunk/KDE/kdelibs/; revision=1114490
2010-04-13 18:37:14 +00:00
Aaron J. Seigo
7aad31a3a9
when setting an applet to be a containment, check the furniture
...
svn path=/trunk/KDE/kdelibs/; revision=1114489
2010-04-13 18:36:54 +00:00
Aaron J. Seigo
42d4fe3edf
* provide a way to check that the standard items for a containment are around; allows earlier setting of containment type
...
* provide means to get preferred positions of containments
svn path=/trunk/KDE/kdelibs/; revision=1114488
2010-04-13 18:36:38 +00:00
Aaron J. Seigo
662c7fb0dd
be able to check if it is empty
...
svn path=/trunk/KDE/kdelibs/; revision=1114486
2010-04-13 18:33:56 +00:00
Marco Martin
6215a71fe7
ssign the view to the qstyleoption only if it's the proper view
...
svn path=/trunk/KDE/kdelibs/; revision=1114459
2010-04-13 16:21:12 +00:00
Marco Martin
956b5a8cc2
more heuristics in finding out the formfactor when an applet is inside another:
...
a popupapplet is alwais constrained if not directly in containment, an applet depends from the layout minimum size hint (and yes, is just to not break systemmonitor)
svn path=/trunk/KDE/kdelibs/; revision=1113811
2010-04-11 21:05:55 +00:00
Marco Martin
d29ea0a926
-is possible to drop items at any place of an extender group
...
-fix build
svn path=/trunk/KDE/kdelibs/; revision=1113376
2010-04-10 16:43:56 +00:00
Marco Martin
0c989d306f
it's possible to drop items into extendergroups.
...
still not possible to chose the position, will come
svn path=/trunk/KDE/kdelibs/; revision=1113368
2010-04-10 16:15:52 +00:00