On Tuesday 29 May 2012, Mark wrote: > > can import an object into the QML that gives access to requesting window > > previews at a certain place in the tooltip (e.g. a new QML Item called > > WindowPreview that is actually a C++ class which handles all the > > previewing goodies; the QML would just create one or more of these > > WindowPreview objects > > and ensure they are placed correctly). > > Ahh oke, i get it. > For the moment i can even try to use a QGraphicsProxyWidget and just send > WindowPreview to QML. It actually seems fairly easy to do as described > here: > http://qt-project.org/doc/qt-4.8/declarative-cppextensions-qwidgets-qwidget > s-cpp.html or > if it doesn't work i can always put a big red squared stub in it as > placeholder ^_-
probably doesn't work since when windowpreview is a proxywidget doesn't have a read window id anymore: the window preview mechanism works by setting an Atom on the actual X11 window that asks for a preview of a particular window to be drawn at cerain coordinates by the compositor. the nearest thing to what you need is the old windowstrip plasmoid that lives in plasma-mobile repository -- Marco Martin _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel