Loading...
Searching...
No Matches
PreviewSettings.hpp
1#pragma once
2#include <QObject>
3
4#include <score_lib_process_export.h>
5
6#include <verdigris>
7
8namespace Process
9{
18class SCORE_LIB_PROCESS_EXPORT PreviewSettings final : public QObject
19{
20 W_OBJECT(PreviewSettings)
21public:
22 static PreviewSettings& instance() noexcept;
23
24 bool enabled() const noexcept { return m_enabled; }
25 void setEnabled(bool b);
26
27 void enabledChanged(bool b) E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, enabledChanged, b)
28
29private:
31
32 bool m_enabled{true};
33};
34}
Whether previews render at all.
Definition PreviewSettings.hpp:19
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1115