Commit Graph

648 Commits

Author SHA1 Message Date
Marco Martin
fda0f6c4de put the windows in tooltips in the list of the highlight effect
svn path=/trunk/KDE/kdelibs/; revision=1047602
2009-11-11 15:18:52 +00:00
Aaron J. Seigo
b9ea759162 split out the private class into its own file
svn path=/trunk/KDE/kdelibs/; revision=1047325
2009-11-11 00:25:27 +00:00
Aaron J. Seigo
4aba68d9d7 filter all offers lists consistently with the constraints
svn path=/trunk/KDE/kdelibs/; revision=1047324
2009-11-11 00:24:49 +00:00
Marco Martin
76c1377ed9 the destroy action is now accessible with action("close")
svn path=/trunk/KDE/kdelibs/; revision=1047295
2009-11-10 22:13:00 +00:00
Marco Martin
22d9d97acc add missing member
svn path=/trunk/KDE/kdelibs/; revision=1047084
2009-11-10 12:34:13 +00:00
Aaron J. Seigo
6de1341e1b fix resize-after-move, which was seriously annoying me for a while now; thankfully it was an easy fix :)
svn path=/trunk/KDE/kdelibs/; revision=1045892
2009-11-06 22:34:22 +00:00
Aaron J. Seigo
75e482fae2 only insert a delay before moving the drop zone the first time its shown; be sure to also reset the drop point
svn path=/trunk/KDE/kdelibs/; revision=1045332
2009-11-05 20:27:08 +00:00
Aaron J. Seigo
7acbfbc47f be sure to always have a containment!
BUG:206379

svn path=/trunk/KDE/kdelibs/; revision=1045316
2009-11-05 19:17:00 +00:00
Aaron J. Seigo
8f3e0d5494 unhighlight when setShow is called; fixes the toolbox in the panel not going back to grey when the toolbox is hidden by clicking on another window
svn path=/trunk/KDE/kdelibs/; revision=1045294
2009-11-05 18:03:33 +00:00
Aaron J. Seigo
16b5fcc766 cache whether or not the wallaper is actually a full package (dir + metadata) and on render hints changing just look for the best paper if we are a full package; preserves rendering for single image papers in the wallpaper config
BUG:212930

svn path=/trunk/KDE/kdelibs/; revision=1044424
2009-11-03 18:35:40 +00:00
Marco Martin
4fa7e72b1b if the tooltip contains windows, highlight it too
svn path=/trunk/KDE/kdelibs/; revision=1042991
2009-10-31 12:33:08 +00:00
Petri Damstén
289b9ac1eb Add WallpaperScript.
Review: http://reviewboard.kde.org/r/1984/

svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Marco Martin
dd581265cf move the extra border in the size hint
svn path=/trunk/KDE/kdelibs/; revision=1041792
2009-10-28 14:19:34 +00:00
Marco Martin
6808c61eca when the internal widget won't scroll in -any- direction ignore the
wheel

svn path=/trunk/KDE/kdelibs/; revision=1041331
2009-10-27 20:16:51 +00:00
Marco Martin
d86cac78e4 crash--
svn path=/trunk/KDE/kdelibs/; revision=1041323
2009-10-27 19:48:00 +00:00
Marco Martin
25d1f3f5b6 if the sub widget can't scroll at all, just ignore the mouse event
svn path=/trunk/KDE/kdelibs/; revision=1041272
2009-10-27 18:04:02 +00:00
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
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
Albert Astals Cid
376e23e095 const & in foreach variables
svn path=/trunk/KDE/kdelibs/; revision=1027710
2009-09-24 14:24:46 +00:00
Marco Martin
d733458a0d be sure be sure we're using the !base" prefix
svn path=/trunk/KDE/kdelibs/; revision=1027242
2009-09-23 16:37:47 +00:00
Marco Martin
6c4ec4f091 use the lineedit element
svn path=/trunk/KDE/kdelibs/; revision=1027232
2009-09-23 16:18:38 +00:00
Rob Scheepmaker
5b56a34dfa Support drag & drop of plasma:// and plasma+zeroconf:// urls onto plasma containments.
svn path=/trunk/KDE/kdelibs/; revision=1026777
2009-09-22 15:29:08 +00:00
Aaron J. Seigo
19f55f804b packages can now generate a hash of their contents; inc unit test
svn path=/trunk/KDE/kdelibs/; revision=1026489
2009-09-21 21:37:44 +00:00
Adenilson Cavalcanti Da Silva
da3ece21e8 Fixing kinetic scrolling with thinkpad 'scrollwheel'
Since it generates lots of wheel events, it was re-triggering the bouncer
animation before it was completed. The result was a 'jittering' (d)effect.

I also increased the friction factor to make it scroll slower.


svn path=/trunk/KDE/kdelibs/; revision=1026404
2009-09-21 18:38:53 +00:00
Igor Trindade Oliveira
03dbe67aae fix horizontal kinetic scrolling
svn path=/trunk/KDE/kdelibs/; revision=1026072
2009-09-20 18:21:41 +00:00
Laurent Montel
ce0cb1e916 Fix "Warning: Class ToolBox implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!" with qt-4.6
svn path=/trunk/KDE/kdelibs/; revision=1025997
2009-09-20 12:53:16 +00:00
Igor Trindade Oliveira
03ab1a611a horizontal kinetic scrolling working right now
svn path=/trunk/KDE/kdelibs/; revision=1025781
2009-09-19 17:07:56 +00:00
Laurent Montel
1a8d9c1030 const'ify
svn path=/trunk/KDE/kdelibs/; revision=1025302
2009-09-18 10:26:43 +00:00
Igor Trindade Oliveira
770791bcaa SVN_SILENT: remove repeated code
svn path=/trunk/KDE/kdelibs/; revision=1025262
2009-09-18 09:27:04 +00:00
Igor Trindade Oliveira
f4b99c99d7 change name: from overshut to overshoot
svn path=/trunk/KDE/kdelibs/; revision=1025203
2009-09-18 08:56:09 +00:00
Adenilson Cavalcanti Da Silva
974df6773a Adding a kinetic scrolling class and using it in plasma::ScrollWidget.
ATM, it uses timers to do the animation, the idea is to use factory pattern
and implement the animation with QProperyAnimation too (using Qt 4.6).


svn path=/trunk/KDE/kdelibs/; revision=1024929
2009-09-17 16:24:19 +00:00
Marco Martin
08d49e6fd0 introducing the concept of associated application:
an an application and/or an url list can be associated with an aplet
and a context menu entry and an applet handle button will be added to
launch that application.
the applet will be considered a preview of something, where the
application its full view, for example the picture frame can open
gwenview

svn path=/trunk/KDE/kdelibs/; revision=1024487
2009-09-16 17:08:45 +00:00
Aaron J. Seigo
6a9a5ec1a8 make sure we get images in the format we need them to be in; fixes issues on 16bit displays
svn path=/trunk/KDE/kdelibs/; revision=1023999
2009-09-15 19:21:17 +00:00
Laurent Montel
b37aeeeaa8 not necessary
svn path=/trunk/KDE/kdelibs/; revision=1023837
2009-09-15 11:36:39 +00:00
Rob Scheepmaker
413f8da6b3 And port to the new api, and rename the copy.
svn path=/trunk/KDE/kdelibs/; revision=1023814
2009-09-15 11:12:45 +00:00
Rob Scheepmaker
baa782e764 Remove the old qtjolie fork, and copy in the current qtjolie, since that one now has all the features remote widgets require.
svn path=/trunk/KDE/kdelibs/; revision=1023804
2009-09-15 11:04:17 +00:00
Aaron J. Seigo
432ad10dbe clean up after a drop
svn path=/trunk/KDE/kdelibs/; revision=1022560
2009-09-12 02:38:10 +00:00
Sebastian Kügler
36b30b8751 Don't special-case local files for dropped content
Now all (local and remote) file drops use KIO to retrieve the mimetype.

svn path=/trunk/KDE/kdelibs/; revision=1022557
2009-09-12 01:44:01 +00:00
Aaron J. Seigo
229deb1d29 if the applet is a popup applet and is in the panel and has a dialog then show messages in a popup as well
svn path=/trunk/KDE/kdelibs/; revision=1022543
2009-09-12 00:19:42 +00:00
Marco Martin
01d626b7f4 toggle toolbox only if it was visible
svn path=/trunk/KDE/kdelibs/; revision=1022111
2009-09-10 20:31:45 +00:00
Marco Martin
fb365bfbf1 when an action is triggered really close the toolbox, don't just hide it
svn path=/trunk/KDE/kdelibs/; revision=1022109
2009-09-10 20:23:07 +00:00
Marco Martin
ae59b63602 resize of rotated applets -almost- correct.. almost..
svn path=/trunk/KDE/kdelibs/; revision=1021737
2009-09-09 22:24:49 +00:00
André Wöbbeking
e1c7e86bcf compile without QCA
CCMAIL:r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdelibs/; revision=1021723
2009-09-09 21:54:31 +00:00
Marco Martin
f56a174cd3 map the movement to the rotation transform
svn path=/trunk/KDE/kdelibs/; revision=1021647
2009-09-09 18:08:00 +00:00
Aaron J. Seigo
85defb5470 start of making the applet handle a child of the applet, stacked behind. a lot less code, preserves the geometry caches in the scene. also removes a ton of update() calls that aren't necessary these days. result -> a lot snappier/smoother. still some positioning bugs due to the change in parenting in the code, but definitely the direction we need to be going in.
svn path=/trunk/KDE/kdelibs/; revision=1021595
2009-09-09 16:14:20 +00:00
Kevin Ottens
4f8e3e3333 Merging in relevant changes from the libplasma private fork. Porting
tests as required.

CCMAIL: r.scheepmaker@student.utwente.nl
CCMAIL: aseigo@kde.org

svn path=/branches/work/~ervin/qtjolie/; revision=1020942
2009-09-07 17:01:03 +00:00
Olivier Goffart
705b930ca3 Optimize the drawning of blur text.
Drawing the blur text takes 65% of the time while changing desktop on my desktop
(40 opened windows)

QImage::width() and QImage::height() are not inline, do not call them on a tight
loop or they consume 10% of the time.

Reviewed by Alexis



svn path=/trunk/KDE/kdelibs/; revision=1020918
2009-09-07 15:27:36 +00:00
Aaron J. Seigo
b32e268e15 meh; can't move these files into a subdir as-is; need to think of a more clever strategy
svn path=/trunk/KDE/kdelibs/; revision=1019657
2009-09-04 08:58:34 +00:00
Rob Scheepmaker
c69e570b68 Add "freely accessable for everybody" checkbox to the publish page in
the applet config.

svn path=/trunk/KDE/kdelibs/; revision=1019593
2009-09-04 00:08:26 +00:00
Rob Scheepmaker
fb14be1caa Add a checkbox to the publication ui.
svn path=/trunk/KDE/kdelibs/; revision=1019592
2009-09-04 00:08:22 +00:00
Rob Scheepmaker
9e165484bc No more crashy crashy on timeouty timeouty.
svn path=/trunk/KDE/kdelibs/; revision=1019582
2009-09-03 23:04:10 +00:00
Aaron J. Seigo
1e6aaec27f extenders into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00
Aaron J. Seigo
b711b96ee0 runner infra into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019561
2009-09-03 21:21:27 +00:00
Aaron J. Seigo
01ec8984e2 more remote code into a subdir
svn path=/trunk/KDE/kdelibs/; revision=1019555
2009-09-03 21:10:33 +00:00
Aaron J. Seigo
2d9352d7b8 this is private code
svn path=/trunk/KDE/kdelibs/; revision=1019546
2009-09-03 20:38:18 +00:00
Rob Scheepmaker
a2206eddda Fix the mutliple inheritence from QObject issue... people having this
problem: rejoice!

svn path=/trunk/KDE/kdelibs/; revision=1019153
2009-09-03 00:12:57 +00:00
Rob Scheepmaker
5b160ac802 Make policykit stuff 'work' (well, it doesn't, I'll still have to figure
out why, but the basic code is there), and delay the starting of the
jolie service and unlocking of the keyring for your credentials to when
it's actually needed.

svn path=/trunk/KDE/kdelibs/; revision=1019142
2009-09-02 23:49:58 +00:00
Rob Scheepmaker
b809967eb3 APIDOX and code style++, plus policykit integration.
svn path=/trunk/KDE/kdelibs/; revision=1019141
2009-09-02 23:49:46 +00:00
Aaron J. Seigo
6e221c92a4 this is private stuff
svn path=/trunk/KDE/kdelibs/; revision=1019046
2009-09-02 17:35:52 +00:00
Laurent Montel
f8949919b2 Fixuifiles
svn path=/trunk/KDE/kdelibs/; revision=1018956
2009-09-02 11:32:57 +00:00
Laurent Montel
083c419616 install as component devel
svn path=/branches/work/~ervin/qtjolie/; revision=1018785
2009-09-02 07:50:40 +00:00
Laurent Montel
677240d7b4 Backport:
fix mem leak

svn path=/branches/work/~ervin/qtjolie/; revision=1018784
2009-09-02 07:49:47 +00:00
Laurent Montel
a5f8b8b6b5 Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1018782
2009-09-02 07:44:26 +00:00
Laurent Montel
117ed60de6 Remove it
svn path=/trunk/KDE/kdelibs/; revision=1018762
2009-09-02 06:33:34 +00:00
Laurent Montel
1ea1aef8b2 Fix pedantic
svn path=/trunk/KDE/kdelibs/; revision=1018761
2009-09-02 06:30:51 +00:00
Kevin Ottens
9e88e6122e Make it build from within kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=1018759
2009-09-02 06:28:32 +00:00
Laurent Montel
8bbcbb618e Fix include
svn path=/trunk/KDE/kdelibs/; revision=1018758
2009-09-02 06:27:04 +00:00
Laurent Montel
b2baaa2364 Fix include
svn path=/trunk/KDE/kdelibs/; revision=1018756
2009-09-02 06:22:26 +00:00
Laurent Montel
1423d3e38b Pedantic fix include
(someone tested compile ???)

svn path=/trunk/KDE/kdelibs/; revision=1018754
2009-09-02 06:17:35 +00:00
Laurent Montel
9e3debb423 Fix include
svn path=/trunk/KDE/kdelibs/; revision=1018748
2009-09-02 06:07:09 +00:00
Laurent Montel
9d3b20b0e5 Pedantic
svn path=/trunk/KDE/kdelibs/; revision=1018746
2009-09-02 06:04:55 +00:00
Dario Freddi
ecae08ad20 Fix the build
svn path=/trunk/KDE/kdelibs/; revision=1018657
2009-09-02 02:36:12 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Rob Scheepmaker
c5e2a61a65 non compiling skeleton code
svn path=/trunk/KDE/kdelibs/; revision=1018653
2009-09-02 02:21:41 +00:00
Aaron J. Seigo
88faa0813f only toggle on left click and let other click go through
svn path=/trunk/KDE/kdelibs/; revision=1017716
2009-08-31 09:30:13 +00:00
Chani Armitage
024d23a07f for contextmenu events triggered by the mouse on the containment, fall
through to the mouse events. it's easier to handle that way

svn path=/trunk/KDE/kdelibs/; revision=1017492
2009-08-30 18:52:10 +00:00
Chani Armitage
93aead97a1 allow click-throughs for the containment's graphicsitems
this makes folderview happier, yay

svn path=/trunk/KDE/kdelibs/; revision=1017491
2009-08-30 18:52:05 +00:00
Aaron J. Seigo
37f65858dc prevent duplicate actions in the toolbox
BUG:200981

svn path=/trunk/KDE/kdelibs/; revision=1016829
2009-08-29 00:33:27 +00:00
Marco Martin
f21674ae8b uuh, whi that code was commented out?
svn path=/trunk/KDE/kdelibs/; revision=1015529
2009-08-25 18:54:42 +00:00
Chani Armitage
d2cf2d781c replace hasConfig functions with a .desktop entry
svn path=/trunk/KDE/kdelibs/; revision=1015267
2009-08-25 03:22:15 +00:00
Reza Shah
9ad7c00c23 This fixed drawing problem for scollbar's slider at horizontal orientation.
For smallest size, the slider not will not drawn properly (cut on the right side).

svn path=/trunk/KDE/kdelibs/; revision=1015241
2009-08-25 00:39:53 +00:00
Aaron J. Seigo
7890d0c816 * unify the code that positions the message overlay
* always use contentsRect(), never geometry or boundingRect; this prevents how it sometimes overlaps the borders of applets
* always make sure that the zOrder is set, not just in the non-popup case

svn path=/trunk/KDE/kdelibs/; revision=1015154
2009-08-24 17:27:24 +00:00
Chani Armitage
f9317c11e6 no more d->containment
svn path=/trunk/KDE/kdelibs/; revision=1014483
2009-08-23 01:13:25 +00:00
Marco Martin
70f4e5aee6 oops, that 1|| was bogus of course
svn path=/trunk/KDE/kdelibs/; revision=1014445
2009-08-22 20:52:03 +00:00
Marco Martin
195e3a709d also check the size hint as minimum size
boundingrect-boundingrect=0, what we want is contentsrect

svn path=/trunk/KDE/kdelibs/; revision=1014443
2009-08-22 20:49:12 +00:00