Revision 721a0e5...

Go back to digest for 6th October 2013

Features in KDE Base

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

[kcmdeco] Use QtQuick2 for the decoration preview list

This introduces quite some changes. We cannot include a QQuickView
directly in the QWidget based UI as a replacement for the
QDeclarativeView used before.

Instead a QScrollArea is used as replacement for the view and a
QQuickView is embedded into a widget container in the scroll area's
view port. This allows us to keep the existing semantic of having a
native scroll bar synced with the list view. It might be an idea to
change this to QtQuickControls in future.

As the list view is now only inside the scroll area we do not need to
pass the slider width to the root context and can by that more easily
calculate the width of one decoration.

File Changes

Modified 7 files
  • /kcmkwin/kwindecoration
  •   kwin/decoration.ui
  •   kwin/kwindecoration.cpp
  •   kwin/kwindecoration.h
  •   kwin/qml/AuroraeDecoration.qml
  •   kwin/qml/AuroraePreview.qml
  •   kwin/qml/DecorationPreview.qml
  •   kwin/qml/main.qml
7 files changed in total