#ifndef WIDGETITEMDELEGATE_P_H #define WIDGETITEMDELEGATE_P_H #include #include #include #include namespace QWK { class QWK_WIDGETS_EXPORT WidgetItemDelegate : public WindowItemDelegate { public: WidgetItemDelegate(); ~WidgetItemDelegate() override; public: QWindow *window(QObject *obj) const override; bool isEnabled(const QObject *obj) const override; bool isVisible(const QObject *obj) const override; QRect mapGeometryToScene(const QObject *obj) const override; QWindow *hostWindow(QObject *host) const override; bool isHostSizeFixed(const QObject *host) const override; bool isWindowActive(const QObject *host) const override; void resetQtGrabbedControl() const override; }; } #endif // WIDGETITEMDELEGATE_P_H