Commit Graph

6650 Commits

Author SHA1 Message Date
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
763ac6b862 don't do useless work if we are already expanded (or collapsed)
svn path=/trunk/KDE/kdelibs/; revision=1066210
2009-12-26 12:16:45 +00:00
Marco Martin
8312e39011 an extender is empty if it doesn't have items or has only group that are empty and autohide
svn path=/trunk/KDE/kdelibs/; revision=1066204
2009-12-26 11:56:41 +00:00
Marco Martin
bf438dcf98 be LGPL2+
svn path=/trunk/KDE/kdelibs/; revision=1066185
2009-12-26 10:37:47 +00:00
Script Kiddy
8c16d438a1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1065981
2009-12-25 09:48:01 +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
99500091a1 revert last change
svn path=/trunk/KDE/kdelibs/; revision=1065635
2009-12-23 22:11:39 +00:00
Giulio Camuffo
ac5c3b4996 should not return CustomPanelContainment
svn path=/trunk/KDE/kdelibs/; revision=1065557
2009-12-23 17:23:35 +00:00
Marco Martin
83d671bf2f SVN_SILENT: style
svn path=/trunk/KDE/kdelibs/; revision=1065550
2009-12-23 16:36:16 +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
Luboš Luňák
8746bf62cc fix enable-final compile
svn path=/trunk/KDE/kdelibs/; revision=1065500
2009-12-23 12:27:31 +00:00
Script Kiddy
131f7290e7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1065456
2009-12-23 11:05:00 +00:00
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