Adenilson Cavalcanti Da Silva
1049afdab6
First step to improve new animations memory model.
...
Now the QAbstractAnimations will be cached when running an animation
(instead of creating and destroying them everytime the animation runs).
The next step is to cache *also* the configuration parameters (as aseigo suggested,
by having an event filter to detect changes in the animated widgets and reseting
the animation parameters as needed).
svn path=/trunk/KDE/kdelibs/; revision=1039531
2009-10-23 18:39:57 +00:00
Petri Damstén
042ed56b39
* Add support to load PopupApplet and Containment from path
...
* AppletScript::addStandardConfigurationPages adds also publish page
* AppletScript::standardConfigurationDialog does not add standard pages (there is addStandardConfigurationPages)
svn path=/trunk/KDE/kdelibs/; revision=1039471
2009-10-23 13:48:29 +00:00
Marco Martin
d9de800d36
SVN_SILENT: less awfully long line
...
svn path=/trunk/KDE/kdelibs/; revision=1039434
2009-10-23 12:07:48 +00:00
Aaron J. Seigo
c765e808a7
* the drop position is always relative to the containment; don't need to do store the scene pos. this fixes drops on panels
...
* allow drops on the toolbox, this gives is a place to drop things on the panel at all times, similar to the context menu on toolbox
* small delay on showing the drop zone indicator so that when dragging into the tasks widget, for example, we don't end up flickering as it crosses the panel containment edge
svn path=/trunk/KDE/kdelibs/; revision=1039186
2009-10-22 22:14:22 +00:00
Andrew Coles
242868a972
Fixed minor typo: don't use exclamation points in messages.
...
SVN_SILENT
svn path=/trunk/KDE/kdelibs/; revision=1039153
2009-10-22 20:48:59 +00:00
Marco Martin
2f7ba10bfc
return the proper shape
...
svn path=/trunk/KDE/kdelibs/; revision=1039146
2009-10-22 20:38:32 +00:00
Marco Martin
a45a20c32c
return the proper boundingRect()
...
svn path=/trunk/KDE/kdelibs/; revision=1039144
2009-10-22 20:32:36 +00:00
Marco Martin
82177676af
better gradient when the handle is at left
...
svn path=/trunk/KDE/kdelibs/; revision=1039135
2009-10-22 20:01:19 +00:00
Aaron J. Seigo
be914e1196
SVN_SILENT: tabs to spaces
...
svn path=/trunk/KDE/kdelibs/; revision=1039130
2009-10-22 19:36:29 +00:00
Marco Martin
03bb063c62
migrate focusindicator to the new api
...
change the api of fade to be abe to set a start and an end taget
opacities
svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Adenilson Cavalcanti Da Silva
8a930cbaca
Moving rotation related only parameters back to RotationAnimation.
...
The idea is to keep in AbstractAnimationPrivate only what is shared by all
(or at least most) of animations.
svn path=/trunk/KDE/kdelibs/; revision=1039035
2009-10-22 15:35:08 +00:00
Adenilson Cavalcanti Da Silva
d82ac07001
Adding missing documentation.
...
svn path=/trunk/KDE/kdelibs/; revision=1039029
2009-10-22 15:20:17 +00:00
Igor Trindade Oliveira
67ffbf7ff3
janitor job: make it works
...
svn path=/trunk/KDE/kdelibs/; revision=1039010
2009-10-22 13:58:35 +00:00
Igor Trindade Oliveira
fd62504373
fix: make animation works again, add fowards attribute
...
svn path=/trunk/KDE/kdelibs/; revision=1039003
2009-10-22 13:40:30 +00:00
Marco Martin
a7573ce263
clean up a bit of old wronghish code and no more jumping behaviour
...
svn path=/trunk/KDE/kdelibs/; revision=1038795
2009-10-21 21:04:03 +00:00
Adenilson Cavalcanti Da Silva
a1bf0fd085
Moving rotation related parameters to common location (now it should
...
be possible to use AbstractAnimation properties to use rotation
animation).
svn path=/trunk/KDE/kdelibs/; revision=1038337
2009-10-21 05:32:04 +00:00
Aaron J. Seigo
73b60b9a55
* keep the non-deprecated stuff out of deprecated/, such as the new animator factory method
...
* don't be lazy with the names (Anim->Animation)
svn path=/trunk/KDE/kdelibs/; revision=1038307
2009-10-21 01:51:31 +00:00
Aaron J. Seigo
353c7d9aca
one more API shift
...
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b
API cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Aaron J. Seigo
b29d0a79aa
sort out the API a bit and don't have private classes that are named the same
...
svn path=/trunk/KDE/kdelibs/; revision=1038220
2009-10-20 21:04:49 +00:00
Aaron J. Seigo
30dc3caf9b
* move remotedataengine.h to remotedataengine_p.h as it's private
...
* allow queueing for un-ready remote services
* always double check that the RemoteServiceJob is really Ok to send; things like operation being ready may have changed, for instance
svn path=/trunk/KDE/kdelibs/; revision=1038181
2009-10-20 19:15:32 +00:00
Aaron J. Seigo
979d295565
* queue the job in the service if the service isn't ready
...
* check the validity of a job before executing; things may have changed!
svn path=/trunk/KDE/kdelibs/; revision=1038158
2009-10-20 18:23:32 +00:00
Aaron J. Seigo
8df22fd9b1
* always create a job (it'll just queue itself)
...
* provide getters for the busy/ready states
* check the queue when we become ready
svn path=/trunk/KDE/kdelibs/; revision=1038156
2009-10-20 18:22:38 +00:00
Marco Martin
6b0a4590d2
Export a really simple AbstractToolBox
...
add a setToolBox function
svn path=/trunk/KDE/kdelibs/; revision=1038024
2009-10-20 14:14:53 +00:00
Igor Trindade Oliveira
cbc0f99d2a
add Easing Curve Type Property
...
svn path=/trunk/KDE/kdelibs/; revision=1038000
2009-10-20 13:08:23 +00:00
Aaron J. Seigo
dd2b126960
* when sources and services are called too early, add them to "pending" lists and clear them as soon as we are set up properly to do so
...
* always call setData in sourceRequestEvent otherwise DataEngine will think nothing has been set up
svn path=/trunk/KDE/kdelibs/; revision=1037795
2009-10-20 02:57:26 +00:00
Aaron J. Seigo
9500388d8d
don't crash when serviceForSource is called "too early" on a remote data engine
...
svn path=/trunk/KDE/kdelibs/; revision=1037790
2009-10-20 01:28:02 +00:00
Marco Martin
ed950edc24
correctly sync with parent geometry
...
svn path=/trunk/KDE/kdelibs/; revision=1037755
2009-10-19 22:19:04 +00:00
Marco Martin
b2bb69732a
provide the Animator::registerScrollingManager(qgraphicsidget) function.
...
the animator creates a kineticscroll and associates it with the widget.
in this way we can use kineticscroll outside of libplasma with a single
call.
svn path=/trunk/KDE/kdelibs/; revision=1037751
2009-10-19 22:10:25 +00:00
Marco Martin
89e73cecd2
animate the highlight with the new animation framework. we got a glow
...
item called FocusIndicaotr, it's private for now and probably it should
remain so
svn path=/trunk/KDE/kdelibs/; revision=1037733
2009-10-19 21:13:54 +00:00
Artur Duque de Souza
e9f98cd0d8
Use "Share" instead of "Publish" in remote widgets UI.
...
It's more user friendly and avoids misconceptions like "Publish"
being a way to publish to kde-apps for example.
svn path=/trunk/KDE/kdelibs/; revision=1037544
2009-10-19 13:29:29 +00:00
Adenilson Cavalcanti Da Silva
10d9afacb4
SlideAnimation is done now.
...
svn path=/trunk/KDE/kdelibs/; revision=1036795
2009-10-17 19:40:44 +00:00
Adenilson Cavalcanti Da Silva
6142e913f6
Moving AnimationPrivate to private directory and removing
...
privat members in GrowAnimation.
Next: do the same with other animations.
svn path=/trunk/KDE/kdelibs/; revision=1036737
2009-10-17 17:35:02 +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
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
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
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
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
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
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
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
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
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