Commit Graph

4707 Commits

Author SHA1 Message Date
Adenilson Cavalcanti Da Silva
66dff7cf72 Unbreaking pulse animation. It will handle the case where there
is no 'shadow' widget (and thus not set the widget itself as
its parent).

By connecting a slot to the signal emited by animation end, it will
also restore original opacity back.

TODO: instead of a copy of object, the shadow should be an image
where the animated widget was painted. This will solve a lot
of issues and make this class easier to use.


svn path=/trunk/KDE/kdelibs/; revision=1036351
2009-10-17 05:17:05 +00:00
Adenilson Cavalcanti Da Silva
cb6dddf5cd Workaround to make kdelibs build in OSX 10.5.x (a.k.a. Leopard). Apple should
provide a newer compiler to its users.


svn path=/trunk/KDE/kdelibs/; revision=1036308
2009-10-16 23:32:08 +00:00
Aaron J. Seigo
8bf21cc7d7 add 1 px so that the popup appears below the item, not overlapping it by 1px
BUG:210838

svn path=/trunk/KDE/kdelibs/; revision=1036298
2009-10-16 23:00:24 +00:00
Aaron J. Seigo
211a206277 the count is always 1 larger than the index, so > is not enough
svn path=/trunk/KDE/kdelibs/; revision=1036289
2009-10-16 22:41:39 +00:00
Aaron J. Seigo
a1d93d4118 one more go at this method name; i don't think it will be in the public API anyways
svn path=/trunk/KDE/kdelibs/; revision=1036265
2009-10-16 21:27:35 +00:00
Igor Trindade Oliveira
84b8265322 add dptr to rotation
svn path=/trunk/KDE/kdelibs/; revision=1036200
2009-10-16 19:52:43 +00:00
Aaron J. Seigo
cbb1a5e686 * asQAnimation (i still wonder if that's the best of names or even strictly needed?)
* coding style

svn path=/trunk/KDE/kdelibs/; revision=1036121
2009-10-16 16:36:22 +00:00
Aaron J. Seigo
82cf1ef3fb add qproperties
svn path=/trunk/KDE/kdelibs/; revision=1036120
2009-10-16 16:34:53 +00:00
Marco Martin
4191b96c6d force to invalidate the size hint when the inner widget size changes
svn path=/trunk/KDE/kdelibs/; revision=1036087
2009-10-16 14:53:11 +00:00
Marco Martin
31cb2730ea size hint is the inner widget size
svn path=/trunk/KDE/kdelibs/; revision=1036073
2009-10-16 14:10:55 +00:00
Marco Martin
1d611eac34 initialize the layout as soon as possible, crash--?
svn path=/trunk/KDE/kdelibs/; revision=1036032
2009-10-16 11:14:46 +00:00
Script Kiddy
73b6f6be8a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1036004
2009-10-16 09:46:18 +00:00
Adenilson Cavalcanti Da Silva
50796b91a5 Adapting pulser animation to the resource management model used by
plasma::Animator.


svn path=/trunk/KDE/kdelibs/; revision=1035814
2009-10-15 22:29:21 +00:00
Marco Martin
342489ea62 ignore the scroll event if the widget is totally scrolled
svn path=/trunk/KDE/kdelibs/; revision=1035777
2009-10-15 20:46:07 +00:00
Aaron J. Seigo
d7915a8dff don't crash if the containment config dialog is open
BUG:210653

svn path=/trunk/KDE/kdelibs/; revision=1035776
2009-10-15 20:43:12 +00:00
Adenilson Cavalcanti Da Silva
167d17a9ae Gah! Commited a binary file!
/me whipping himself.


svn path=/trunk/KDE/kdelibs/; revision=1035768
2009-10-15 20:26:10 +00:00
Adenilson Cavalcanti Da Silva
f2cb0b0020 Updating rotation animation to changes in public API of Animation class.
svn path=/trunk/KDE/kdelibs/; revision=1035765
2009-10-15 20:24:12 +00:00
Adenilson Cavalcanti Da Silva
a661ba66d6 Moving private members to a private class.
svn path=/trunk/KDE/kdelibs/; revision=1035762
2009-10-15 20:19:02 +00:00
Marco Martin
451cf321a2 forgotten to commit before: migrate to the new api
svn path=/trunk/KDE/kdelibs/; revision=1035760
2009-10-15 20:12:01 +00:00
Igor Trindade Oliveira
cceef16789 add rotation animation in animations directory
svn path=/trunk/KDE/kdelibs/; revision=1035753
2009-10-15 19:53:49 +00:00
Adenilson Cavalcanti Da Silva
a4b408277c Merging Mehmet Ali Akmanalp new plasma::Animator code. It uses the new and shiny
Qt 4.6 animation API (a.k.a. kinetic) to implement effects.

Current implemented animations: fade, slide, expand, grow (next will be
pulse and rotation).

Further discussion is here:
http://reviewboard.kde.org/r/1512/


svn path=/trunk/KDE/kdelibs/; revision=1035749
2009-10-15 19:36:38 +00:00
Aaron J. Seigo
277eaeebe0 inverted logic
svn path=/trunk/KDE/kdelibs/; revision=1035748
2009-10-15 19:34:34 +00:00
Marco Martin
c4b42df8e8 use an eventfilter instead to have to manually forward each event,
should be less error prone and require less api

svn path=/trunk/KDE/kdelibs/; revision=1035740
2009-10-15 19:11:34 +00:00
Marco Martin
731474d470 check for pointer also there, crash--
svn path=/trunk/KDE/kdelibs/; revision=1035730
2009-10-15 18:37:59 +00:00
Marco Martin
7fb7eefa8b use weakpointer, hopefully a crash less
svn path=/trunk/KDE/kdelibs/; revision=1035683
2009-10-15 16:42:41 +00:00
Aaron J. Seigo
1a34a05a9d applet (and therefore containment) id's are uints
svn path=/trunk/KDE/kdelibs/; revision=1035451
2009-10-15 04:05:50 +00:00
Aaron J. Seigo
4c7f155484 play tricks on the failed-to-be-a-containment applet to make dtors a bit safer
BUG:208769

svn path=/trunk/KDE/kdelibs/; revision=1035450
2009-10-15 04:05:14 +00:00
Aaron J. Seigo
c5833d1939 handles are now children of the applet, so we don't need to destroy them ourselves; we do need to clear the applet pointer in the handle before it is destroyed, however.
BUG:209058

svn path=/trunk/KDE/kdelibs/; revision=1035446
2009-10-15 03:25:07 +00:00
Aaron J. Seigo
0d90362d1a * lump all actions over the max at the end
* don't use magic numbers but the enum
* don't leak icon items when the action is destroyed

svn path=/trunk/KDE/kdelibs/; revision=1035440
2009-10-15 02:39:38 +00:00
Aaron J. Seigo
5a36b63df8 use QGraphicsObject, another nicety in Qt 4.6
svn path=/trunk/KDE/kdelibs/; revision=1035320
2009-10-14 18:59:44 +00:00
Aaron J. Seigo
8e9ad3cfcf restore load/save behaviour for krunner; short term fix only, however. this needs to be fixed in krunner (and possibly have RunnerManager extended a bit to make this less error prone) but it would be nice for krunner to be useful to others while i work on fixing this up...
svn path=/trunk/KDE/kdelibs/; revision=1034974
2009-10-14 05:50:17 +00:00
Aaron J. Seigo
ee461e739e activity naming consistency, take 2
svn path=/trunk/KDE/kdelibs/; revision=1034920
2009-10-13 23:07:35 +00:00
Aaron J. Seigo
c27ddab67e QPointer -> QWeakPointer
svn path=/trunk/KDE/kdelibs/; revision=1034904
2009-10-13 21:43:35 +00:00
Aaron J. Seigo
2ce5b457e3 * avoid accessing the runner and setting the id in the ctor
* use QWeakPointer

svn path=/trunk/KDE/kdelibs/; revision=1034903
2009-10-13 21:42:22 +00:00
Aaron J. Seigo
2b762d0581 fix the "figure out which layout to use" codepath
svn path=/trunk/KDE/kdelibs/; revision=1034850
2009-10-13 17:42:32 +00:00
Marco Martin
2bdb8bc405 forward released too
svn path=/trunk/KDE/kdelibs/; revision=1034804
2009-10-13 15:29:23 +00:00
Darío Andrés Rodríguez
59296fb520 - Fix several minor issues reported by Krazy2
(http://reviewboard.kde.org/r/1837/)


svn path=/trunk/KDE/kdelibs/; revision=1034756
2009-10-13 12:40:13 +00:00
Marco Martin
2822ce65cd include wheelevent too
svn path=/trunk/KDE/kdelibs/; revision=1034755
2009-10-13 12:36:48 +00:00
Marco Martin
354f560a9d this shouldn't be there
svn path=/trunk/KDE/kdelibs/; revision=1034754
2009-10-13 12:31:21 +00:00
Marco Martin
3eb6730abf include QPointF
svn path=/trunk/KDE/kdelibs/; revision=1034752
2009-10-13 12:29:55 +00:00
Marco Martin
b3c08d7c3f style
svn path=/trunk/KDE/kdelibs/; revision=1034731
2009-10-13 10:47:41 +00:00
Marco Martin
e6661712a8 don't reset to zero the position on scrollbar move
svn path=/trunk/KDE/kdelibs/; revision=1034699
2009-10-13 10:10:08 +00:00
Carlo Segato
608c6b9492 fix little typo in the doc
svn path=/trunk/KDE/kdelibs/; revision=1034661
2009-10-13 09:48:32 +00:00
Marco Martin
5691d2a48b keep the mouseover state ourselves since it won't be updated when the
widget is disabled

svn path=/trunk/KDE/kdelibs/; revision=1034427
2009-10-12 17:17:46 +00:00
Carlo Segato
0d1e72248e use toLocalFile() instead of path(), since path() returns a path prepended by / which is invalid on windows
svn path=/trunk/KDE/kdelibs/; revision=1034397
2009-10-12 15:47:38 +00:00
Yuen Hoe Lim
2a5325af51 Amendments to Plasma::Wallpaper for wallpaper contextual actions support.
svn path=/trunk/KDE/kdelibs/; revision=1034320
2009-10-12 13:01:51 +00:00
Marco Martin
54202fc885 try to respect the ids in the extra config file, if it's taken, use the
autogenerated one. this way we have a more faitful reproduction of the
default config file

svn path=/trunk/KDE/kdelibs/; revision=1033961
2009-10-11 17:06:26 +00:00
Marco Martin
14dd33ec4a restore lock action on immutability change
svn path=/trunk/KDE/kdelibs/; revision=1033910
2009-10-11 14:48:03 +00:00
Marco Martin
d7021b22c2 unbreak the overlay mask prefix name
svn path=/trunk/KDE/kdelibs/; revision=1033730
2009-10-10 21:51:53 +00:00
Marco Martin
75b7874569 use a frame called mask-overlay if available for the mask used for
overlay: it can be independent from the window opacity mask

svn path=/trunk/KDE/kdelibs/; revision=1033726
2009-10-10 21:34:51 +00:00