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
Aaron J. Seigo
94bcb2a621
access the member directly
...
svn path=/trunk/KDE/kdelibs/; revision=1136832
2010-06-10 21:32:10 +00:00
Aaron J. Seigo
1cca6c7d02
foreach takes a copy, use a mutable iterator. prevents crashes. also make a few more sanity checks in places to be ++sure about the health when executing those methods.
...
BUG:235851
BUG:240996
svn path=/trunk/KDE/kdelibs/; revision=1136808
2010-06-10 20:10:49 +00:00
Marco Martin
4d23421690
don't try to update the labels when the extender is in its destructor
...
crash--
svn path=/trunk/KDE/kdelibs/; revision=1131699
2010-05-28 18:12:13 +00:00
Marco Martin
b8893a8044
too much classes clobbers with the Extender's private, protect d->applet behind a QWeakPointer
...
BUG:195369
BUG:232408
CCBUG:233563
BUG:239022
svn path=/trunk/KDE/kdelibs/; revision=1131248
2010-05-27 19:59:15 +00:00
Marco Martin
f08bf871f6
be sure to relayout if a different position is asked
...
svn path=/trunk/KDE/kdelibs/; revision=1129158
2010-05-21 12:49:27 +00:00
Marco Martin
baf1e98b99
resize extender over item removal
...
svn path=/trunk/KDE/kdelibs/; revision=1129137
2010-05-21 11:24:29 +00:00
Marco Martin
3aee2db14e
make extender::groups() work without assigning groups to themselves
...
svn path=/trunk/KDE/kdelibs/; revision=1128236
2010-05-18 18:55:00 +00:00
Marco Martin
aca321d765
ensure the groups() list doesn't contain null pointer (could fix some bugs, but tendds to generate backtraces not directly obvious)
...
svn path=/trunk/KDE/kdelibs/; revision=1127890
2010-05-17 22:18:12 +00:00
Marco Martin
0c989d306f
it's possible to drop items into extendergroups.
...
still not possible to chose the position, will come
svn path=/trunk/KDE/kdelibs/; revision=1113368
2010-04-10 16:15:52 +00:00
Marco Martin
3b3c111e48
tery with different size policies
...
svn path=/trunk/KDE/kdelibs/; revision=1112902
2010-04-09 13:05:48 +00:00
Aaron J. Seigo
556c51d2a5
* dump support for QGraphicsItems in Extenders. looks like it was already broken anyways (hooray for untested paths). supporting QGraphicsItems just doesn't make much sense anyways. this gets rid of a number of bugs and simplifies the code a lot
...
* use more QGraphicsWidget API and simplify the code even more
* put the title bar drawing into a class of its own, simplifying the code yet more
* use a Plasma::Label in the title bar so we don't have to draw our own text and ... well, you know what goes here by now ;)
one downside to this is that margins in title bar svg are *actually* honored, which means the titles take a bit more room. the svg can be tweaked, however.
svn path=/trunk/KDE/kdelibs/; revision=1111918
2010-04-07 02:04:52 +00:00
Marco Martin
7d853de323
still experimental and to me made work better: extendergroups store items in a scrollwidget
...
svn path=/trunk/KDE/kdelibs/; revision=1109959
2010-04-01 11:43:51 +00:00
Aaron J. Seigo
803bd9b463
since ExtenderItem relies on the Extender pointer it has, go through and delete all such items
...
svn path=/trunk/KDE/kdelibs/; revision=1107522
2010-03-25 21:44:45 +00:00
Aaron J. Seigo
f9027d26fa
* record where the mouse was in drag
...
* get the parenting right, prevents crashes
BUG:229566
svn path=/trunk/KDE/kdelibs/; revision=1099727
2010-03-06 01:43:44 +00:00
Aaron J. Seigo
362872435e
catch the case where we have a containment, but the containment is not in a corona
...
BUG:214460
svn path=/trunk/KDE/kdelibs/; revision=1088122
2010-02-10 08:47:12 +00:00
Aaron J. Seigo
adfdadd43a
catch extender deletion when they are still extender items
...
BUG:219194
svn path=/trunk/KDE/kdelibs/; revision=1088121
2010-02-10 08:43:08 +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
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
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
Aaron J. Seigo
1e6aaec27f
extenders into a subdir
...
svn path=/trunk/KDE/kdelibs/; revision=1019570
2009-09-03 21:53:56 +00:00