Commit Graph

4339 Commits

Author SHA1 Message Date
Aaron J. Seigo
a3db44d5f4 grant access to the associated applet
svn path=/trunk/KDE/kdelibs/; revision=1018586
2009-09-01 21:59:04 +00:00
Chani Armitage
bf8eb6de86 Revert "give contextmenuevent a chance to run"
ooops. that patch relies on 4.6, didn't mean to commit it yet

svn path=/trunk/KDE/kdelibs/; revision=1018488
2009-09-01 18:46:28 +00:00
Chani Armitage
0afd8efd8c give contextmenuevent a chance to run
this is icky and depends on scene()->sendEvent
but we need it to know whether the containment plugin has child items
expecting a contextmenuevent, before we eat the event.
by the time contextmenuevent runs normally it's too late.

svn path=/trunk/KDE/kdelibs/; revision=1018486
2009-09-01 18:42:26 +00:00
Beat Wolf
03d8572ae4 fix a double delete bug
svn path=/trunk/KDE/kdelibs/; revision=1018485
2009-09-01 18:42:09 +00:00
Script Kiddy
1c4ec3b052 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1018441
2009-09-01 17:52:51 +00:00
Aaron J. Seigo
27bfcc8f18 apidox fix
svn path=/trunk/KDE/kdelibs/; revision=1018189
2009-09-01 12:40:55 +00:00
Riccardo Iaconelli
339a5f84e4 fix a huge leak :-)
Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>

svn path=/trunk/KDE/kdelibs/; revision=1018177
2009-09-01 12:01:30 +00:00
Aaron J. Seigo
309272b6f9 don't repaint the entire widget when we're setting the same content
CCBUG:204491

svn path=/trunk/KDE/kdelibs/; revision=1018140
2009-09-01 11:00:10 +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
Ana Cecília Martins
7830d10905 now calling addItem when adding an offscreen widget,
otherwise it would need to be called outside the function,
which is not very intuitive


svn path=/trunk/KDE/kdelibs/; revision=1017869
2009-08-31 19:06:06 +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
88faa0813f only toggle on left click and let other click go through
svn path=/trunk/KDE/kdelibs/; revision=1017716
2009-08-31 09:30:13 +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
Chani Armitage
eab10293a8 consider the handle part of the applet for mouseevents
svn path=/trunk/KDE/kdelibs/; revision=1017591
2009-08-30 23:41:23 +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
d04a5b7624 if you export it maybe then you can actually use it right?
svn path=/trunk/KDE/kdelibs/; revision=1017581
2009-08-30 23:11:04 +00:00
Marco Martin
087e42ead7 fix itemChange
svn path=/trunk/KDE/kdelibs/; revision=1017574
2009-08-30 22:44:47 +00:00
Marco Martin
c3ae74a0aa install the header
svn path=/trunk/KDE/kdelibs/; revision=1017561
2009-08-30 22:05:07 +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
Chani Armitage
024d23a07f for contextmenu events triggered by the mouse on the containment, fall
through to the mouse events. it's easier to handle that way

svn path=/trunk/KDE/kdelibs/; revision=1017492
2009-08-30 18:52:10 +00:00
Chani Armitage
93aead97a1 allow click-throughs for the containment's graphicsitems
this makes folderview happier, yay

svn path=/trunk/KDE/kdelibs/; revision=1017491
2009-08-30 18:52:05 +00:00
Chani Armitage
f725121a2a don't use qgraphicsitem_cast, + some cleanup
svn path=/trunk/KDE/kdelibs/; revision=1017490
2009-08-30 18:51:58 +00:00
Chani Armitage
22506da412 make rightclick-on-folderview work
svn path=/trunk/KDE/kdelibs/; revision=1017489
2009-08-30 18:51:51 +00:00
Chani Armitage
af4925f777 SVN_SILENT: less negative
svn path=/trunk/KDE/kdelibs/; revision=1017488
2009-08-30 18:51:32 +00:00
Davide Bettio
9c17a0b105 Added separator widget that has been posted in the reviewboard some months ago.
http://reviewboard.kde.org/r/672/

svn path=/trunk/KDE/kdelibs/; revision=1017364
2009-08-30 11:28:34 +00:00
Script Kiddy
d10470d6ef SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1017135
2009-08-29 19:09:59 +00:00
Aaron J. Seigo
6a68528d75 static is good enough here too
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1017114
2009-08-29 18:30:36 +00:00
Marco Martin
d6eb165ee5 setTextSelectable, to be able to select text XOR drag the widget with
the mouse

svn path=/trunk/KDE/kdelibs/; revision=1017058
2009-08-29 16:59:28 +00:00
Allen Winter
07f11ce056 compile++
CCMAIL: notmart@gmail.com

svn path=/trunk/KDE/kdelibs/; revision=1016997
2009-08-29 14:22:52 +00:00
Marco Martin
9ee071c5e3 decent icon size
svn path=/trunk/KDE/kdelibs/; revision=1016957
2009-08-29 13:00:22 +00:00
Aaron J. Seigo
37f65858dc prevent duplicate actions in the toolbox
BUG:200981

svn path=/trunk/KDE/kdelibs/; revision=1016829
2009-08-29 00:33:27 +00:00
Marco Martin
6b5a36dbd3 check that the image is not null
BUG:201045

svn path=/trunk/KDE/kdelibs/; revision=1016811
2009-08-29 00:04:19 +00:00
Aaron J. Seigo
87b743188e update the toolbox when the activity changes as it may be showing the name of it
svn path=/trunk/KDE/kdelibs/; revision=1016743
2009-08-28 19:07:56 +00:00
Aaron J. Seigo
1e8fc7272f only reset the sizes when we have no tabs
BUG:205457

svn path=/trunk/KDE/kdelibs/; revision=1016724
2009-08-28 17:28:15 +00:00
Script Kiddy
3c46311ccc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1016552
2009-08-28 03:03:53 +00:00
Aaron J. Seigo
cbf532055d ensure popups are on all desktops
svn path=/trunk/KDE/kdelibs/; revision=1016274
2009-08-27 11:50:56 +00:00
Marco Martin
f21674ae8b uuh, whi that code was commented out?
svn path=/trunk/KDE/kdelibs/; revision=1015529
2009-08-25 18:54:42 +00:00
Aaron J. Seigo
5b435bae2b menus should show on press, not release (though the paste plugin is correct in activating on release)
svn path=/trunk/KDE/kdebase/workspace/plasma/containmentactions/test/; revision=1015485
2009-08-25 16:14:49 +00:00
Aaron J. Seigo
1f57b0c726 send in both press and release events
svn path=/trunk/KDE/kdelibs/; revision=1015482
2009-08-25 16:14:05 +00:00
Aaron J. Seigo
c4079787fa simplify the discardCache call; makes sanitizing this code easier (e.g. never having a null pointer!)
svn path=/trunk/KDE/kdelibs/; revision=1015481
2009-08-25 16:13:27 +00:00