Revision 8f56907...

Go back to digest for 13th November 2011

Features in KDE Base

Martin Gräßlin committed changes in [kde-workspace] /:

Window Thumbnail support for QML

A new QML item "ThumbnailItem" is registered to the TabBox. The
C++ implementation finds the EffectWindow of the TabBox and adds
itself to the EffectWindow.

While rendering the EffectWindow the information for all registered
ThumbnailItems are extracted and the thumbnail is rendered on top
of the EffectWindow.

This has obvious limitations like you cannot put other QML items
on top of the thumbnail. Nevertheless it works well enough to
be a possible replacement for e.g. BoxSwitch effect.

When compositing is disabled an icon is rendered instead of the

One TabBox Layout inspired by BoxSwitch Effect is added. For the
KCM small pre-rendered items are used.

REVIEW: 103039

File Changes

Added 5 files
  •   kwin/thumbnailitem.cpp
  •   kwin/thumbnailitem.h
  •   kwin/kcmkwin/kwintabbox/thumbnailitem.cpp
  •   kwin/kcmkwin/kwintabbox/thumbnailitem.h
  •   kwin/tabbox/qml/thumbnails.qml
Modified 8 files
  •   kwin/CMakeLists.txt
  •   kwin/effects.cpp
  •   kwin/effects.h
  •   kwin/scene.cpp
  •   kwin/tabbox/clientmodel.cpp
  •   kwin/tabbox/declarative.cpp
  •   kwin/kcmkwin/kwintabbox/CMakeLists.txt
  •   kwin/kcmkwin/kwintabbox/layoutconfig.cpp
13 files changed in total