46 Q_INVOKABLE QList<QObject*>
getAll()
const;
61 Q_INVOKABLE
void remove(
int windowId)
const;
The class exposing Browser window to QML.
The class exposing Windows API to QML.
Q_INVOKABLE void remove(int windowId) const
Removes a browser window.
Q_INVOKABLE QList< QObject * > getAll() const
Get all the browser window.
Q_INVOKABLE QmlWindow * getCurrent() const
Gets the current browser window.
void created(QmlWindow *window)
The signal emitted when a window is created.
Q_INVOKABLE QmlWindow * create(const QVariantMap &map) const
Creates a browser window.
void removed(QmlWindow *window)
The signal emitted when a window is removed.
Q_INVOKABLE QmlWindow * get(int id) const
Gets a browser window.
QmlWindows(QObject *parent=nullptr)