]> cloud.milkyroute.net Git - dolphin.git/commit
Since Qt 4.5 it is possible to have translucient windows. The tooltip approach having...
authorPeter Penz <peter.penz19@gmail.com>
Tue, 3 Nov 2009 21:48:27 +0000 (21:48 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 3 Nov 2009 21:48:27 +0000 (21:48 +0000)
commit74c1d61aa3547c80e1c7ee05397c76ccd6260fa7
treed3965c7f2b391a5def8018f48e5fcfe578af2dd6
parent48a9ecbf5bb5f3d4e2a548d5ce109ec1d459de6b
Since Qt 4.5 it is possible to have translucient windows. The tooltip approach having a delegate and custom drawing + animation code for transparent tooltips has now been replaced by a translucient window where any kind of (animated) widget can be embedded. Still a lot of finetuning has to be done, but maybe this code can be part of kdelibs in KDE 4.5 (systemsettings currently used the Dolphin tooltips code).

Additionally the tooltip uses now KMetaDataWidget instead of using KMetaInfo. This assures that no blocking of the application will occur even if there is a buggy Strigi analyzer that ignores the maximum size-setting and might block the retrieving of the meta data.

BUG: 182941
BUG: 195878

svn path=/trunk/KDE/kdebase/apps/; revision=1044485
16 files changed:
src/CMakeLists.txt
src/pixmapviewer.h
src/tooltips/dolphintooltip.cpp [deleted file]
src/tooltips/kformattedballoontipdelegate.cpp [deleted file]
src/tooltips/kformattedballoontipdelegate.h [deleted file]
src/tooltips/ktooltip.cpp
src/tooltips/ktooltip.h
src/tooltips/ktooltip_p.h
src/tooltips/ktooltipdelegate.cpp [deleted file]
src/tooltips/ktooltipdelegate.h [deleted file]
src/tooltips/ktooltipitem.cpp [deleted file]
src/tooltips/ktooltipitem.h [deleted file]
src/tooltips/ktooltipwindow.cpp [new file with mode: 0644]
src/tooltips/ktooltipwindow_p.h [moved from src/tooltips/dolphintooltip.h with 63% similarity]
src/tooltips/tooltipmanager.cpp
src/tooltips/tooltipmanager.h