Marco Martin
d7a801dadd
initialize scrollbarVisible
...
BUG:270387
2011-04-08 19:05:01 +02:00
Marco Martin
27570007f3
don't collapse when it's destroying
...
try to not crash upon deletion of the extender
2011-02-01 21:20:48 +01:00
Marco Martin
6519d42bd8
fix background when dragging
...
use the dialog background frame instead of the transparent extender background
2011-02-01 19:25:43 +01:00
Aaron J. Seigo
56fc44f841
various cleanups
...
svn path=/trunk/KDE/kdelibs/; revision=1217825
2011-01-28 22:30:54 +00:00
Marco Martin
fc8f66f498
with a new singleshot don't adjust the extender size due to a sub widget resize until the next turn of the eventloop: avoids container that resizes the ontent that resizes the container loops
...
svn path=/trunk/KDE/kdelibs/; revision=1215443
2011-01-18 19:03:33 +00:00
Aaron J. Seigo
ef64072b4a
remove the item pointer from all collections when it is deleted as it is also added to all of them when first added
...
BUG:263565
svn path=/trunk/KDE/kdelibs/; revision=1215440
2011-01-18 18:59:27 +00:00
Marco Martin
007aeb35fb
if an extenderItem is moved before the delayoued insertin has been made, remove it from the pending queue
...
svn path=/trunk/KDE/kdelibs/; revision=1214453
2011-01-14 16:33:32 +00:00
Marco Martin
a757529178
update the size when an item in a grup wants to be resized
...
svn path=/trunk/KDE/kdelibs/; revision=1212619
2011-01-07 17:46:17 +00:00
Marco Martin
0069c38934
don't add empty extender groups that are autohide
...
BUG:258645
svn path=/trunk/KDE/kdelibs/; revision=1212326
2011-01-06 14:55:41 +00:00
Marco Martin
e92078b1c0
set the correct margins when a dialog with an extender goes at the edge of the screen
...
svn path=/trunk/KDE/kdelibs/; revision=1211687
2011-01-04 16:53:31 +00:00
Marco Martin
6df6c161f7
don't try to resize the extender when an inner itel resizes, it can cause endless resizing loops
...
svn path=/trunk/KDE/kdelibs/; revision=1211658
2011-01-04 15:23:20 +00:00
Marco Martin
72d7757146
be more paranoid in checking for pointers
...
BUG:261570
svn path=/trunk/KDE/kdelibs/; revision=1210334
2010-12-30 18:10:55 +00:00
Marco Martin
3affa93b86
auto resize at most at a third of the screen size.
...
this is still not perfect (should also take into account the user custom resize)
but avoids the widget being resize to completely ridiculous sizes
svn path=/trunk/KDE/kdelibs/; revision=1206707
2010-12-15 15:01:19 +00:00
Marco Martin
07444819b7
move the size adjustment in a private member
...
svn path=/trunk/KDE/kdelibs/; revision=1206703
2010-12-15 14:35:11 +00:00
Marco Martin
e04e91e9ad
disable borders near to the edge of the screen for extenders too
...
svn path=/trunk/KDE/kdelibs/; revision=1206154
2010-12-13 16:15:49 +00:00
Marco Martin
bd29f6a61c
be sure the layouts are notified all up the stack from extenderitem to group, to extender and its scrolling widget
...
svn path=/trunk/KDE/kdelibs/; revision=1205304
2010-12-10 20:00:18 +00:00
Marco Martin
adb48ea807
ensure everything has been cleaned up when an extender item dies
...
BUG:257658
svn path=/trunk/KDE/kdelibs/; revision=1204476
2010-12-07 13:42:36 +00:00
Marco Martin
3b9158f1c0
don't show the childs widget if the group is collapsed, not the item
...
svn path=/trunk/KDE/kdelibs/; revision=1191175
2010-10-29 20:19:05 +00:00
Marco Martin
6ad3371e9a
scroll around while dragging items on the extender, to make possible drop the item on any point
...
svn path=/trunk/KDE/kdelibs/; revision=1186504
2010-10-16 17:41:59 +00:00
Marco Martin
5d452a0429
remove the spacer widget from groups on a dragLeaveEvent
...
svn path=/trunk/KDE/kdelibs/; revision=1186451
2010-10-16 12:49:55 +00:00
Marco Martin
805fdd1e9a
reset the spacerWidget pointer, crash--
...
svn path=/trunk/KDE/kdelibs/; revision=1186447
2010-10-16 12:35:42 +00:00
Marco Martin
0126b7f16f
reset the theme after a drop event
...
svn path=/trunk/KDE/kdelibs/; revision=1186446
2010-10-16 12:17:49 +00:00
Marco Martin
32e10a77d2
resize to the proper size when an item is collapsed/restored
...
svn path=/trunk/KDE/kdelibs/; revision=1186431
2010-10-16 11:35:16 +00:00
Marco Martin
616a10059d
resize to the proper sizes when expanding/collapsing the groups
...
svn path=/trunk/KDE/kdelibs/; revision=1186426
2010-10-16 11:08:25 +00:00
Aaron J. Seigo
1c77587903
use the Plasma namespace consistently in the signals
...
svn path=/trunk/KDE/kdelibs/; revision=1185863
2010-10-14 12:25:20 +00:00
Marco Martin
bdcf7578ee
use a weak pointer
...
svn path=/trunk/KDE/kdelibs/; revision=1185272
2010-10-12 19:33:15 +00:00
Marco Martin
0aa740d33b
since the item takes ownership of its widget, get rid of it when it changes
...
svn path=/trunk/KDE/kdelibs/; revision=1185267
2010-10-12 19:06:34 +00:00
Marco Martin
b3b18e5d7e
make sure to not call the delayed itemaddedevent twice: the queue becomes an hash.
...
the counterindication is that the order now is kinda indeterministinc but *shouldn't* give problems
svn path=/trunk/KDE/kdelibs/; revision=1185200
2010-10-12 14:36:46 +00:00
Marco Martin
c79712f294
the update of the dragger appearance belongs in themeChanged()
...
svn path=/trunk/KDE/kdelibs/; revision=1185176
2010-10-12 13:20:04 +00:00
Marco Martin
22db020315
start with groups not collapsed by default
...
svn path=/trunk/KDE/kdelibs/; revision=1185145
2010-10-12 11:02:09 +00:00
Marco Martin
132719558d
adjust the alignment even where there is only th icon on the left but no buttons on the right
...
svn path=/trunk/KDE/kdelibs/; revision=1185142
2010-10-12 10:44:59 +00:00
Marco Martin
b2afff32f3
* hide the icon when a null one is set
...
* center the title text
svn path=/trunk/KDE/kdelibs/; revision=1185117
2010-10-12 10:02:19 +00:00
Marco Martin
65acd2bfda
disable overflow borders
...
svn path=/trunk/KDE/kdelibs/; revision=1184912
2010-10-11 20:00:04 +00:00
Marco Martin
7306716038
IMPROVEMENT: the whole extender scrolls when there is not enough room anymore.
...
the extendergroup doen't have a scrollwidget anymore
still needs perfecting but is already less buggy and prettier
svn path=/trunk/KDE/kdelibs/; revision=1184907
2010-10-11 19:17:19 +00:00
Marco Martin
b5688057bc
fix root items appearance
...
svn path=/trunk/KDE/kdelibs/; revision=1184861
2010-10-11 16:04:06 +00:00
Marco Martin
f947ed9495
FEATURE: new feature in the theme: use a "grouped" prefix for items in a group and "root" prefix for non grouped ones.
...
still fallsback to the old one if either those prefixes don't exist or the root one doesn't have a "stacked" appearance
svn path=/trunk/KDE/kdelibs/; revision=1184857
2010-10-11 15:46:23 +00:00
Aaron J. Seigo
03f8db0342
when an extender is created on an applet without an extender and it is a popup applet without an explicitly defined graphicsWidget, make it re-check the layout so it creates a dialog or whatever when appropriate based on having a graphicsWidget now
...
svn path=/trunk/KDE/kdelibs/; revision=1180038
2010-09-26 20:19:11 +00:00
Marco Martin
b53a6e5b0a
items in groups no longer have any border
...
svn path=/trunk/KDE/kdelibs/; revision=1177842
2010-09-21 12:43:15 +00:00
Marco Martin
6655948ccd
IMPROVEMENT: when searcing for our hostApplet, always look for the extenders's applet before,
...
it is slightly faster and -partly- fixes the inability of detecting the host applet when it is an applet-in-applet, like the systray
svn path=/trunk/KDE/kdelibs/; revision=1177632
2010-09-20 19:25:30 +00:00
Marco Martin
a80f50cf4d
actually use pendingItems
...
svn path=/trunk/KDE/kdelibs/; revision=1177535
2010-09-20 13:34:12 +00:00
Marco Martin
ec9a6ad1ba
FEATURE: allow to add actions with only text in the extender titlebar, they will appear as push buttons
...
svn path=/trunk/KDE/kdelibs/; revision=1177247
2010-09-19 21:28:39 +00:00
Marco Martin
5560dc2b14
if destroy is called when the extenderitem is being deleted already it could not have a scene
...
svn path=/trunk/KDE/kdelibs/; revision=1177229
2010-09-19 20:05:09 +00:00
Marco Martin
8992e628f8
delay itemAddedEvent at the end of the event loop:
...
if an item is added in a group right after creation, an itemAddedEvent shouldn't happen at all
svn path=/trunk/KDE/kdelibs/; revision=1177226
2010-09-19 19:47:23 +00:00
Aaron J. Seigo
931ce93e03
whoops; his patch and mine colided and this include header got committed by accident
...
svn path=/trunk/KDE/kdelibs/; revision=1171409
2010-09-03 19:26:47 +00:00
Aaron J. Seigo
f02786e31a
SVN_SILENT: ease giulio's pain in generate diffs
...
svn path=/trunk/KDE/kdelibs/; revision=1171395
2010-09-03 18:09:18 +00:00
Aaron J. Seigo
7e23828338
build
...
svn path=/trunk/KDE/kdelibs/; revision=1153772
2010-07-24 00:52:46 +00:00
Marco Martin
2687d8595b
add an option in extenderitem to use a config group completely in memory, intended for extenderitems that really aren't supposed to be saved and restored on disk.
...
the notifications one, but more important the job ones really don't have a big point to be saved.
svn path=/trunk/KDE/kdelibs/; revision=1153692
2010-07-23 19:29:50 +00:00
Aaron J. Seigo
1791b2b693
avoid warnings
...
svn path=/trunk/KDE/kdelibs/; revision=1142366
2010-06-24 18:32:49 +00:00
Aaron J. Seigo
0543ed0f15
a work around for the fact that groups and items are in the same collection, which can cause issues on destruction
...
BUG:242112
svn path=/trunk/KDE/kdelibs/; revision=1141872
2010-06-23 17:58:33 +00:00
Marco Martin
6f8d808068
event->button() is usually empty, do drags only with the left buttons (and find the down position with that too) instead
...
BUG:198814
svn path=/trunk/KDE/kdelibs/; revision=1137301
2010-06-12 09:51:42 +00:00