Commit Graph

3428 Commits

Author SHA1 Message Date
Alexis Ménard
5a2ae9f976 Don't try to create a nice shadow on a text if the text is empty (avoid some warnings)
Rev by aseigo

svn path=/trunk/KDE/kdelibs/; revision=889759
2008-11-27 14:52:08 +00:00
Aaron J. Seigo
e16ba8fed0 * make popupEvent protected, like other events
* allow marking the popup dialog as passive

CCBUG:176114

svn path=/trunk/KDE/kdelibs/; revision=889543
2008-11-27 06:09:00 +00:00
Aaron J. Seigo
4659724790 don't create an unused button
svn path=/trunk/KDE/kdelibs/; revision=889542
2008-11-27 06:03:53 +00:00
Alexis Ménard
c11105d5af Remove this stuff, it is not needed anymore. Come with my previous commit.
It doesn't break the BC, we can add afterwards an overload it doesn't matter.

svn path=/trunk/KDE/kdelibs/; revision=889392
2008-11-26 17:40:46 +00:00
Alexis Ménard
1cbd228901 Let the QGraphicsView manage the focus
Rev By aseigo

svn path=/trunk/KDE/kdelibs/; revision=889379
2008-11-26 16:38:42 +00:00
Script Kiddy
8ec20a4123 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=889317
2008-11-26 14:02:07 +00:00
Rob Scheepmaker
926dae37a7 Also hide dialogs of applets on the desktop.
Use topleft of extenderitem to check if we're over a containment, since that point is also used when instantiating an extenderapplet, and otherwise the dropzone could be at a different position then the actual applet being created.


svn path=/trunk/KDE/kdelibs/; revision=888951
2008-11-25 15:26:13 +00:00
Aaron J. Seigo
15cc6a0731 disconnect applets from the containment they get moved from
CCBUG:173879

svn path=/trunk/KDE/kdelibs/; revision=888666
2008-11-25 03:07:18 +00:00
Aaron J. Seigo
7b4de980b8 clarify this code a wee bit more and call positionContainments() in all necessary cases
svn path=/trunk/KDE/kdelibs/; revision=888637
2008-11-25 00:23:43 +00:00
Aaron J. Seigo
ad6d7b11e4 SVN_SILENT: add a fixme, remove a todo
svn path=/trunk/KDE/kdelibs/; revision=888630
2008-11-25 00:06:00 +00:00
Marco Martin
75dcbe9413 initialize this value, that's why toolbox sometimes was going to left in
an unpredictable way
BUG:175796
CCMAIL:release-team@kde.org

svn path=/trunk/KDE/kdelibs/; revision=888589
2008-11-24 22:27:42 +00:00
Adriaan de Groot
5959236882 Match up the declaration of setCorner with its definition (missing const)
svn path=/trunk/KDE/kdelibs/; revision=888512
2008-11-24 17:39:03 +00:00
Script Kiddy
ab804da710 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=888400
2008-11-24 12:47:12 +00:00
Marco Martin
6743e12499 never set big minimum sizes in panels
and don't use scrollbars in the popup views

svn path=/trunk/KDE/kdelibs/; revision=888095
2008-11-23 19:24:49 +00:00
Alex Merry
ae5622817c Some documentation improvements and corrections, including renaming the documentation section from libplasma to Plasma, for consistency with other parts of kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=888086
2008-11-23 18:39:58 +00:00
Marco Martin
902fb25a82 SVN_SILENT: comments++
svn path=/trunk/KDE/kdelibs/; revision=888075
2008-11-23 17:55:40 +00:00
Marco Martin
c0d430de74 force a valid rect in adjustview, otherwise the view will get the whole
scene O.o
(this fixes the tooltips not moving issue)

svn path=/trunk/KDE/kdelibs/; revision=888074
2008-11-23 17:55:01 +00:00
Marco Martin
e06cb3cda0 display an icon instead of a button as config overlay in panels, due to
constrained size

svn path=/trunk/KDE/kdelibs/; revision=888026
2008-11-23 14:09:45 +00:00
Marco Martin
fd0e2e8fc2 unbreak size save/restore in popupapplets
svn path=/trunk/KDE/kdelibs/; revision=887782
2008-11-22 21:09:34 +00:00
Jesse Lee Zamora
54141a7ec7 This fixes a bug where if the text is too long it runs out of the item delegate rect. It adds a
nice gradient on items that the text is too long.


svn path=/trunk/KDE/kdelibs/; revision=887773
2008-11-22 20:46:50 +00:00
Marco Martin
ff6030e4f4 sanitize sizing of widgets displayed in popupapplet
svn path=/trunk/KDE/kdelibs/; revision=887767
2008-11-22 20:22:22 +00:00
Marco Martin
a46f365dcd resize based on preferred size
svn path=/trunk/KDE/kdelibs/; revision=887707
2008-11-22 16:23:11 +00:00
Rob Scheepmaker
e7e26f82e7 To be consistent with ordinary applets, we need some visual feedback when hovering over containments with extenderitems, so call showDropZone...
svn path=/trunk/KDE/kdelibs/; revision=887683
2008-11-22 15:16:46 +00:00
Rob Scheepmaker
4fe87fcfea Avoid screwing up the panel when dropping extenderitems in it: make extenderapplet a popupapplet! And use pinheiro's nice and amazingly weird icon as popupicon. I think I'm gonna call it 'the snowman'.
svn path=/trunk/KDE/kdelibs/; revision=887651
2008-11-22 14:32:43 +00:00
Script Kiddy
f0a8b90f3d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=887267
2008-11-21 13:23:18 +00:00
Aaron J. Seigo
82ab4794bd add file
svn path=/trunk/KDE/kdelibs/; revision=887091
2008-11-21 03:45:03 +00:00
Aaron J. Seigo
23a7c83164 clear the shortcuts editor pointer only when the dialog is actually dead and gone
BUG:175722

svn path=/trunk/KDE/kdelibs/; revision=887090
2008-11-21 03:43:45 +00:00
Aaron J. Seigo
c6f32b32f9 small hack to allow saving of defaults in ConfigLoader; used by Service, so put into the private impl for ConfigLoader and used that way.
based on a patch by Alain Boyer

CCMAIL:aainboyer@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=887072
2008-11-21 01:26:43 +00:00
Rob Scheepmaker
47dcbf47b9 By default, use an empty string as empty extender label, and don't display that label if that string is empty. The idea is that having that label there is weird when the extender is used in a dialog. The case in which the label is useful, is when the extender is embedded in an applet on the desktop, and the applet should only set the label, if this is the case.
svn path=/trunk/KDE/kdelibs/; revision=886937
2008-11-20 16:37:30 +00:00
Marco Martin
069dc43c79 forward hover events, so the a:hover properties and such works
accept keyboard focus->forms works :)

svn path=/trunk/KDE/kdelibs/; revision=886923
2008-11-20 15:38:51 +00:00
Script Kiddy
dff168ecf6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=886890
2008-11-20 13:44:52 +00:00
Aaron J. Seigo
ece148395c make sure screen is valid before asking for i
svn path=/trunk/KDE/kdelibs/; revision=886708
2008-11-19 21:18:37 +00:00
Aaron J. Seigo
4f72717a26 cleanups
svn path=/trunk/KDE/kdelibs/; revision=886707
2008-11-19 21:18:12 +00:00
Marco Martin
db92ebb2c0 call configChanged() on every config dialog finish to reset the global
shortcuts pointer.
maybe another slot that does the same thing is needed? 

svn path=/trunk/KDE/kdelibs/; revision=886681
2008-11-19 20:29:57 +00:00
Aaron J. Seigo
73a23ddf48 keep the tools in the allowed area
svn path=/trunk/KDE/kdelibs/; revision=886384
2008-11-19 05:35:34 +00:00
Aaron J. Seigo
cb4ac7b6ce proper size
BUG:175209

svn path=/trunk/KDE/kdelibs/; revision=886381
2008-11-19 05:08:38 +00:00
Aaron J. Seigo
323c6a7232 * catch CustomPanelContainment as well on immutability settings
* immobilize the desktop toolbox on immutability

svn path=/trunk/KDE/kdelibs/; revision=886372
2008-11-19 03:28:15 +00:00
Aaron J. Seigo
b4a67cda4b remove some todos, add some debug ... though now i can't reproduce the problem where my cashew scoots over the left randomly. hum hum hum
svn path=/trunk/KDE/kdelibs/; revision=886331
2008-11-19 00:40:38 +00:00
Marco Martin
33e2b141ef why i don't read them before committing?
svn path=/trunk/KDE/kdelibs/; revision=886280
2008-11-18 22:24:43 +00:00
Marco Martin
d72387aff2 ...buut still delete the style, hope more correct this time
svn path=/trunk/KDE/kdelibs/; revision=886265
2008-11-18 22:09:50 +00:00
Marco Martin
e3268fa145 setStyle(0) in the dtor isn't such a good idea...
svn path=/trunk/KDE/kdelibs/; revision=886254
2008-11-18 21:49:30 +00:00
Aaron J. Seigo
ac412d787b delete the widget first so that it gets a chance to clean up with the extenderitem it is in still around
svn path=/trunk/KDE/kdelibs/; revision=886236
2008-11-18 21:22:55 +00:00
Aaron J. Seigo
8a68d06f0d grant minimal access to the toolbox so we can avoid nasty hacks in containments. see next commit to PanelContainment for what i meant ;)
svn path=/trunk/KDE/kdelibs/; revision=886223
2008-11-18 20:49:42 +00:00
Aaron J. Seigo
c027fb3886 remove some more dead code due to c-n-p from DesktopToolBox
svn path=/trunk/KDE/kdelibs/; revision=886220
2008-11-18 20:47:04 +00:00
Marco Martin
2eb6b3ed9c hide the view on rmb click
BUG: 166902

svn path=/trunk/KDE/kdelibs/; revision=886216
2008-11-18 20:39:05 +00:00
Script Kiddy
989aa84924 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=886129
2008-11-18 16:13:31 +00:00
Marco Martin
9cfe6246ec make the tabbar widget stretch also in height (thus umbreaking it in the
panel), with a dirty hack on minimum/maximum sizes, but i think it's the
only way for now, since minimumTabSizeHint() and maximumTabSizeHint()
are private in QTabBar and will be protected probably not before Qt5 O.o

svn path=/trunk/KDE/kdelibs/; revision=886098
2008-11-18 15:27:04 +00:00
Aaron J. Seigo
4f36ceb235 we don't need the timer on this one; it's only useful for the desktop toolbox.
BUG:167782

svn path=/trunk/KDE/kdelibs/; revision=885897
2008-11-18 03:37:43 +00:00
Aaron J. Seigo
1171ef67d8 deleteLater is unecessary in this case and it just screws up some of our use cases such as the screen saver toolbox
svn path=/trunk/KDE/kdelibs/; revision=885859
2008-11-18 00:43:52 +00:00
Aaron J. Seigo
649057791d clean this up a little bit
svn path=/trunk/KDE/kdelibs/; revision=885858
2008-11-18 00:43:11 +00:00