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