SineStriker
2023-12-29 58ef035603b8e3bf9299b4bddcdebcc653ea8810
src/widgets/widgetwindowagent.h
@@ -26,11 +26,20 @@
        QWidget *systemButton(SystemButton button) const;
        void setSystemButton(SystemButton button, QWidget *w);
#ifdef Q_OS_MAC
        // The system button area APIs are experimental, may be changed in the future.
        QWidget *systemButtonArea() const;
        void setSystemButtonArea(QWidget *widget);
        ScreenRectCallback systemButtonAreaCallback() const;
        void setSystemButtonAreaCallback(const ScreenRectCallback &callback);
#endif
        bool isHitTestVisible(const QWidget *w) const;
        void setHitTestVisible(const QWidget *w, bool visible = true);
    Q_SIGNALS:
        void titleBarWidgetChanged(const QWidget *w);
        void titleBarChanged(const QWidget *w);
        void systemButtonChanged(SystemButton button, const QWidget *w);
    protected: