Commit Graph

4647 Commits

Author SHA1 Message Date
Aaron J. Seigo
72c4534396 SVN_SILENT: more ws
svn path=/trunk/KDE/kdelibs/; revision=1026461
2009-09-21 20:37:06 +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
Aaron J. Seigo
543f6fa81c SVN_SILENT: --warnings
svn path=/trunk/KDE/kdelibs/; revision=1026397
2009-09-21 18:15:42 +00:00
Aaron J. Seigo
2590b21978 SVN_SILENT: style fixes
svn path=/trunk/KDE/kdelibs/; revision=1026383
2009-09-21 16:48:19 +00:00
Marco Martin
66fb9378c0 fix size hints
svn path=/trunk/KDE/kdelibs/; revision=1026340
2009-09-21 14:14:38 +00:00
Marco Martin
819a0f6dbc proper namespace, fix build
svn path=/trunk/KDE/kdelibs/; revision=1026330
2009-09-21 14:00:53 +00:00
Marco Martin
1bf822a0a1 meaningful size hints
svn path=/trunk/KDE/kdelibs/; revision=1026328
2009-09-21 13:57:32 +00:00
Aaron J. Seigo
bd7cbf7773 use the popup only when the applet isn't our parent
svn path=/trunk/KDE/kdelibs/; revision=1026224
2009-09-21 06:58:24 +00:00
Aaron J. Seigo
7ad7bfd634 set d->target sooner so that the code in setTarget(QRectF) works properly
svn path=/trunk/KDE/kdelibs/; revision=1026219
2009-09-21 06:17:04 +00:00
Aaron J. Seigo
76dfb7c57e be able to set the borders of the frame to show/paint; one of the things i really dislike about QFrame, now solved in Plasma::Frame
svn path=/trunk/KDE/kdelibs/; revision=1026213
2009-09-21 05:29:47 +00:00
Aaron J. Seigo
7b5f1d4e35 since the target is destroyed, reset our internal pointer so we don't subsequently access it in setTargetItem and die a horrible death. corrects crashes in SAL.
svn path=/trunk/KDE/kdelibs/; revision=1026212
2009-09-21 05:26:12 +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
Script Kiddy
390f43b365 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1025949
2009-09-20 09:20:56 +00:00
Artur Duque de Souza
acccae4eb4 Adding myself in the list of authors :)
svn path=/trunk/KDE/kdelibs/; revision=1025842
2009-09-19 21:03:54 +00:00
Maks Orlovich
6eb0944449 automatically merged revision 1014782:
Major fixes to SVG CSS parsing + attribute/CSS mapping.
Also cleanup some compat layer bloat (I think I really 
should do it wholesale at some point, though, since 
even small tweaks tend to flow up)

This still needs RenderStyle computation fixes 
(and a few more parsing fixes) to really take effect, though.

svn path=/trunk/KDE/kdelibs/; revision=1025788
2009-09-19 17:29:24 +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
Marco Martin
e24e0294e3 was width, not height
svn path=/trunk/KDE/kdelibs/; revision=1025763
2009-09-19 16:06:41 +00:00
Marco Martin
7e23f237c6 correctly align the button pixmap
svn path=/trunk/KDE/kdelibs/; revision=1025760
2009-09-19 15:59:20 +00:00
Marco Martin
48fe7cee90 assign d->target later or the comparison is always false, connect to
destroyed and crash--

svn path=/trunk/KDE/kdelibs/; revision=1025756
2009-09-19 15:50:06 +00:00
Marco Martin
efbe7150fd enable/disable shadows and scrollbard indipendently
svn path=/trunk/KDE/kdelibs/; revision=1025749
2009-09-19 15:35:16 +00:00
Jacopo De Simoi
94b684c01c make sure to disconnect the _old_ target from the itembackground, not the new one with itself
svn path=/trunk/KDE/kdelibs/; revision=1025709
2009-09-19 13:30:58 +00:00
Aaron J. Seigo
1b05349652 textchanged signal
svn path=/trunk/KDE/kdelibs/; revision=1025553
2009-09-19 03:27:56 +00:00
Aaron J. Seigo
2f535d5516 if we have a target item and the target is visible but the background item isn't, show the background item and just move it into place
svn path=/trunk/KDE/kdelibs/; revision=1025473
2009-09-18 21:24:14 +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
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