5#ifndef QUICKITEMDELEGATE_P_H
6#define QUICKITEMDELEGATE_P_H
17#include <QtCore/QObject>
18#include <QtGui/QWindow>
20#include <QWKCore/private/windowitemdelegate_p.h>
21#include <QWKQuick/qwkquickglobal.h>
25 class QWK_QUICK_EXPORT QuickItemDelegate :
public WindowItemDelegate {
28 ~QuickItemDelegate()
override;
31 QWindow *window(
const QObject *obj)
const override;
32 bool isEnabled(
const QObject *obj)
const override;
33 bool isVisible(
const QObject *obj)
const override;
34 QRect mapGeometryToScene(
const QObject *obj)
const override;
36 QWindow *hostWindow(
const QObject *host)
const override;
37 bool isWindowActive(
const QObject *host)
const override;
38 Qt::WindowStates getWindowState(
const QObject *host)
const override;
39 Qt::WindowFlags getWindowFlags(
const QObject *host)
const override;
40 QRect getGeometry(
const QObject *host)
const override;
42 void setWindowState(QObject *host, Qt::WindowStates state)
const override;
43 void setCursorShape(QObject *host, Qt::CursorShape shape)
const override;
44 void restoreCursorShape(QObject *host)
const override;
45 void setWindowFlags(QObject *host, Qt::WindowFlags flags)
const override;
46 void setWindowVisible(QObject *host,
bool visible)
const override;
47 void setGeometry(QObject *host,
const QRect &rect)
override;
48 void bringWindowToTop(QObject *host)
const override;
QWindowKit namespace.
Definition abstractwindowcontext.cpp:13