Commit Graph

515 Commits

Author SHA1 Message Date
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
Aaron J. Seigo
0d3fdb718a add a tooltip
svn path=/trunk/KDE/kdelibs/; revision=1032393
2009-10-07 18:32:15 +00:00
Aaron J. Seigo
f55ece10b0 add a tooltip to the panel toolbox. hooray for discoverability.
svn path=/trunk/KDE/kdelibs/; revision=1032380
2009-10-07 17:11:03 +00:00
Aaron J. Seigo
4fc13d171a * make a QGrahpicsWidget
* provide access to the containment pointer

svn path=/trunk/KDE/kdelibs/; revision=1032379
2009-10-07 17:08:44 +00:00
Adenilson Cavalcanti Da Silva
3d33d3f28f Factoring the ratio of widget/viewport size when doing the
kinetic scrolling.

This will help to have a proper scrolling in cases that the
viewport is several times smaller than the widget size.


svn path=/trunk/KDE/kdelibs/; revision=1032023
2009-10-06 16:58:42 +00:00
Chani Armitage
cfd8409432 make a class to hold a map of default containmentactions plugins
svn path=/trunk/KDE/kdelibs/; revision=1031735
2009-10-05 20:50:57 +00:00
Marco Martin
17b6cf0974 qvariant doean't have toReal, build++
svn path=/trunk/KDE/kdelibs/; revision=1030886
2009-10-03 12:30:00 +00:00
Igor Trindade Oliveira
cab81476e3 fix: rounded-off errors
svn path=/trunk/KDE/kdelibs/; revision=1030709
2009-10-03 03:27:52 +00:00
Igor Trindade Oliveira
a73a22d713 SVN_SILENT: timer--, remove one timer
svn path=/trunk/KDE/kdelibs/; revision=1030290
2009-10-02 04:05:21 +00:00
Adenilson Cavalcanti Da Silva
0373ff836d Tweaking kinetic scrolling parameters to slow down a bit.
It also started to use QRectF to improve precision (should make
movement smoother).


svn path=/trunk/KDE/kdelibs/; revision=1030203
2009-10-01 20:44:40 +00:00
Adenilson Cavalcanti Da Silva
99cdc241c3 Making kinetic scrolling class generic.
The current design uses 3 properties to calculate movement (horizontal/vertical 
position and the viewport size) being up to the client class (e.g. ScrollWidget)
move its widgets when the position property changed.

It will allow to reuse the kinetic scrolling class with other plasmoids.


svn path=/trunk/KDE/kdelibs/; revision=1030136
2009-10-01 16:47:19 +00:00
Chani Armitage
cd65144478 rightclick on popupapplet's dialog behaves like
rightclick on the applet itself

svn path=/trunk/KDE/kdelibs/; revision=1029866
2009-09-30 23:07:42 +00:00
Aaron J. Seigo
4cd5189513 in case of job failure, be sure we don't leave the context menu just hanging around there
svn path=/trunk/KDE/kdelibs/; revision=1029846
2009-09-30 21:42:05 +00:00
Aaron J. Seigo
326a6a4b18 proper caching, and only caching when we need to
svn path=/trunk/KDE/kdelibs/; revision=1029074
2009-09-28 21:54:00 +00:00
Aaron J. Seigo
79a826e17c don't hang on to the overlay in FrameSvg, rely on the pixmap cache for that
svn path=/trunk/KDE/kdelibs/; revision=1029052
2009-09-28 21:02:24 +00:00
Marco Martin
65a85e7a3d fade out the tabs text at the edges of the tabbar if the tabs are too
many for the space 

svn path=/trunk/KDE/kdelibs/; revision=1028649
2009-09-27 20:23:13 +00:00
Marco Martin
d9d71fcb93 use the toolbox background svg for the toolbox background
svn path=/trunk/KDE/kdelibs/; revision=1028014
2009-09-25 13:30:30 +00:00
Laurent Montel
b3b520f1aa Fix crash when urlLists is empty (for example when frame applet is not configuring)
svn path=/trunk/KDE/kdelibs/; revision=1027917
2009-09-25 06:58:32 +00:00