Commit Graph

4458 Commits

Author SHA1 Message Date
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
Script Kiddy
28a8bde40d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1024781
2009-09-17 09:29:41 +00:00
Script Kiddy
598bba8c9a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1024780
2009-09-17 09:27:02 +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
David Faure
c533ee9e32 Another unit test breakage
CCMAIL: r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdelibs/; revision=1023883
2009-09-15 13:08:07 +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
Script Kiddy
9fbb153d8f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1023227
2009-09-14 09:52:10 +00:00
Laurent Montel
35a5992edc Pedanti
svn path=/trunk/KDE/kdelibs/; revision=1023178
2009-09-14 06:08:46 +00:00
David Faure
c06a55821e Fix unit test - "defaultconfig" was added in r1018655 by scheepmaker.
CCMAIL: r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdelibs/; revision=1023105
2009-09-13 22:25:03 +00:00
Marco Martin
58b8324d0e now it is setPixmap(RadioButton *)
svn path=/trunk/KDE/kdelibs/; revision=1023069
2009-09-13 20:16:32 +00:00
Marco Martin
67515c758a always use plasma::theme font, unless somebody call setFont on the
widget                                                                                
round two: sync the native widgets fonts with the plasma::theme font,                 
unless setFont was called

svn path=/trunk/KDE/kdelibs/; revision=1023050
2009-09-13 19:18:29 +00:00
Aaron J. Seigo
1730d86a73 add some properties and isDown()
svn path=/trunk/KDE/kdelibs/; revision=1023016
2009-09-13 18:12:32 +00:00
Aaron J. Seigo
f2af7e8087 kicon and qicon are treated differnetly internally by KPushButton, so we unforunately we need to provide an overload here
svn path=/trunk/KDE/kdelibs/; revision=1022998
2009-09-13 17:37:36 +00:00
Aaron J. Seigo
1b53393043 put it in the template too
svn path=/trunk/KDE/kdelibs/; revision=1022991
2009-09-13 17:17:02 +00:00
Aaron J. Seigo
9525a9a267 clean up the svg if we change the image strategy
svn path=/trunk/KDE/kdelibs/; revision=1022990
2009-09-13 17:15:56 +00:00
Aaron J. Seigo
45b39e84c4 * repaint the svg when the theme changes
* delete the svg before creating a new one
* only create a new svg object if the path has changed

svn path=/trunk/KDE/kdelibs/; revision=1022989
2009-09-13 17:13:55 +00:00
Aaron J. Seigo
0ab4b19c25 add press/release signals
svn path=/trunk/KDE/kdelibs/; revision=1022977
2009-09-13 16:50:00 +00:00
Marco Martin
5cc2ddf8ad always use plasma::theme font, unless somebody call setFont on the
widget
round one:widgets that draws themselves without native()-render()
and don't have a setFont function themselves

svn path=/trunk/KDE/kdelibs/; revision=1022897
2009-09-13 13:13:55 +00:00
Marco Martin
a827d621f8 use the plasma font...
unless someone called QGraphicsWidget::setFont()

svn path=/trunk/KDE/kdelibs/; revision=1022790
2009-09-12 15:05:39 +00:00
Andreas Kling
6e412aedd9 Fixed crash upon exiting a config dialog when compiled without ENABLE_REMOTE_WIDGETS
svn path=/trunk/KDE/kdelibs/; revision=1022715
2009-09-12 11:07:11 +00:00
Aaron J. Seigo
7d23823095 label the widgets section with a title as well
svn path=/trunk/KDE/kdelibs/; revision=1022572
2009-09-12 03:48:56 +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
0dca592af9 * use the size hint of the message and the size of the applet to decide whether or not to embed the message or pop it out
* parent the widgets properly (fewer warnings at runtime, yay!)
* --unhelpfulKDebug();

svn path=/trunk/KDE/kdelibs/; revision=1022545
2009-09-12 00:37:32 +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
Aaron J. Seigo
6297027cba harmonize this code a bit
svn path=/trunk/KDE/kdelibs/; revision=1022541
2009-09-12 00:18:57 +00:00
Aaron J. Seigo
b5d5a9a924 remove a bunch of dead code and some dptr member vars thanks to reliance on the kwin effects
svn path=/trunk/KDE/kdelibs/; revision=1022539
2009-09-12 00:18:26 +00:00
Script Kiddy
01f4349a78 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1022246
2009-09-11 09:37:48 +00:00
Aaron J. Seigo
a859eb502a use the font for the fontmetrics that it's actually painting with
svn path=/trunk/KDE/kdelibs/; revision=1022199
2009-09-11 03:17:42 +00:00
Artur Duque de Souza
6dab30af74 Use KUrl instead of plain QString to enable the use of
full urls like nepomuksearch:/ .

svn path=/trunk/KDE/kdelibs/; revision=1022157
2009-09-10 22:53:41 +00:00
Aaron J. Seigo
d1c51d506d put the whitelist in its own config key
svn path=/trunk/KDE/kdelibs/; revision=1022152
2009-09-10 22:26:14 +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
664a262df2 use the width of the largest word as the width size hint
svn path=/trunk/KDE/kdelibs/; revision=1022099
2009-09-10 19:55:29 +00:00
Marco Martin
f3ef2e4a0f SVN_SILENT: new line
svn path=/trunk/KDE/kdelibs/; revision=1021966
2009-09-10 11:46:21 +00:00
Marco Martin
842e0349a6 map the mose movement to the rotation part of the applet transform
svn path=/trunk/KDE/kdelibs/; revision=1021964
2009-09-10 11:45:19 +00:00
Laurent Montel
c89700f775 change extension to .cmake (as for other config-* files in kde)
svn path=/trunk/KDE/kdelibs/; revision=1021824
2009-09-10 07:26:04 +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
Dirk Mueller
92fc9efd2e fix build without libqca2 being available
svn path=/trunk/KDE/kdelibs/; revision=1021661
2009-09-09 18:47:11 +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
Rob Scheepmaker
19e7f85056 Check for supported features in QCA before actually using the stuff.
svn path=/trunk/KDE/kdelibs/; revision=1021634
2009-09-09 17:36:17 +00:00
Marco Martin
1e4746035f set margins around the icon dependent on the svg margins or on the
widget's contentsmargins if set

svn path=/trunk/KDE/kdelibs/; revision=1021623
2009-09-09 17:03:22 +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
Rob Scheepmaker
c96119f4ed Rename the config.h.in to config-plasma.h.in for some added clarity.
svn path=/trunk/KDE/kdelibs/; revision=1021587
2009-09-09 15:37:03 +00:00
Rob Scheepmaker
602ef9280f Let's just use kdewallet instead of a seperate wallet for plasma.
svn path=/trunk/KDE/kdelibs/; revision=1021548
2009-09-09 13:47:51 +00:00