Marco Martin
2f8e70b7ab
make the webview widget use scrollwidget for flicking
...
still some issues to fix, but most of the behaviour is ported.
patch based on zack's work
CCMAIL:zack@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1108058
2010-03-27 17:44:16 +00:00
Aaron J. Seigo
b16960c73b
allow loading of individual runners, including from packages
...
svn path=/trunk/KDE/kdelibs/; revision=1106782
2010-03-23 22:43:34 +00:00
Aaron J. Seigo
bfe45534fc
catch an edge condition where propAnim isn't created on fade out
...
BUG:230159
svn path=/trunk/KDE/kdelibs/; revision=1101747
2010-03-10 20:26:17 +00:00
Davide Bettio
4f4fca109f
Wallpaper renderer has now QThread::LowPriority priority on every platform except Linux.
...
This might fix this bug on other platforms: https://bugs.kde.org/show_bug.cgi?id=213708
svn path=/trunk/KDE/kdelibs/; revision=1101239
2010-03-09 17:51:51 +00:00
Fredrik Höglund
48c6fcbe8e
Set the blur region for tooltips and dialogs.
...
svn path=/trunk/KDE/kdelibs/; revision=1100074
2010-03-06 18:25:24 +00:00
Aaron J. Seigo
f261f87e6f
allow setting the mouse offset for better drop positioning
...
svn path=/trunk/KDE/kdelibs/; revision=1099726
2010-03-06 01:41:46 +00:00
Marco Martin
5d5aa2d545
drop the maskType nonsense, only one mask makes sense in the framesvg
...
svn path=/trunk/KDE/kdelibs/; revision=1099661
2010-03-05 22:37:44 +00:00
Marco Martin
573438a9a8
set the mask only when needed
...
override kwin shadow
svn path=/trunk/KDE/kdelibs/; revision=1099659
2010-03-05 22:36:20 +00:00
Aaron J. Seigo
2ca8a1d2ee
allow telling the wallpaper that it is in previewing mode
...
BUG:229450
svn path=/trunk/KDE/kdelibs/; revision=1099127
2010-03-05 00:54:30 +00:00
Davide Bettio
3c262b40ea
Now also cached images loading is async with threads.
...
svn path=/trunk/KDE/kdelibs/; revision=1099054
2010-03-04 23:22:24 +00:00
Davide Bettio
3411b5c8cd
This commit adds support to multiple render threads in Plasma::Wallpaper and rendering queuing support.
...
This commit will fix at least one bug (but it might fix more bugs as side effect).
http://reviewboard.kde.org/r/3092/
svn path=/trunk/KDE/kdelibs/; revision=1098658
2010-03-04 01:33:19 +00:00
Aaron J. Seigo
ae078e1b32
add a data directory definition to the applet package type
...
svn path=/trunk/KDE/kdelibs/; revision=1097196
2010-02-28 17:03:21 +00:00
Artur Duque de Souza
060bf4148f
Let corona layout the containments
...
Now corona will layout it's containments instead of letting
them do this task. This was created as a slot so we could preserve
BC. Subclasses of Plasma::Corona must be sure to skip containments
of Panel type during layouting if they wish to reimplement it to
have their own layout.
If subclasses doesn't care about it, just leave it alone and
everything will work just as before. :)
Reviewed-by: aseigo, notmart
svn path=/trunk/KDE/kdelibs/; revision=1095549
2010-02-24 14:24:52 +00:00
Davide Bettio
bbcac34592
Accept touch events.
...
svn path=/trunk/KDE/kdelibs/; revision=1094827
2010-02-23 10:26:42 +00:00
Davide Bettio
bb79950031
Kinetic scroll zoom.
...
svn path=/trunk/KDE/kdelibs/; revision=1094768
2010-02-23 08:35:02 +00:00
Davide Bettio
dc3e921b36
Added grabGesture()
...
svn path=/trunk/KDE/kdelibs/; revision=1094755
2010-02-23 08:08:16 +00:00
Davide Bettio
c8cd5ca258
Sorry, I commited the wrong file.
...
svn path=/trunk/KDE/kdelibs/; revision=1094591
2010-02-22 23:24:05 +00:00
Davide Bettio
abe1ca242a
Fixed broken if.
...
svn path=/trunk/KDE/kdelibs/; revision=1094587
2010-02-22 23:15:09 +00:00
Davide Bettio
46eb95e995
Little fix for VC++
...
svn path=/trunk/KDE/kdelibs/; revision=1094583
2010-02-22 23:04:46 +00:00
Davide Bettio
ae50fe2e25
Added support to pinch multitouch gesture.
...
svn path=/trunk/KDE/kdelibs/; revision=1094411
2010-02-22 18:14:59 +00:00
Marco Martin
ce3762373f
add an explicit way to stop
...
svn path=/trunk/KDE/kdelibs/; revision=1094245
2010-02-22 11:21:30 +00:00
Marco Martin
2b9a4f4e63
when a moveevent occurs, is not by the animation, that sets the geometry instead, so we can safely use it to notice when somebody else has moved the contents by had. is really important in this case to immediately stop the animation
...
svn path=/trunk/KDE/kdelibs/; revision=1094135
2010-02-22 09:36:20 +00:00
Alexis Ménard
d4683537c9
Build fix on ARM.
...
svn path=/trunk/KDE/kdelibs/; revision=1092055
2010-02-18 07:39:28 +00:00
Davide Bettio
d982f20609
Plasma::WebView has been ported to KGraphicsWebView. http://reviewboard.kde.org/r/2990/
...
svn path=/trunk/KDE/kdelibs/; revision=1091982
2010-02-17 23:59:14 +00:00
Marco Martin
69ca0bd767
setData() was actually wrong there
...
this fixes remote notifications
(where the data is set exactly once after sourceadded)
svn path=/trunk/KDE/kdelibs/; revision=1091959
2010-02-17 23:10:16 +00:00
Marco Martin
ac7b1cce29
emit sourceadded or sourceremoved when it notices sources have been added or removed remotely
...
svn path=/trunk/KDE/kdelibs/; revision=1091937
2010-02-17 22:15:58 +00:00
Aaron J. Seigo
adfdadd43a
catch extender deletion when they are still extender items
...
BUG:219194
svn path=/trunk/KDE/kdelibs/; revision=1088121
2010-02-10 08:43:08 +00:00
Aaron J. Seigo
ead4cc9d62
use khns3 dialog; look ma, no more memory leaks as a bonus!
...
svn path=/trunk/KDE/kdelibs/; revision=1084570
2010-02-03 10:27:44 +00:00
Aaron J. Seigo
9e1aa5472f
keep the position bounded to what setColorAt wants
...
svn path=/trunk/KDE/kdelibs/; revision=1084461
2010-02-03 08:41:25 +00:00
Aaron J. Seigo
8fc5c0d2b0
be sure to remove the tool from the tool collection if it gets deleted because the action was removed
...
svn path=/trunk/KDE/kdelibs/; revision=1084451
2010-02-03 08:18:43 +00:00
Aaron J. Seigo
cc2a593588
unneeded
...
svn path=/trunk/KDE/kdelibs/; revision=1082175
2010-01-29 21:49:01 +00:00
Igor Trindade Oliveira
99cd8006e6
remove private class from meter.cpp and support some properties on it.
...
The properties are useful to be used in animation.
svn path=/trunk/KDE/kdelibs/; revision=1080846
2010-01-27 02:50:47 +00:00
Aaron J. Seigo
5eb78f23ea
zooming is gone; activity switching can be done for now using the activity switcher or the keyboard shortcuts. a new activity manager will be built up from here
...
svn path=/trunk/KDE/kdelibs/; revision=1080793
2010-01-26 23:35:32 +00:00
Aaron J. Seigo
a56fc2ed44
alter the toolbox backer layout when the items change
...
BUG:224278
svn path=/trunk/KDE/kdelibs/; revision=1080323
2010-01-26 06:06:43 +00:00
André Wöbbeking
1f08f5e5bb
-pedantic
...
svn path=/trunk/KDE/kdelibs/; revision=1080061
2010-01-25 14:09:38 +00:00
Marco Martin
3403fea2ca
be invisible when it's first created
...
svn path=/trunk/KDE/kdelibs/; revision=1079119
2010-01-23 17:34:50 +00:00
Igor Trindade Oliveira
291f30e9f9
move nativetabbar to the new animation api
...
svn path=/trunk/KDE/kdelibs/; revision=1077713
2010-01-20 18:38:37 +00:00
Igor Trindade Oliveira
36cda82e22
port desktoptoolbox to new animation api
...
svn path=/trunk/KDE/kdelibs/; revision=1077702
2010-01-20 18:06:29 +00:00
Igor Trindade Oliveira
c334033bf3
move panelttoolbox animation to new animation api
...
svn path=/trunk/KDE/kdelibs/; revision=1077220
2010-01-19 18:12:23 +00:00
Igor Trindade Oliveira
d7e63f903c
move applethandle to new animation api.
...
svn path=/trunk/KDE/kdelibs/; revision=1077217
2010-01-19 17:59:24 +00:00
Rob Scheepmaker
fa74621c21
relicense to LGPL v2
...
svn path=/trunk/KDE/kdelibs/; revision=1076714
2010-01-18 18:24:57 +00:00
Marco Martin
d9a0865c3b
fix the toolbox positioning when zoomed out
...
svn path=/trunk/KDE/kdelibs/; revision=1072152
2010-01-09 13:41:54 +00:00
Marco Martin
8f19e5f9cb
don't reposition over and over again
...
svn path=/trunk/KDE/kdelibs/; revision=1071890
2010-01-08 23:36:43 +00:00
Aaron J. Seigo
4246f430ec
fix positioning
...
svn path=/trunk/KDE/kdelibs/; revision=1071385
2010-01-07 22:14:19 +00:00
Aaron J. Seigo
d302d838d5
SVN_SILENT: hush
...
svn path=/trunk/KDE/kdelibs/; revision=1071383
2010-01-07 22:13:43 +00:00
Aaron J. Seigo
c4ed36ca0e
zoom anim doesn't need to be a member, and this way it doesn't mess up when lots of applets are added at the same time
...
svn path=/trunk/KDE/kdelibs/; revision=1070142
2010-01-04 23:45:38 +00:00
Aaron J. Seigo
4a1849b4cd
PulserShadow belongs in the animations directory
...
svn path=/trunk/KDE/kdelibs/; revision=1069848
2010-01-04 10:21:48 +00:00
Aaron J. Seigo
b31f9ca8c0
UserToolBox, more consistent with other such enums
...
svn path=/trunk/KDE/kdelibs/; revision=1069847
2010-01-04 10:21:32 +00:00
Marco Martin
00ffbc6616
save and restore weren't necessary here
...
svn path=/trunk/KDE/kdelibs/; revision=1069824
2010-01-04 10:06:25 +00:00
Marco Martin
d550c9dac2
smooth rotations
...
svn path=/trunk/KDE/kdelibs/; revision=1069741
2010-01-04 09:27:29 +00:00
Aaron J. Seigo
7a46df7066
adapt to Animation API cleanup
...
svn path=/trunk/KDE/kdelibs/; revision=1069731
2010-01-04 09:19:08 +00:00
Aaron J. Seigo
b931262030
* adapt to API changes
...
* don't leak the m_under object
* only paint what's necessary (the exposed rect)
* keep track of the target in PulserShadow
svn path=/trunk/KDE/kdelibs/; revision=1069729
2010-01-04 09:17:49 +00:00
Aaron J. Seigo
abc51630c5
--debug;
...
svn path=/trunk/KDE/kdelibs/; revision=1069707
2010-01-04 06:43:30 +00:00
Aaron J. Seigo
50726d7f08
rework the toolboxes so that they actually mesh with the API of AbstractToolBox:
...
* have setShowing call the show/hide feature, not the other way around (fixes bug 202549)
* put the actions in order by the tags applied so that things appear ordered
* allow the toolbox to define what the parent of the tools should be (so the desktop toolbox can use the backing as the parent)
* use a layout in the desktop toolbox background that the tools are in; waaaaaay simpler code as a result
* keep only one svg object around for the desktop toolbox background, not two
* use a QtKinetic animation for the show/hide
i'm not happy with the precise positioning of the desktop toolbox nor with the animation (just a fade in/out right now.. meh) but the hard work is done with this commit and the rest is twiddling (which i'll do in the coming days)
BUG:202549
svn path=/trunk/KDE/kdelibs/; revision=1069706
2010-01-04 06:41:43 +00:00
Marco Martin
ccc2e7be40
draw halo only for dark text
...
svn path=/trunk/KDE/kdelibs/; revision=1068659
2010-01-01 19:34:40 +00:00
Marco Martin
38d6c5bed9
don't cut halos
...
svn path=/trunk/KDE/kdelibs/; revision=1068658
2010-01-01 19:31:44 +00:00
Marco Martin
42962c662a
use halo painter behind the text
...
svn path=/trunk/KDE/kdelibs/; revision=1068654
2010-01-01 19:17:17 +00:00
Marco Martin
a0162ccdef
even tough extender is private in Applet, applet has too many friends, so to be sure it's properly guarded, use a weak pointer
...
BUG:220482
svn path=/trunk/KDE/kdelibs/; revision=1067549
2009-12-29 19:38:37 +00:00
John Layt
6e9943e36c
krazy fixes, mostly include guards and copyright tags
...
svn path=/trunk/KDE/kdelibs/; revision=1066779
2009-12-27 22:16:11 +00:00
André Wöbbeking
4c1f9b51d3
removed some QT_VERSION checks, we're requiring 4.6 now
...
svn path=/trunk/KDE/kdelibs/; revision=1066716
2009-12-27 20:00:30 +00:00
Dario Freddi
efad503bed
Licenses and a small fix
...
svn path=/trunk/KDE/kdelibs/; revision=1066558
2009-12-27 12:35:13 +00:00
Marco Martin
a69bcc4827
try harder to enforce a minimum size of 16x16
...
svn path=/trunk/KDE/kdelibs/; revision=1066278
2009-12-26 16:19:38 +00:00
Marco Martin
b521f3e158
-autocollapse property to extendergroup: if it's on when the group collapses/expands theextenderItem collapses/expands as well (default false)
...
-isGroupcollapsed/setGroupCollapsed to unform APi with ExtenderItem
svn path=/trunk/KDE/kdelibs/; revision=1066229
2009-12-26 13:02:53 +00:00
Marco Martin
353e1ca88d
add a new member to the tooltip data that decides if the window highlight effect is to be enabled by default or not
...
svn path=/trunk/KDE/kdelibs/; revision=1065864
2009-12-24 14:54:48 +00:00
Marco Martin
16fb457bbe
always hide when hide is called:
...
otherwise when zooming in the toolbox will stay in toolbar mode and be visible over the desktop (oh boy how much rhis needs to be scrapped)
svn path=/trunk/KDE/kdelibs/; revision=1065542
2009-12-23 16:07:37 +00:00
Marco Martin
fdae3f0d59
This patch forward the "stateChanged" signal emitted from the private kinetic scroll animation all the way to Plasma::ScrollWidget, which then forwards this signal to its childs. This enables an object which derives from Plasma::ScrollWidget to know the kinetic scrolling animation state.
...
Patch by Bruno Abinader
svn path=/trunk/KDE/kdelibs/; revision=1064768
2009-12-21 18:36:39 +00:00
Marco Martin
09fc589dce
always ensure the geometry is the corret one
...
svn path=/trunk/KDE/kdelibs/; revision=1064760
2009-12-21 17:30:21 +00:00
Adenilson Cavalcanti Da Silva
53c47204af
Some widgets may use exposedRect of style (e.g. QGraphicsWebView) and would fail
...
if no value was set (the default is 0,0).
Suggestion by Andre Pedralho <andre.pedralho@openbossa.org>.
svn path=/trunk/KDE/kdelibs/; revision=1063546
2009-12-18 19:30:02 +00:00
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