score
Home
Classes
Namespaces
Files
plugins/score-plugin-lv2/LV2/Window.hpp
1
#pragma once
2
#include <LV2/EffectModel.hpp>
3
4
#include <score/widgets/PluginWindow.hpp>
5
6
#include <verdigris>
7
8
namespace
LV2
9
{
10
11
class
Window
final :
public
score::PluginWindow
12
{
13
W_OBJECT(
Window
)
14
public
:
15
Window
(
const
Model& e,
const
score::DocumentContext
& ctx, QWidget* parent);
16
17
~
Window
()
override
;
18
// TODO void resize(int w, int h);
19
static
bool
is_resizable(LilvWorld* world,
const
LilvUI& ui);
20
21
private
:
22
void
resizeEvent(QResizeEvent* event)
override
;
23
void
closeEvent(QCloseEvent* event)
override
;
24
25
const
Model& m_model;
26
QWidget* m_widget{};
27
};
28
29
using
LayerFactory
30
=
Process::EffectLayerFactory_T<Model, Process::DefaultEffectItem, Window>
;
31
}
LV2::Window
Definition:
plugins/score-plugin-lv2/LV2/Window.hpp:12
Process::EffectLayerFactory_T
Definition:
EffectFactory.hpp:66
score::PluginWindow
Definition:
PluginWindow.hpp:9
score::DocumentContext
Definition:
DocumentContext.hpp:18