From d1aa2eb18029419e280942e91b665438c74c5a1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Tue, 26 Jun 2007 14:32:42 +0000 Subject: [PATCH] Fancy dragged items. There are two bad parts of this story: the hardcoded value of the opacity and the break-of-unification between QListView and KListView. This will be removed for sure, just for testing reasons. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=680555 --- src/klistview.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/klistview.cpp b/src/klistview.cpp index 0c550f486..1971d7f98 100644 --- a/src/klistview.cpp +++ b/src/klistview.cpp @@ -660,7 +660,10 @@ void KListView::paintEvent(QPaintEvent *event) } if (d->isDragging && !d->dragLeftViewport) + { + painter.setOpacity(0.5); d->drawDraggedItems(&painter); + } painter.restore(); } -- 2.47.3