Commit Graph

6823 Commits

Author SHA1 Message Date
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
Script Kiddy
ad230a1e2d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1068486
2010-01-01 11:09:03 +00:00
Script Kiddy
2fe26af348 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1068118
2009-12-31 11:34:58 +00:00
Script Kiddy
a5e78c8d42 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1068117
2009-12-31 11:29:57 +00:00
Marco Martin
563d77102b remove this optimization, calling setcollapsed with the same value turns out is the only way to not make the layout go nuts
svn path=/trunk/KDE/kdelibs/; revision=1067848
2009-12-30 18:54:41 +00:00
Chani Armitage
a2e7f090a1 give wallpaper priority over containmentactions in all events
CCMAIL: plasma-devel@kde.org
note that the wallpaper is only getting wheel events and move events
when itemAt != this, which is different from the "if there's no applet
there" logic that's used for containmentactions stuff. this could
have... odd... effects for containments that use graphicsitems, like
folderview.
in general it seems like this code's gotten crufty and could do with
some cleanup, once someone decides what the 'proper' behaviour actually
is.

svn path=/trunk/KDE/kdelibs/; revision=1067596
2009-12-29 23:23:25 +00:00
Michał Dutkiewicz
4def4009c6 Set flag in setNativeWidget() so it will be set also when using custom widgets
svn path=/trunk/KDE/kdelibs/; revision=1067584
2009-12-29 21:59:29 +00:00
Marco Martin
cd884edd21 revert old bogus stuff that got in in the last commit, sorry :)
svn path=/trunk/KDE/kdelibs/; revision=1067567
2009-12-29 21:30:12 +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
Marco Martin
edc2fccdf4 don't get bigger than the desktop area, makes the notifications problem slightly less worse
svn path=/trunk/KDE/kdelibs/; revision=1067535
2009-12-29 18:58:10 +00:00
Script Kiddy
e976e8622c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/generic/containmentactions/test/; revision=1067354
2009-12-29 12:23:43 +00:00
Script Kiddy
8a2c2e9480 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1067352
2009-12-29 12:19:32 +00:00
Marco Martin
06341cfb73 put all context menus in a separate window, resolving cutting and z-order issues
BUG:207956

svn path=/trunk/KDE/kdelibs/; revision=1067048
2009-12-28 19:52:54 +00:00
Marco Martin
eaa5b602be autocollapse is false as default
svn path=/trunk/KDE/kdelibs/; revision=1066938
2009-12-28 12:02:42 +00:00
Script Kiddy
9e2264f980 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1066899
2009-12-28 10:27:02 +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
96d2513e9e -minimum size hint
-when the text changes discard the cached hints

svn path=/trunk/KDE/kdelibs/; revision=1066299
2009-12-26 17:29:55 +00:00
Marco Martin
2ee4189268 give it a minimum size hint
svn path=/trunk/KDE/kdelibs/; revision=1066298
2009-12-26 17:27:19 +00:00
Marco Martin
a75a8e101a this could be dangerous so we must pay attention in the next days for eventual regressions, but had to be done.
eliminate all the hardcoded minimum sizes and relay on size hints instead since now they work(ish)

svn path=/trunk/KDE/kdelibs/; revision=1066284
2009-12-26 16:48:45 +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
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