Loading...
Searching...
No Matches
Process::UIPlacementSettings Struct Reference
Detailed Description
The user's defaults, stored in the "User interface" settings. The settings model lives in the scenario plug-in; the values are read back from QSettings here so that this library does not depend on it.
Static Public Member Functions | |
| static const QStringList & | names () |
| Identifiers stored in the settings, in the order of the UIPlacement enum. | |
| static QString | toString (UIPlacement p) |
| static UIPlacement | fromString (const QString &s, UIPlacement fallback) |
| static UIPlacement | scriptEditorPlacement () |
| static UIPlacement | processUIPlacement () |
| static const QStringList & | previewNames () |
| Identifiers stored in the settings, in the order of the PreviewSource enum. | |
| static QString | toString (PreviewSource p) |
| static PreviewSource | previewFromString (const QString &s, PreviewSource fallback) |
| static PreviewSource | scriptEditorPreview () |
| static void | setScriptEditorPreview (PreviewSource p) |
| static void | setScriptEditorPlacement (UIPlacement p) |
| static void | setProcessUIPlacement (UIPlacement p) |
| static void | addChangeListener (QObject *context, std::function< void()> f) |
| The listener is dropped once its context object is gone. | |
Static Public Attributes | |
| static constexpr const char * | scriptEditorKey = "Skin/ScriptEditorPlacement" |
| static constexpr const char * | processUIKey = "Skin/ProcessUIPlacement" |
| static constexpr UIPlacement | defaultScriptEditorPlacement = UIPlacement::SidePanel |
| static constexpr UIPlacement | defaultProcessUIPlacement = UIPlacement::Central |
| static constexpr const char * | scriptEditorPreviewKey = "Skin/ScriptEditorPreview" |
| How central script editors look. | |
| static constexpr PreviewSource | defaultScriptEditorPreview = PreviewSource::Background |
Member Function Documentation
◆ setScriptEditorPlacement()
|
static |
Changing the defaults from the UI; the listeners (the settings model) are told so that the settings panel follows.
The documentation for this struct was generated from the following files:
- UIPlacement.hpp
- UIPlacement.cpp