Commit Graph

21 Commits

Author SHA1 Message Date
Aaron J. Seigo
7ad7bfd634 set d->target sooner so that the code in setTarget(QRectF) works properly
svn path=/trunk/KDE/kdelibs/; revision=1026219
2009-09-21 06:17:04 +00:00
Aaron J. Seigo
7b5f1d4e35 since the target is destroyed, reset our internal pointer so we don't subsequently access it in setTargetItem and die a horrible death. corrects crashes in SAL.
svn path=/trunk/KDE/kdelibs/; revision=1026212
2009-09-21 05:26:12 +00:00
Marco Martin
48fe7cee90 assign d->target later or the comparison is always false, connect to
destroyed and crash--

svn path=/trunk/KDE/kdelibs/; revision=1025756
2009-09-19 15:50:06 +00:00
Jacopo De Simoi
94b684c01c make sure to disconnect the _old_ target from the itembackground, not the new one with itself
svn path=/trunk/KDE/kdelibs/; revision=1025709
2009-09-19 13:30:58 +00:00
Aaron J. Seigo
2f535d5516 if we have a target item and the target is visible but the background item isn't, show the background item and just move it into place
svn path=/trunk/KDE/kdelibs/; revision=1025473
2009-09-18 21:24:14 +00:00
Aaron J. Seigo
eb5b7d040c order and parent the background according to the item
svn path=/trunk/KDE/kdelibs/; revision=1017945
2009-08-31 23:47:11 +00:00
Aaron J. Seigo
dc1045b8cb * proper sizes
* don't crash on null target

svn path=/trunk/KDE/kdelibs/; revision=1017771
2009-08-31 12:29:44 +00:00
Aaron J. Seigo
feea867bd3 make it possible to do contntx resct syncing
svn path=/trunk/KDE/kdelibs/; revision=1017768
2009-08-31 12:14:47 +00:00
Aaron J. Seigo
b4fa1b3859 use the resize event
svn path=/trunk/KDE/kdelibs/; revision=1017755
2009-08-31 11:35:37 +00:00
Aaron J. Seigo
a36b7045f9 track item deletion as well
svn path=/trunk/KDE/kdelibs/; revision=1017735
2009-08-31 10:13:44 +00:00
Aaron J. Seigo
bf26e35f5c move/resize the background when the target item does so
svn path=/trunk/KDE/kdelibs/; revision=1017728
2009-08-31 10:04:17 +00:00
Aaron J. Seigo
27b2236e2d * move the private slot to the dptr
* don't crash when handed a null pointer to setTargetItem

svn path=/trunk/KDE/kdelibs/; revision=1017705
2009-08-31 09:19:00 +00:00
Laurent Montel
55187668a8 Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1017674
2009-08-31 07:22:56 +00:00
Marco Martin
663feaa341 restore fade in/out
svn path=/trunk/KDE/kdelibs/; revision=1017614
2009-08-31 00:47:24 +00:00
Marco Martin
082f5f1a93 sorry for the camels :)
svn path=/trunk/KDE/kdelibs/; revision=1017602
2009-08-31 00:18:14 +00:00
Marco Martin
43506a6962 fix setTargetItem
svn path=/trunk/KDE/kdelibs/; revision=1017598
2009-08-30 23:52:13 +00:00
Marco Martin
c76be95adb create the dpointer, doh!
svn path=/trunk/KDE/kdelibs/; revision=1017588
2009-08-30 23:34:25 +00:00
Marco Martin
087e42ead7 fix itemChange
svn path=/trunk/KDE/kdelibs/; revision=1017574
2009-08-30 22:44:47 +00:00
Marco Martin
a93ab19864 fix setTarget and setTargetItem behaviour
svn path=/trunk/KDE/kdelibs/; revision=1017557
2009-08-30 21:56:33 +00:00
Marco Martin
40db26d969 use Plasma namespace
svn path=/trunk/KDE/kdelibs/; revision=1017553
2009-08-30 21:41:06 +00:00
Marco Martin
77160a9e50 new widget: ItemBackground.
can be used for all fake item views based on qgraphicswidgets

svn path=/trunk/KDE/kdelibs/; revision=1017544
2009-08-30 21:17:52 +00:00