Commit Graph

4678 Commits

Author SHA1 Message Date
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
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
3037b9823d more consistent naming for containments
svn path=/trunk/KDE/kdelibs/; revision=1032391
2009-10-07 18:31:14 +00:00
Aaron J. Seigo
d3b0d566b1 add kconfigxt files to make this a bit more sys admin friendly
svn path=/trunk/KDE/kdelibs/; revision=1032390
2009-10-07 18:18:38 +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
Marco Martin
d8e084c77e be based also on the widget parent applet location for removing the proper borders
svn path=/trunk/KDE/kdelibs/; revision=1032273
2009-10-07 13:04:09 +00:00
Marco Martin
155bfdc62a reparenting them to zero means they won't get destroyed when the parent
widget/applet will be destroyed

svn path=/trunk/KDE/kdelibs/; revision=1032271
2009-10-07 12:59:43 +00:00
Aaron J. Seigo
947e2cd632 show() causes an implicit animation which will emit target[Item]Reached signals; this makes the first show smoother in the device notifier
svn path=/trunk/KDE/kdelibs/; revision=1032154
2009-10-07 04:16:39 +00:00
Adenilson Cavalcanti Da Silva
e749331979 Using the viewport/content size ratio to inform the geometry.
It ensures that at least the page will scroll correctly (i.e. advancing
just 1 page down) in webpages that are too long (e.g. kdeplanet).


svn path=/trunk/KDE/kdelibs/; revision=1032052
2009-10-06 18:31:47 +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
Aaron J. Seigo
bd5359ca8f setTarget -> targetReached, setTargetItem -> targetItemReached
svn path=/trunk/KDE/kdelibs/; revision=1032017
2009-10-06 16:44:23 +00:00
Aaron J. Seigo
70b3847210 make moving between items with different parents work a bit better ;)
svn path=/trunk/KDE/kdelibs/; revision=1031762
2009-10-05 22:44:08 +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