Commit Graph

5524 Commits

Author SHA1 Message Date
Aaron J. Seigo
8f4880f66b well, that becomes rather simple, now doesn't it?
svn path=/trunk/KDE/kdelibs/; revision=1058582
2009-12-04 18:51:02 +00:00
Igor Trindade Oliveira
68e65235bc Oops .. fix logic inversion added in last commit
svn path=/trunk/KDE/kdelibs/; revision=1058575
2009-12-04 18:15:59 +00:00
Igor Trindade Oliveira
7a39167564 fix: change qpropertyanimation start and end value when start and target values in fade animation changes
svn path=/trunk/KDE/kdelibs/; revision=1058569
2009-12-04 17:46:45 +00:00
Marco Martin
bb94c31546 last bit of isVisible() removed
svn path=/trunk/KDE/kdelibs/; revision=1058565
2009-12-04 17:28:35 +00:00
Igor Trindade Oliveira
6d360fd501 ops reverting ... my fault
svn path=/trunk/KDE/kdelibs/; revision=1058528
2009-12-04 16:06:05 +00:00
Igor Trindade Oliveira
1e06025000 make fade animation works again using qpropertyanimation, when added in a group use the same group timer
svn path=/trunk/KDE/kdelibs/; revision=1058490
2009-12-04 14:56:19 +00:00
Darío Andrés Rodríguez
c9d1959026 - Remove several warnings about unused parameters
http://reviewboard.kde.org/r/2252/
  I didn't applied Q_UNUSED to "parent" pointers as this looks suspicious to me, and it needs more review.


svn path=/trunk/KDE/kdelibs/; revision=1058428
2009-12-04 13:01:33 +00:00
Laurent Montel
a03e56aa19 Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1058199
2009-12-04 08:31:53 +00:00
Igor Trindade Oliveira
f10d58bb53 leak--: disconnect signal
svn path=/trunk/KDE/kdelibs/; revision=1058175
2009-12-04 02:46:30 +00:00
Aaron J. Seigo
a1b48efa16 port fade to the new api; much simpler and doesn't use a QPropertyAnimation (the two are related ;)
svn path=/trunk/KDE/kdelibs/; revision=1058158
2009-12-04 01:14:23 +00:00
Aaron J. Seigo
edc7191176 * don't duplicate what QAbstractAnimation already does for us
* don't emit finished() multiple times
* start() is not virtual (which is why it wasn't getting called sometimes!), use updateState; also gets rid of the dirty flag hack

svn path=/trunk/KDE/kdelibs/; revision=1058157
2009-12-04 01:13:40 +00:00
Aaron J. Seigo
3efd2e6c85 * remove the obsoleted render() method (which was now empty anyways)
* don't crash if we don't have a widget when sync'ing the attributes

svn path=/trunk/KDE/kdelibs/; revision=1058155
2009-12-04 01:12:14 +00:00
Aaron J. Seigo
e29ca567bc sync up the dptr to what's actually used now
svn path=/trunk/KDE/kdelibs/; revision=1058153
2009-12-04 01:02:54 +00:00
Aaron J. Seigo
c0da94c928 don't duplicate what QAbstractAnimation already does for us
svn path=/trunk/KDE/kdelibs/; revision=1058152
2009-12-04 01:02:30 +00:00
Marco Martin
31704d2e6b remove render from slide, it will be removed from everywhere else too
svn path=/trunk/KDE/kdelibs/; revision=1058094
2009-12-03 22:42:34 +00:00
Aaron J. Seigo
1349be10af get rid of the visibility thing
svn path=/trunk/KDE/kdelibs/; revision=1058031
2009-12-03 20:48:27 +00:00
Igor Trindade Oliveira
435961b498 fix in the fix: use takeAnimation instead of takeAnimationAt
svn path=/trunk/KDE/kdelibs/; revision=1058014
2009-12-03 20:07:37 +00:00
Aaron J. Seigo
0791fc1ecb build
svn path=/trunk/KDE/kdelibs/; revision=1058008
2009-12-03 19:57:54 +00:00
Aaron J. Seigo
a356d0dfd1 build
svn path=/trunk/KDE/kdelibs/; revision=1058007
2009-12-03 19:55:31 +00:00
Aaron J. Seigo
292b2b8271 build
svn path=/trunk/KDE/kdelibs/; revision=1058005
2009-12-03 19:52:29 +00:00
Adenilson Cavalcanti Da Silva
c2a7cf4947 Build++;
svn path=/trunk/KDE/kdelibs/; revision=1058004
2009-12-03 19:52:27 +00:00
Marco Martin
5c5e62d796 nimation.cpp builds individual animations still not
svn path=/trunk/KDE/kdelibs/; revision=1058000
2009-12-03 19:45:17 +00:00
Adenilson Cavalcanti Da Silva
818e93a576 Amazon sized patch... So many changes that I can hardly remember what they are,
but this is the list from what I can recall:
- removing expand animation (it is a case of grow animation)
- removing AbstractAnimation and using QAbstractAnimation as the common base
- animations are non longer factories, but real animation (so it is just no
issue to mesh then with user created animations)
- animation group will correctly revert the direction of all subanimations
(useful for rewinding an animation)
- fixed opacity effect in pulse animation (now it works correctly)
- there is not 'forward' property, but animation 'direction' (this is how
rewinding an animation must be done)
- direction now is movementDirection property (used in SlideAnimation and RotationStacked)
- the weakpointer for the actual animaiton is non longer in AnimationPrivate but
in each specialized animation class
- hide property is being removed (in progress) since it really is a case of Fade

I guess this is it, now is just a matter of iron out the remaining bugs and polish
the public API.



svn path=/trunk/KDE/kdelibs/; revision=1057993
2009-12-03 19:30:02 +00:00
Bruno Bigras
65455b418b Revert "Fix a bug when a plasmoid could be resized to a smaller value than it's minimumSize"
Fix _k_rotatePoint so it returns 0,0 when rotating a 0,0 point

svn path=/trunk/KDE/kdelibs/; revision=1057684
2009-12-03 06:13:38 +00:00
Bruno Bigras
7e35361bf4 Fix a bug when a plasmoid could be resized to a smaller value than it's minimumSize
svn path=/trunk/KDE/kdelibs/; revision=1057530
2009-12-02 18:51:06 +00:00
Aaron J. Seigo
bf404da15e double check the clipboard object
BUG:217098

svn path=/trunk/KDE/kdelibs/; revision=1057509
2009-12-02 17:16:18 +00:00
Mike Arthur
bdd761cd4c Various OSX 10.6 fixes.
svn path=/trunk/KDE/kdelibs/; revision=1057486
2009-12-02 15:26:12 +00:00
Alexis Ménard
4493bbd4f7 ARM compile++
qreal is float on ARM.

svn path=/trunk/KDE/kdelibs/; revision=1057466
2009-12-02 14:17:34 +00:00
Marco Martin
db8ece1921 use qpropertyanimation: massively simplify the code
svn path=/trunk/KDE/kdelibs/; revision=1057438
2009-12-02 12:23:56 +00:00
Script Kiddy
b007e59e40 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1057422
2009-12-02 12:03:12 +00:00
Marco Martin
2b7ce26125 handle RTL layouts
BUG:187107

svn path=/trunk/KDE/kdelibs/; revision=1057270
2009-12-01 21:04:59 +00:00
Giulio Camuffo
7e3bdb55e5 better wait for the parentItem to resize before calculating the rect of the item to be visible
svn path=/trunk/KDE/kdelibs/; revision=1057266
2009-12-01 20:49:34 +00:00
Marco Martin
c95a699031 don't paint the background also if the color is totally ransparent
svn path=/trunk/KDE/kdelibs/; revision=1057251
2009-12-01 20:10:49 +00:00
Marco Martin
bd279b081f update the geometry when the text changes, apparently it doesn't get done automagically :/
svn path=/trunk/KDE/kdelibs/; revision=1057231
2009-12-01 19:33:01 +00:00
Script Kiddy
1a4dcf8278 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1057041
2009-12-01 11:16:26 +00:00
Fredrik Höglund
82759f1094 Fix the squashed line edits.
svn path=/trunk/KDE/kdelibs/; revision=1056867
2009-12-01 00:58:28 +00:00
Fredrik Höglund
1deb1a958a Add a margin between the button contents and the frame, and put some
space between the icon and the label.

svn path=/trunk/KDE/kdelibs/; revision=1056854
2009-12-01 00:39:44 +00:00
Script Kiddy
3b7d916264 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1056593
2009-11-30 12:31:59 +00:00
Giulio Camuffo
173c5e4b2a typo
svn path=/trunk/KDE/kdelibs/; revision=1056179
2009-11-29 15:25:00 +00:00
Marco Martin
0484b43c3d revert this hardcoded margin, wasn't a so good idea after all
svn path=/trunk/KDE/kdelibs/; revision=1055823
2009-11-28 20:19:03 +00:00
Marco Martin
a0ae098ff0 a bit margin more
svn path=/trunk/KDE/kdelibs/; revision=1055806
2009-11-28 19:10:12 +00:00
Marco Martin
bb659b52fc dd missing members, fix build
svn path=/trunk/KDE/kdelibs/; revision=1055722
2009-11-28 15:54:49 +00:00
Marco Martin
a7642a5f26 return size hints instead of setting the hard ones
activate the extender layout when hints are updated, this should resolve once for all the cutted notifications problem
BUG:214394

svn path=/trunk/KDE/kdelibs/; revision=1055683
2009-11-28 14:24:20 +00:00
Script Kiddy
ada738b8c0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1055588
2009-11-28 11:07:22 +00:00
Marco Martin
b2fa0d8f32 use actualSizeHints, not hard ones
svn path=/trunk/KDE/kdelibs/; revision=1055563
2009-11-28 10:40:31 +00:00
Marco Martin
6d38a2a3b6 use different focus and hover for horizontal and vertical sliders
svn path=/trunk/KDE/kdelibs/; revision=1055167
2009-11-27 13:42:00 +00:00
Marco Martin
3c84247ae6 move halopainter unchanged in libplasma, keep it private and expose
drawhalo in PaintUtils
iconwidgets uses it if there is no backgroundcolor explicitly setted
CCMAIL:fredrik@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1054830
2009-11-26 21:57:36 +00:00
Aaron J. Seigo
4b4645f564 needs to be X-Plasma- as it's non-standard
svn path=/trunk/KDE/kdelibs/; revision=1054773
2009-11-26 18:42:24 +00:00
Marco Martin
495a00cc59 when the size changes resize all frames
svn path=/trunk/KDE/kdelibs/; revision=1054744
2009-11-26 17:26:06 +00:00
Marco Martin
ebbb89e543 their textcolor are buttontext now
svn path=/trunk/KDE/kdelibs/; revision=1054737
2009-11-26 16:56:46 +00:00