5#ifndef QXWORKSPACEMANAGER_H
6#define QXWORKSPACEMANAGER_H
12#include <QtCore/QObject>
13#include <QtCore/QString>
14#include <QtCore/QStringList>
19class QxWorkspaceManagerPrivate;
70 QStringList workspaceNames()
const;
72 bool contains(
const QString &
name)
const;
79 QString currentWorkspace()
const;
88 bool saveWorkspace(
const QString &
name);
97 bool applyWorkspace(
const QString &
name);
104 bool removeWorkspace(
const QString &
name);
110 bool renameWorkspace(
const QString &from,
const QString &to);
112 void clearWorkspaces();
The window skeleton of a ribbon application.
The named layouts of one shell.
void workspaceRemoved(const QString &name)
A workspace was forgotten - also emitted once per name by clearWorkspaces().
void workspaceSaved(const QString &name)
A workspace was stored, first time or overwriting.
void currentWorkspaceChanged(const QString &name)
The current workspace changed; name is empty when there is none now.
void workspaceApplied(const QString &name)
A workspace was brought back on screen.
Thin wrapper around QSettings that keeps call sites free of the usual boilerplate: typed accessors wi...
#define QX_APP_END_NAMESPACE
#define QX_DECLARE_PRIVATE(Class)
#define Q_NULLPTR
Copyleft (C) 2025 maminjie canpool@163.com SPDX-License-Identifier: MulanPSL-2.0
#define QX_APP_BEGIN_NAMESPACE
#define QX_CORE_PREPEND_NAMESPACE(name)