Commit Graph

4691 Commits

Author SHA1 Message Date
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
Andrew Coles
ffcb8b6e62 Proof-reading.
svn path=/trunk/KDE/kdelibs/; revision=1033253
2009-10-09 20:07:44 +00:00
Marco Martin
660082707f move the windows thumbnail code in WindowEffects, still to be decided if
windowsizes(geometries?) will be in KWindowsystem

svn path=/trunk/KDE/kdelibs/; revision=1033125
2009-10-09 14:40:03 +00:00
Marco Martin
189618d2e4 look up in the parent hyerarchy rather than parentItem
svn path=/trunk/KDE/kdelibs/; revision=1033106
2009-10-09 13:40:33 +00:00
Marco Martin
e67e058087 remove the parentitem, so the widgets will stay still.
give it a parent, so they will be deleted

svn path=/trunk/KDE/kdelibs/; revision=1033105
2009-10-09 13:39:41 +00:00
Andreas Hartmetz
d0ecf4ae88 This hopefully fixes a double delete bug. I don't see what would prevent both
RunnerManager::jobDone() and DelayedJobCleaner::jobDone() from being invoked
if the JobDone() signal is emitted just at the right (wrong) time.
Both jobDone() slots delete (as in delete operator) the job.
CCMAIL:aseigo@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1033035
2009-10-09 09:33:20 +00:00
Script Kiddy
633d51612c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1033020
2009-10-09 09:27:45 +00:00
Script Kiddy
34fbf4ae50 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1033019
2009-10-09 09:26:43 +00:00
Laurent Montel
677f98b7cd Add missing i18n
svn path=/trunk/KDE/kdelibs/; revision=1032993
2009-10-09 07:08:48 +00:00
Aaron J. Seigo
d8d346822e some light weight locking around the speed member
svn path=/trunk/KDE/kdelibs/; revision=1032959
2009-10-08 23:32:25 +00:00
Aaron J. Seigo
fad3e0814b move the elapsed time object into the performMatch method; this prevents access by multiple threads by putting a unique QTime object in each thread. thanks Hellgrind (and maelcum for running it)
svn path=/trunk/KDE/kdelibs/; revision=1032955
2009-10-08 23:23:52 +00:00
Marco Martin
38884ccd1a now the api is similar to what webkit offers and horizontal and vertical
scroll is done in pixels and in a single pass.                                          
we have 3 properties in widgets that wants to support scroll:
scrollPosition
viewportGeometry
constentsSize


svn path=/trunk/KDE/kdelibs/; revision=1032821
2009-10-08 16:04:56 +00:00
Script Kiddy
2ea0319b74 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1032689
2009-10-08 09:19:00 +00:00
Giulio Camuffo
86cffbab45 suppress some runtime complaints of QGraphicsGridLayout
svn path=/trunk/KDE/kdelibs/; revision=1032423
2009-10-07 19:27:01 +00:00
Aaron J. Seigo
154f7d0e38 use the ThemeGlobal kconfigxt class in Theme
svn path=/trunk/KDE/kdelibs/; revision=1032413
2009-10-07 18:44:33 +00:00
Aaron J. Seigo
ca63e9647b we'll need another file for the app specific values, so make these -global
svn path=/trunk/KDE/kdelibs/; revision=1032412
2009-10-07 18:44:07 +00:00
Aaron J. Seigo
403293b7c6 allow the config file to be specified by argument
svn path=/trunk/KDE/kdelibs/; revision=1032395
2009-10-07 18:39:12 +00:00