Adenilson Cavalcanti Da Silva
32121a4bdf
Migrating Plasma::Containment appear animation to ZoomAnimation (it works
...
smoother and the code is simpler).
svn path=/trunk/KDE/kdelibs/; revision=1063088
2009-12-16 22:33:30 +00:00
Marco Martin
2afa60e695
don't mix scene coordinates and parent ones
...
so don't move widgets in totally absurd places
svn path=/trunk/KDE/kdelibs/; revision=1063024
2009-12-16 18:51:08 +00:00
Fredrik Höglund
744065edab
Tweak the halo effect for long strings.
...
svn path=/trunk/KDE/kdelibs/; revision=1061622
2009-12-12 14:31:05 +00:00
Anne-Marie Mahfouf
a57ac6ee4b
fix build
...
svn path=/trunk/KDE/kdelibs/; revision=1061574
2009-12-12 10:25:12 +00:00
Marco Martin
8f2da96f51
again forgotten the private header in r1061477, sorry :(
...
svn path=/trunk/KDE/kdelibs/; revision=1061554
2009-12-12 08:25:00 +00:00
Carlo Segato
5ad6ec030b
add missing extenderItemDestroyed declaration
...
svn path=/trunk/KDE/kdelibs/; revision=1061533
2009-12-12 01:36:45 +00:00
Adenilson Cavalcanti Da Silva
48af57c6ce
Migrating Plasma Applet disappear animation to ZoomAnimation (it works
...
smoother and the code is simpler).
svn path=/trunk/KDE/kdelibs/; revision=1061465
2009-12-11 19:53:55 +00:00
Adenilson Cavalcanti Da Silva
5a721b9bad
Creating a QEasingCurve object in AnimationPrivate and allowing access to
...
it to all Animation derived classes.
The idea is that the user can select the easing curve (if the it makes sense
in the animation).
svn path=/trunk/KDE/kdelibs/; revision=1060687
2009-12-09 16:28:27 +00:00
Adenilson Cavalcanti Da Silva
b8e57d0ca0
Removing non longer necessary data members of AnimationPrivate.
...
svn path=/trunk/KDE/kdelibs/; revision=1060665
2009-12-09 15:18:58 +00:00
Igor Trindade Oliveira
9e736804c9
add support for easing curves
...
svn path=/trunk/KDE/kdelibs/; revision=1060395
2009-12-08 19:29:03 +00:00
Ambroz Bizjak
07fcab757c
Simplify some math
...
svn path=/trunk/KDE/kdelibs/; revision=1059914
2009-12-07 16:54:25 +00:00
Beat Wolf
438abba607
fix scaling, patch by Rickard Närström.
...
BUG:186188
svn path=/trunk/KDE/kdelibs/; revision=1059840
2009-12-07 14:28:38 +00:00
Ambroz Bizjak
4da40dc616
Fix the rest of rotation and resizing.
...
svn path=/trunk/KDE/kdelibs/; revision=1059590
2009-12-07 00:56:22 +00:00
Ambroz Bizjak
4325dd1e40
Calculate initial m_angle, simplify _k_rotatePoint
...
svn path=/trunk/KDE/kdelibs/; revision=1059568
2009-12-06 23:17:33 +00:00
Marco Martin
ac7e75f460
unfortunately this has to be disabled since blocks clicks on webview :/
...
svn path=/trunk/KDE/kdelibs/; revision=1059153
2009-12-05 22:18:15 +00:00
Aaron J. Seigo
e29ca567bc
sync up the dptr to what's actually used now
...
svn path=/trunk/KDE/kdelibs/; revision=1058153
2009-12-04 01:02:54 +00:00
Adenilson Cavalcanti Da Silva
818e93a576
Amazon sized patch... So many changes that I can hardly remember what they are,
...
but this is the list from what I can recall:
- removing expand animation (it is a case of grow animation)
- removing AbstractAnimation and using QAbstractAnimation as the common base
- animations are non longer factories, but real animation (so it is just no
issue to mesh then with user created animations)
- animation group will correctly revert the direction of all subanimations
(useful for rewinding an animation)
- fixed opacity effect in pulse animation (now it works correctly)
- there is not 'forward' property, but animation 'direction' (this is how
rewinding an animation must be done)
- direction now is movementDirection property (used in SlideAnimation and RotationStacked)
- the weakpointer for the actual animaiton is non longer in AnimationPrivate but
in each specialized animation class
- hide property is being removed (in progress) since it really is a case of Fade
I guess this is it, now is just a matter of iron out the remaining bugs and polish
the public API.
svn path=/trunk/KDE/kdelibs/; revision=1057993
2009-12-03 19:30:02 +00:00
Bruno Bigras
65455b418b
Revert "Fix a bug when a plasmoid could be resized to a smaller value than it's minimumSize"
...
Fix _k_rotatePoint so it returns 0,0 when rotating a 0,0 point
svn path=/trunk/KDE/kdelibs/; revision=1057684
2009-12-03 06:13:38 +00:00
Bruno Bigras
7e35361bf4
Fix a bug when a plasmoid could be resized to a smaller value than it's minimumSize
...
svn path=/trunk/KDE/kdelibs/; revision=1057530
2009-12-02 18:51:06 +00:00
Alexis Ménard
4493bbd4f7
ARM compile++
...
qreal is float on ARM.
svn path=/trunk/KDE/kdelibs/; revision=1057466
2009-12-02 14:17:34 +00:00
Marco Martin
db8ece1921
use qpropertyanimation: massively simplify the code
...
svn path=/trunk/KDE/kdelibs/; revision=1057438
2009-12-02 12:23:56 +00:00
Fredrik Höglund
82759f1094
Fix the squashed line edits.
...
svn path=/trunk/KDE/kdelibs/; revision=1056867
2009-12-01 00:58:28 +00:00
Fredrik Höglund
1deb1a958a
Add a margin between the button contents and the frame, and put some
...
space between the icon and the label.
svn path=/trunk/KDE/kdelibs/; revision=1056854
2009-12-01 00:39:44 +00:00
Marco Martin
bb659b52fc
dd missing members, fix build
...
svn path=/trunk/KDE/kdelibs/; revision=1055722
2009-11-28 15:54:49 +00:00
Marco Martin
6d38a2a3b6
use different focus and hover for horizontal and vertical sliders
...
svn path=/trunk/KDE/kdelibs/; revision=1055167
2009-11-27 13:42:00 +00:00
Marco Martin
495a00cc59
when the size changes resize all frames
...
svn path=/trunk/KDE/kdelibs/; revision=1054744
2009-11-26 17:26:06 +00:00
Marco Martin
08ae083579
now the toolbox can be accessed by subclasses, so funny things can happen, bury it under a QWeakPointer so
...
svn path=/trunk/KDE/kdelibs/; revision=1054267
2009-11-25 19:46:33 +00:00
Jacopo De Simoi
132b963dbe
Single runner mode in libplasma
...
svn path=/trunk/KDE/kdelibs/; revision=1053993
2009-11-25 09:37:47 +00:00
Aaron J. Seigo
c43ef1bcb8
make sure that we don't get hung up with old jobs that aren't enqueued anymore by checking for that case more often
...
svn path=/trunk/KDE/kdelibs/; revision=1053930
2009-11-25 01:54:44 +00:00
Aaron J. Seigo
5b61dd019e
private headers
...
svn path=/trunk/KDE/kdelibs/; revision=1053919
2009-11-25 01:08:35 +00:00
Marco Martin
a045136fe0
when resizing/rotating with multitouch, spply a transform, resize to the proper size only at touch end event
...
svn path=/trunk/KDE/kdelibs/; revision=1053705
2009-11-24 16:26:28 +00:00
Marco Martin
f97924aee3
move the geometry to a correct center
...
svn path=/trunk/KDE/kdelibs/; revision=1053216
2009-11-23 16:48:18 +00:00
Marco Martin
3b7483877d
if the widget can't scroll neither up or down, don't attempt to bounce
...
svn path=/trunk/KDE/kdelibs/; revision=1051560
2009-11-19 19:55:54 +00:00
Igor Trindade Oliveira
ad028bab20
clean ups
...
svn path=/trunk/KDE/kdelibs/; revision=1051540
2009-11-19 19:05:50 +00:00
Igor Trindade Oliveira
e1b3fb48a7
fix scrollAnimation parent
...
svn path=/trunk/KDE/kdelibs/; revision=1051528
2009-11-19 18:18:55 +00:00
Igor Trindade Oliveira
7468dea5da
fix disconnect
...
svn path=/trunk/KDE/kdelibs/; revision=1051480
2009-11-19 15:25:25 +00:00
Aaron J. Seigo
94da57f819
put dataEngine() support into AbstractRunner, joining the ranks of Applet, ContainmentActions, Wallpaper and the private PlasmoidService
...
svn path=/trunk/KDE/kdelibs/; revision=1051212
2009-11-19 00:19:11 +00:00
Adenilson Cavalcanti Da Silva
952612d95f
Removing debug messages.
...
svn path=/trunk/KDE/kdelibs/; revision=1051111
2009-11-18 21:47:10 +00:00
Adenilson Cavalcanti Da Silva
de36a7c42f
Fixing pulser position while animating (with less and more efficient
...
code). Suggestion by notmart.
svn path=/trunk/KDE/kdelibs/; revision=1051108
2009-11-18 21:33:24 +00:00
Marco Martin
62fb0d35ce
s/viewportGeometry/contentsSize/
...
svn path=/trunk/KDE/kdelibs/; revision=1051071
2009-11-18 19:55:59 +00:00
Igor Trindade Oliveira
af17b151d4
fix regression: make vertical and horizontal wheel event works again
...
svn path=/trunk/KDE/kdelibs/; revision=1051064
2009-11-18 19:30:56 +00:00
Igor Trindade Oliveira
939c85aafb
clean ups: remove warnings and constify
...
svn path=/trunk/KDE/kdelibs/; revision=1051044
2009-11-18 17:59:56 +00:00
Igor Trindade Oliveira
d0ddbe7b21
port kineticscrolling to Qt 4.6
...
svn path=/trunk/KDE/kdelibs/; revision=1051040
2009-11-18 17:35:50 +00:00
Aaron J. Seigo
fde2d95376
only show the busy widget if we've been busy for at least .5s (perhaps a full second would be ok?)
...
svn path=/trunk/KDE/kdelibs/; revision=1050748
2009-11-18 02:21:43 +00:00
Adenilson Cavalcanti Da Silva
acda971fa0
Set of changes:
...
- moved transformation reference inside of the the shadow pulse
class
- ensuring that the local pointer in pulser will correctly point to the
shadow object
- recreating the pixmap if the animated widget geometry has changed
svn path=/trunk/KDE/kdelibs/; revision=1050711
2009-11-17 22:53:08 +00:00
Marco Martin
862fb4cb70
manage touch events
...
svn path=/trunk/KDE/kdelibs/; revision=1050580
2009-11-17 17:34:27 +00:00
Petri Damstén
6fa744bb10
Call initScript in wallpaper init, otherwise initWallpaper might be called before initScript.
...
svn path=/trunk/KDE/kdelibs/; revision=1050504
2009-11-17 13:29:40 +00:00
David Faure
8d4cd6f3b3
missing header protection for enable-final
...
svn path=/trunk/KDE/kdelibs/; revision=1050278
2009-11-17 01:53:23 +00:00
Aaron J. Seigo
825b5d4dd7
fix enable final
...
svn path=/trunk/KDE/kdelibs/; revision=1050277
2009-11-17 01:48:12 +00:00
Marco Martin
644d5e363e
tabs--
...
svn path=/trunk/KDE/kdelibs/; revision=1050130
2009-11-16 18:20:18 +00:00
Panagiotis Papadopoulos
f6ab4863fb
Checkbox labels do not need a full stop according to KDE HIG
...
svn path=/trunk/KDE/kdelibs/; revision=1049572
2009-11-15 13:41:00 +00:00
Marco Martin
4988229770
support for touchEvents
...
svn path=/trunk/KDE/kdelibs/; revision=1049191
2009-11-14 17:33:00 +00:00
Laurent Montel
1602530c5c
compile
...
svn path=/trunk/KDE/kdelibs/; revision=1048307
2009-11-13 07:16:25 +00:00
Adenilson Cavalcanti Da Silva
702920c810
Starting to implement pixmap based pulse animation. The first implementation
...
assumed that there would exist a complete copy of the animated widget to
do the pulse (where another object is kept translucent and when the animation
is triggered, it will expand and fade at same time).
But is expensive to copy the whole widget, so the idea is to draw the target
widget in a pixmap and then do the pulse effect on the pixmap itself.
It is still broken, for some reason the opacity is failing to animate (should
fix this tomorrow).
svn path=/trunk/KDE/kdelibs/; revision=1048277
2009-11-13 01:20:51 +00:00
Marco Martin
377e6bf9c1
kineticscroll accepts keyboard events too, scrollwidget scrollbars don't
...
accept focus
svn path=/trunk/KDE/kdelibs/; revision=1048165
2009-11-12 20:44:02 +00:00
Marco Martin
ae59a44b81
support horizontal scrollwheels
...
svn path=/trunk/KDE/kdelibs/; revision=1048147
2009-11-12 20:17:30 +00:00
Igor Trindade Oliveira
fbd5f0411b
fix properties
...
svn path=/trunk/KDE/kdelibs/; revision=1048146
2009-11-12 20:15:43 +00:00
Marco Martin
86682cb176
the focus indicator can load also simple svg elements instead of
...
framesvgs
the slider uses it to show a glow behind the handle on mouse over or
keyboard focus
svn path=/trunk/KDE/kdelibs/; revision=1048126
2009-11-12 19:31:39 +00:00
Petri Damstén
5b2b221562
* Add translation support for runner and dataengine packages
...
* Use pladmoid package for runners too.
svn path=/trunk/KDE/kdelibs/; revision=1047782
2009-11-12 06:38:16 +00:00
Aaron J. Seigo
27a02128a5
* consolidate the popup config group name by putting a convenience method in PopupAppletPrivate to fetch it
...
* move the check for the view lower in updateDialogPosition so that even if we don't have a view, we at least do the sizing, if not the positioning (which is all the view is needed for)
svn path=/trunk/KDE/kdelibs/; revision=1047715
2009-11-11 21:47:56 +00:00
Aaron J. Seigo
b0c24dd7a2
a bit more readable
...
svn path=/trunk/KDE/kdelibs/; revision=1047696
2009-11-11 20:51:59 +00:00
Marco Martin
01790c83c3
highlight the thumbnail under the mouse
...
svn path=/trunk/KDE/kdelibs/; revision=1047608
2009-11-11 15:28:40 +00:00
Marco Martin
fda0f6c4de
put the windows in tooltips in the list of the highlight effect
...
svn path=/trunk/KDE/kdelibs/; revision=1047602
2009-11-11 15:18:52 +00:00
Aaron J. Seigo
b9ea759162
split out the private class into its own file
...
svn path=/trunk/KDE/kdelibs/; revision=1047325
2009-11-11 00:25:27 +00:00
Aaron J. Seigo
4aba68d9d7
filter all offers lists consistently with the constraints
...
svn path=/trunk/KDE/kdelibs/; revision=1047324
2009-11-11 00:24:49 +00:00
Marco Martin
76c1377ed9
the destroy action is now accessible with action("close")
...
svn path=/trunk/KDE/kdelibs/; revision=1047295
2009-11-10 22:13:00 +00:00
Marco Martin
22d9d97acc
add missing member
...
svn path=/trunk/KDE/kdelibs/; revision=1047084
2009-11-10 12:34:13 +00:00
Aaron J. Seigo
6de1341e1b
fix resize-after-move, which was seriously annoying me for a while now; thankfully it was an easy fix :)
...
svn path=/trunk/KDE/kdelibs/; revision=1045892
2009-11-06 22:34:22 +00:00
Aaron J. Seigo
75e482fae2
only insert a delay before moving the drop zone the first time its shown; be sure to also reset the drop point
...
svn path=/trunk/KDE/kdelibs/; revision=1045332
2009-11-05 20:27:08 +00:00
Aaron J. Seigo
7acbfbc47f
be sure to always have a containment!
...
BUG:206379
svn path=/trunk/KDE/kdelibs/; revision=1045316
2009-11-05 19:17:00 +00:00
Aaron J. Seigo
8f3e0d5494
unhighlight when setShow is called; fixes the toolbox in the panel not going back to grey when the toolbox is hidden by clicking on another window
...
svn path=/trunk/KDE/kdelibs/; revision=1045294
2009-11-05 18:03:33 +00:00
Aaron J. Seigo
16b5fcc766
cache whether or not the wallaper is actually a full package (dir + metadata) and on render hints changing just look for the best paper if we are a full package; preserves rendering for single image papers in the wallpaper config
...
BUG:212930
svn path=/trunk/KDE/kdelibs/; revision=1044424
2009-11-03 18:35:40 +00:00
Marco Martin
4fa7e72b1b
if the tooltip contains windows, highlight it too
...
svn path=/trunk/KDE/kdelibs/; revision=1042991
2009-10-31 12:33:08 +00:00
Petri Damstén
289b9ac1eb
Add WallpaperScript.
...
Review: http://reviewboard.kde.org/r/1984/
svn path=/trunk/KDE/kdelibs/; revision=1042086
2009-10-29 05:54:11 +00:00
Marco Martin
dd581265cf
move the extra border in the size hint
...
svn path=/trunk/KDE/kdelibs/; revision=1041792
2009-10-28 14:19:34 +00:00
Marco Martin
6808c61eca
when the internal widget won't scroll in -any- direction ignore the
...
wheel
svn path=/trunk/KDE/kdelibs/; revision=1041331
2009-10-27 20:16:51 +00:00
Marco Martin
d86cac78e4
crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1041323
2009-10-27 19:48:00 +00:00
Marco Martin
25d1f3f5b6
if the sub widget can't scroll at all, just ignore the mouse event
...
svn path=/trunk/KDE/kdelibs/; revision=1041272
2009-10-27 18:04:02 +00:00
Adenilson Cavalcanti Da Silva
1049afdab6
First step to improve new animations memory model.
...
Now the QAbstractAnimations will be cached when running an animation
(instead of creating and destroying them everytime the animation runs).
The next step is to cache *also* the configuration parameters (as aseigo suggested,
by having an event filter to detect changes in the animated widgets and reseting
the animation parameters as needed).
svn path=/trunk/KDE/kdelibs/; revision=1039531
2009-10-23 18:39:57 +00:00
Petri Damstén
042ed56b39
* Add support to load PopupApplet and Containment from path
...
* AppletScript::addStandardConfigurationPages adds also publish page
* AppletScript::standardConfigurationDialog does not add standard pages (there is addStandardConfigurationPages)
svn path=/trunk/KDE/kdelibs/; revision=1039471
2009-10-23 13:48:29 +00:00
Marco Martin
d9de800d36
SVN_SILENT: less awfully long line
...
svn path=/trunk/KDE/kdelibs/; revision=1039434
2009-10-23 12:07:48 +00:00
Aaron J. Seigo
c765e808a7
* the drop position is always relative to the containment; don't need to do store the scene pos. this fixes drops on panels
...
* allow drops on the toolbox, this gives is a place to drop things on the panel at all times, similar to the context menu on toolbox
* small delay on showing the drop zone indicator so that when dragging into the tasks widget, for example, we don't end up flickering as it crosses the panel containment edge
svn path=/trunk/KDE/kdelibs/; revision=1039186
2009-10-22 22:14:22 +00:00
Andrew Coles
242868a972
Fixed minor typo: don't use exclamation points in messages.
...
SVN_SILENT
svn path=/trunk/KDE/kdelibs/; revision=1039153
2009-10-22 20:48:59 +00:00
Marco Martin
2f7ba10bfc
return the proper shape
...
svn path=/trunk/KDE/kdelibs/; revision=1039146
2009-10-22 20:38:32 +00:00
Marco Martin
a45a20c32c
return the proper boundingRect()
...
svn path=/trunk/KDE/kdelibs/; revision=1039144
2009-10-22 20:32:36 +00:00
Marco Martin
82177676af
better gradient when the handle is at left
...
svn path=/trunk/KDE/kdelibs/; revision=1039135
2009-10-22 20:01:19 +00:00
Aaron J. Seigo
be914e1196
SVN_SILENT: tabs to spaces
...
svn path=/trunk/KDE/kdelibs/; revision=1039130
2009-10-22 19:36:29 +00:00
Marco Martin
03bb063c62
migrate focusindicator to the new api
...
change the api of fade to be abe to set a start and an end taget
opacities
svn path=/trunk/KDE/kdelibs/; revision=1039087
2009-10-22 17:39:43 +00:00
Adenilson Cavalcanti Da Silva
8a930cbaca
Moving rotation related only parameters back to RotationAnimation.
...
The idea is to keep in AbstractAnimationPrivate only what is shared by all
(or at least most) of animations.
svn path=/trunk/KDE/kdelibs/; revision=1039035
2009-10-22 15:35:08 +00:00
Adenilson Cavalcanti Da Silva
d82ac07001
Adding missing documentation.
...
svn path=/trunk/KDE/kdelibs/; revision=1039029
2009-10-22 15:20:17 +00:00
Igor Trindade Oliveira
67ffbf7ff3
janitor job: make it works
...
svn path=/trunk/KDE/kdelibs/; revision=1039010
2009-10-22 13:58:35 +00:00
Igor Trindade Oliveira
fd62504373
fix: make animation works again, add fowards attribute
...
svn path=/trunk/KDE/kdelibs/; revision=1039003
2009-10-22 13:40:30 +00:00
Marco Martin
a7573ce263
clean up a bit of old wronghish code and no more jumping behaviour
...
svn path=/trunk/KDE/kdelibs/; revision=1038795
2009-10-21 21:04:03 +00:00
Adenilson Cavalcanti Da Silva
a1bf0fd085
Moving rotation related parameters to common location (now it should
...
be possible to use AbstractAnimation properties to use rotation
animation).
svn path=/trunk/KDE/kdelibs/; revision=1038337
2009-10-21 05:32:04 +00:00
Aaron J. Seigo
73b60b9a55
* keep the non-deprecated stuff out of deprecated/, such as the new animator factory method
...
* don't be lazy with the names (Anim->Animation)
svn path=/trunk/KDE/kdelibs/; revision=1038307
2009-10-21 01:51:31 +00:00
Aaron J. Seigo
353c7d9aca
one more API shift
...
svn path=/trunk/KDE/kdelibs/; revision=1038236
2009-10-20 21:21:40 +00:00
Aaron J. Seigo
8b9830dc2b
API cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1038232
2009-10-20 21:14:46 +00:00
Aaron J. Seigo
b29d0a79aa
sort out the API a bit and don't have private classes that are named the same
...
svn path=/trunk/KDE/kdelibs/; revision=1038220
2009-10-20 21:04:49 +00:00
Aaron J. Seigo
30dc3caf9b
* move remotedataengine.h to remotedataengine_p.h as it's private
...
* allow queueing for un-ready remote services
* always double check that the RemoteServiceJob is really Ok to send; things like operation being ready may have changed, for instance
svn path=/trunk/KDE/kdelibs/; revision=1038181
2009-10-20 19:15:32 +00:00
Aaron J. Seigo
979d295565
* queue the job in the service if the service isn't ready
...
* check the validity of a job before executing; things may have changed!
svn path=/trunk/KDE/kdelibs/; revision=1038158
2009-10-20 18:23:32 +00:00