| | |
| | | Q_INVOKABLE bool isHitTestVisible(const QQuickItem *item) const; |
| | | Q_INVOKABLE void setHitTestVisible(const QQuickItem *item, bool visible = true); |
| | | |
| | | #ifdef Q_OS_MAC |
| | | Q_INVOKABLE QQuickItem *systemButtonArea() const; |
| | | Q_INVOKABLE void setSystemButtonArea(QQuickItem *item); |
| | | #endif |
| | | |
| | | Q_SIGNALS: |
| | | void titleBarWidgetChanged(const QQuickItem *item); |
| | | void systemButtonChanged(SystemButton button, const QQuickItem *item); |
| | |
| | | protected: |
| | | QuickWindowAgent(QuickWindowAgentPrivate &d, QObject *parent = nullptr); |
| | | }; |
| | | |
| | | inline QuickWindowAgent *QWK_Initialize(QQuickWindow *window) { |
| | | auto agent = new QuickWindowAgent(window); |
| | | agent->setup(window); |
| | | return agent; |
| | | } |
| | | |
| | | } |
| | | |