| | |
| | | Q_ENUM(SystemButton) |
| | | |
| | | QVariant windowAttribute(const QString &key) const; |
| | | void setWindowAttribute(const QString &key, const QVariant &var); |
| | | |
| | | bool isEnabled() const; |
| | | void setEnabled(bool enabled); |
| | | bool setWindowAttribute(const QString &key, const QVariant &attribute); |
| | | |
| | | public Q_SLOTS: |
| | | void showSystemMenu(const QPoint &pos); |
| | | void showSystemMenu(const QPoint &pos); // Only available on Windows now |
| | | void centralize(); |
| | | void raise(); |
| | | |
| | | Q_SIGNALS: |
| | | void enabledChanged(bool enabled); |
| | | |
| | | protected: |
| | | explicit WindowAgentBase(WindowAgentBasePrivate &d, QObject *parent = nullptr); |