Commit Graph

475 Commits

Author SHA1 Message Date
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