Loading...
Searching...
No Matches
score-plugin-gfx/Gfx/Text/Process.hpp
1#pragma once
2#include <Process/Drop/ProcessDropHandler.hpp>
3#include <Process/GenericProcessFactory.hpp>
4#include <Process/Process.hpp>
5
6#include <Gfx/CommandFactory.hpp>
7#include <Gfx/Graph/ImageNode.hpp>
8#include <Gfx/Text/Metadata.hpp>
9#include <Library/LibraryInterface.hpp>
10
11#include <score/command/PropertyCommand.hpp>
12namespace Gfx::Text
13{
14class Model final : public Process::ProcessModel
15{
16 SCORE_SERIALIZE_FRIENDS
17 PROCESS_METADATA_IMPL(Gfx::Text::Model)
18 W_OBJECT(Model)
19
20public:
21 constexpr bool hasExternalUI() { return false; }
22 Model(const TimeVal& duration, const Id<Process::ProcessModel>& id, QObject* parent);
23
24 template <typename Impl>
25 Model(Impl& vis, QObject* parent)
26 : Process::ProcessModel{vis, parent}
27 {
28 vis.writeTo(*this);
29 }
30
31 ~Model() override;
32
33private:
34 QString prettyName() const noexcept override;
35};
36
38
39}
Definition score-plugin-gfx/Gfx/Text/Process.hpp:15
Definition GenericProcessFactory.hpp:15
The Process class.
Definition score-lib-process/Process/Process.hpp:61
The id_base_t class.
Definition Identifier.hpp:57
Definition TimeValue.hpp:21