Commit Graph

5187 Commits

Author SHA1 Message Date
Marco Martin
3c69761d55 change a bit the logic of when show the animation or not
svn path=/trunk/KDE/kdelibs/; revision=1065286
2009-12-22 22:18:57 +00:00
Aurélien Gâteau
2ec6326d77 Do not allow backgrounds whose width or height is more than 100000 pixels
svn path=/trunk/KDE/kdelibs/; revision=1065178
2009-12-22 17:28:22 +00:00
Marco Martin
010bcc9629 don't try to draw an halo rect if the size is empty (amarok action icons look better now)
svn path=/trunk/KDE/kdelibs/; revision=1065132
2009-12-22 16:02:26 +00:00
Marco Martin
923d772a85 delay only in the case the item to be visible is a qgraphicswidget, so we can guard the temp pointer with a weak one
BUG:219475

svn path=/trunk/KDE/kdelibs/; revision=1064800
2009-12-21 20:29:08 +00:00
Marco Martin
3a27e22612 if from and to dimensions are different, and we return only to, we should anyways do a new pixmap of the from dimension and center to in it.
this resolves the flickering PushButton even tough removes some optimizations

svn path=/trunk/KDE/kdelibs/; revision=1064770
2009-12-21 18:42:45 +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
Marco Martin
4864d47b42 create the background earlier to prevent the button to be painted in a wrong size
svn path=/trunk/KDE/kdelibs/; revision=1064741
2009-12-21 16:12:16 +00:00
Aurélien Gâteau
e510b513c6 Fix use of uninitialized variable (thanks to Valgrind)
setMinimumSize() ... -> setGeometry() ... -> updateDataBuffer()
and updateDataBuffer() uses horizontalScale.

svn path=/trunk/KDE/kdelibs/; revision=1064695
2009-12-21 13:48:24 +00:00
Script Kiddy
99cb137a07 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1064230
2009-12-20 12:04:42 +00:00
Marco Martin
d16be0c15a if we are switching two containments in Containment::setScreen()
let's before emit a screenchanged with -1 as the new screen for both.
this will make the views forget about them and they won't try to swao them again
makes possible to switch containments on multimonitor or pervirtualdesktopviews=true


svn path=/trunk/KDE/kdelibs/; revision=1063989
2009-12-19 18:48:56 +00:00
Marco Martin
7732b62f16 if the target gets shown show the background too
svn path=/trunk/KDE/kdelibs/; revision=1063611
2009-12-18 22:10:32 +00:00
Marco Martin
20bed9f073 add the missing constructor with a qgi as parent, as all the qgraphicswidget have
svn path=/trunk/KDE/kdelibs/; revision=1063597
2009-12-18 21:44:02 +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
83c7bf0bd8 Coding style.
svn path=/trunk/KDE/kdelibs/; revision=1063258
2009-12-17 15:51:24 +00:00
Marco Martin
6baf2654c0 keep a static of all used view ids. it's necessary since upon restore it can be asked to create view with ids not in crescent order. this should fix the mixing of desktops (and also the problem that the panels forget to be autohide) with pervirtualdesktopviews=true
BUG:207985
BUG:212512

svn path=/trunk/KDE/kdelibs/; revision=1063093
2009-12-16 22:45:28 +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
Adenilson Cavalcanti Da Silva
92383665fc Fixing zoom in. I spotted this bug while using the animation in Plasma::Containment.
svn path=/trunk/KDE/kdelibs/; revision=1063085
2009-12-16 22:31:00 +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
Aaron J. Seigo
939449050f everytime i look in this file and scoot by these lines i think "uh oh, memory leak?" until i glance a few dozen lines further down; just stick to the idioms
svn path=/trunk/KDE/kdelibs/; revision=1063023
2009-12-16 18:41:08 +00:00
Aaron J. Seigo
9e73f45160 support setting the icon from the package
svn path=/trunk/KDE/kdelibs/; revision=1063021
2009-12-16 18:35:04 +00:00
Marco Martin
8e967abc2d avoid view sync more than every 150 msecs, avoids cpu hogging and displaying garbage
BUG:206946

svn path=/trunk/KDE/kdelibs/; revision=1062972
2009-12-16 14:19:10 +00:00
Andras Mantia
4a708b9351 Fix amigous constructor declaration
svn path=/trunk/KDE/kdelibs/; revision=1062937
2009-12-16 10:57:25 +00:00
Marco Martin
4b8b780829 don't do adjustScrollbars more than every 200 msecs
resolves some cyclical relayout crashes and surprisingly enough also some layout estetic problems
BUG:202890

svn path=/trunk/KDE/kdelibs/; revision=1062764
2009-12-15 21:37:07 +00:00
Marco Martin
2165a85a9f since widget can be deleted from the outside use a weak pointer
svn path=/trunk/KDE/kdelibs/; revision=1062742
2009-12-15 20:37:22 +00:00
Script Kiddy
5ae8cde6c2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1062595
2009-12-15 10:07:04 +00:00
Script Kiddy
43215b7e32 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1062316
2009-12-14 10:51:05 +00:00
Script Kiddy
c92db7be04 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1062315
2009-12-14 10:50:04 +00:00
Marco Martin
8f5f218470 unbreak overlay bottom and right positioning
svn path=/trunk/KDE/kdelibs/; revision=1062106
2009-12-13 20:13:55 +00:00
Marco Martin
f38e7f4faf enabledSingleModeRunnerIds() becomes singleModeAdvertisedRunnerIds()
because all runners can be lanched alone, but only a few are accessible like that with global shortcuts 

svn path=/trunk/KDE/kdelibs/; revision=1062006
2009-12-13 14:57:06 +00:00
Marco Martin
bf19913adb permit single runner anyways, the singlerunner-enabled- will become -advertised-
svn path=/trunk/KDE/kdelibs/; revision=1061996
2009-12-13 14:13:00 +00:00
Marco Martin
f8b4367934 if launchquery gets called without runner id and singlerunner was enabled, switch the manager to all runners again
svn path=/trunk/KDE/kdelibs/; revision=1061990
2009-12-13 13:49:22 +00:00
Marco Martin
77928c0141 create a mimetype job instead of a generic transfer job, that is confised to death if the url is a directory instead of a file
BUG:218097

svn path=/trunk/KDE/kdelibs/; revision=1061657
2009-12-12 16:07:25 +00:00
Marco Martin
177956d55e always draw behind the target
svn path=/trunk/KDE/kdelibs/; revision=1061624
2009-12-12 14:33:27 +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
Marco Martin
d3ce9d4c62 set a zvalue ridiculously high by default, since comboboxes always have to pop their dialog over the other idgets. mnual adjusting will still have to be done in the case of multiple comboboxes stacked
BUG:38981

svn path=/trunk/KDE/kdelibs/; revision=1061620
2009-12-12 14:22:09 +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
Marco Martin
947045b018 remove the extender item from attachedExtenderItems if it gets destroyed for whatever reason
hopefully fixes some crashers, such as
BUG:217942


svn path=/trunk/KDE/kdelibs/; revision=1061477
2009-12-11 20:22:52 +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
3a550b3ef7 Reverting to use linear easing curve (it works better with newly ported
Plasma applet class).


svn path=/trunk/KDE/kdelibs/; revision=1061438
2009-12-11 18:03:15 +00:00
Igor Trindade Oliveira
feea24f09b change default zoom value
svn path=/trunk/KDE/kdelibs/; revision=1061428
2009-12-11 17:46:33 +00:00
Marco Martin
c4bd7a9db4 don't set the parent item as target, since we don't know when target will die.
instead map the target position to the proper place, in our current parent's coordinates
BUG:211404

svn path=/trunk/KDE/kdelibs/; revision=1061426
2009-12-11 17:46:08 +00:00
Adenilson Cavalcanti Da Silva
6df20d182c Oops, we need to set the parent as the target animated widget
if no parent was set yet.


svn path=/trunk/KDE/kdelibs/; revision=1061402
2009-12-11 16:50:26 +00:00
Adenilson Cavalcanti Da Silva
485635f07b Experimenting with easing curves.
svn path=/trunk/KDE/kdelibs/; revision=1061361
2009-12-11 15:09:32 +00:00
Davide Bettio
e16960fa55 Replaced default wallpaper.
svn path=/trunk/KDE/kdelibs/; revision=1061219
2009-12-11 01:35:13 +00:00
Giulio Camuffo
28d88ef232 must use Plasma::Type and not only Type in the signals!!! fixed the immutabilityChanged signal, the messageButtonPresses
cannot be changed 'cause is there from 4.3, so added a note in the apidox about a workaround

svn path=/trunk/KDE/kdelibs/; revision=1061166
2009-12-10 21:07:28 +00:00
Aaron Charles Reichman
4c31342c2e Fixed some spelling errors flagged by krazy
svn path=/trunk/KDE/kdelibs/; revision=1060866
2009-12-10 09:16:30 +00:00
Trever Fischer
1377d35138 Fixes a bug for when no event is passed.
In ContainmentPrivate::dropData, some bits assumed there was a dropEvent passed.
This doesn't always happen, for instance with ContainmentActions::paste(). The
points needed are instead taken from the scenePos and screenPos.

BUG: 196416

svn path=/trunk/KDE/kdelibs/; revision=1060831
2009-12-10 02:16:49 +00:00