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>
12
13#include <score_plugin_gfx_export.h>
14namespace Gfx::Text
15{
16class SCORE_PLUGIN_GFX_EXPORT Model final : public Process::ProcessModel
17{
18 SCORE_SERIALIZE_FRIENDS
19 PROCESS_METADATA_IMPL(Gfx::Text::Model)
20 W_OBJECT(Model)
21
22public:
23 Model(const TimeVal& duration, const Id<Process::ProcessModel>& id, QObject* parent);
24
25 template <typename Impl>
26 Model(Impl& vis, QObject* parent)
27 : Process::ProcessModel{vis, parent}
28 {
29 vis.writeTo(*this);
30 }
31
32 ~Model() override;
33
34private:
35 QString prettyName() const noexcept override;
36};
37
39
40}
Definition score-plugin-gfx/Gfx/Text/Process.hpp:17
Definition GenericProcessFactory.hpp:15
The Process class.
Definition score-lib-process/Process/Process.hpp:75
The id_base_t class.
Definition Identifier.hpp:59
Definition TimeValue.hpp:21