Commit Graph

5129 Commits

Author SHA1 Message Date
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
Artur Duque de Souza
631f1052b1 Fix name issue with scripted plasmoids
Due to some problems reading from KWallet, just get the
name of the machine. Suggested by pinda to solve problem
with JS plasmoids being shared without machine names.

Reviewed by pinda

svn path=/trunk/KDE/kdelibs/; revision=1037774
2009-10-19 23:04:42 +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
Script Kiddy
f8a73914d9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1037463
2009-10-19 09:38:03 +00:00
Chani Armitage
386a38052e make rightclick work properly in folderview containments
svn path=/trunk/KDE/kdelibs/; revision=1037430
2009-10-19 04:11:05 +00:00
Adenilson Cavalcanti Da Silva
7bc808c132 PulserAnimation done.
svn path=/trunk/KDE/kdelibs/; revision=1036805
2009-10-17 20:04:58 +00:00
Adenilson Cavalcanti Da Silva
00e5a53873 Clean ups.
svn path=/trunk/KDE/kdelibs/; revision=1036798
2009-10-17 19:47:36 +00:00
Adenilson Cavalcanti Da Silva
032640b8ab Coding style changes.
svn path=/trunk/KDE/kdelibs/; revision=1036797
2009-10-17 19:44:04 +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
fc19c8cbf3 Coding style.
svn path=/trunk/KDE/kdelibs/; revision=1036748
2009-10-17 18:03:12 +00:00
Adenilson Cavalcanti Da Silva
526c8cf98f Expand done now.
svn path=/trunk/KDE/kdelibs/; revision=1036746
2009-10-17 18:00:19 +00:00
Adenilson Cavalcanti Da Silva
298998fa71 Changing remaining classes to use qreal instead of double or int.
svn path=/trunk/KDE/kdelibs/; revision=1036743
2009-10-17 17:52:19 +00:00
Adenilson Cavalcanti Da Silva
7ccf35e9fd Converting FadeAnimation and adding some todos: we must use qreal
since it is a typedef that falls back to float/double depending
on the cpu.


svn path=/trunk/KDE/kdelibs/; revision=1036741
2009-10-17 17:46:01 +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
Adenilson Cavalcanti Da Silva
c4cf4ed175 Adding the missing factors in AnimationPrivate.
I guess that to make its fields accessable to other animation classes
I will have to define it in plasma/private?


svn path=/trunk/KDE/kdelibs/; revision=1036730
2009-10-17 17:18:51 +00:00
Adenilson Cavalcanti Da Silva
1a6384bb3f Coding style: changing variable name.
svn path=/trunk/KDE/kdelibs/; revision=1036718
2009-10-17 17:08:15 +00:00
Adenilson Cavalcanti Da Silva
c07d566656 Creating a private class to store data in AbstractAnimation.
The idea is to other parameters (e.g. m_distance, m_factor, etc) to it.


svn path=/trunk/KDE/kdelibs/; revision=1036716
2009-10-17 17:02:28 +00:00
Andreas Hartmetz
191256f279 don't forget to unlock that lock; hopefully fixes krunner hangs.
svn path=/trunk/KDE/kdelibs/; revision=1036628
2009-10-17 13:55:18 +00:00
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