score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
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
{
13
SCORE_PLUGIN_LV2_EXPORT
14
bool
uiLinksIncompatibleQt(
const
QString& binary_path);
15
16
class
Window
final :
public
score::PluginWindow
17
{
18
W_OBJECT(
Window
)
19
public
:
20
Window
(
const
Model& e,
const
score::DocumentContext
& ctx, QWidget* parent);
21
22
~Window
()
override
;
23
// TODO void resize(int w, int h);
24
static
bool
is_resizable(LilvWorld* world,
const
LilvUI& ui);
25
26
private
:
27
void
resizeEvent(QResizeEvent* event)
override
;
28
void
closeEvent(QCloseEvent* event)
override
;
29
30
const
Model& m_model;
31
QWidget* m_widget{};
32
};
33
34
using
LayerFactory
=
Process::EffectLayerFactory_T<Model, Window>
;
35
}
LV2::Window
Definition
plugins/score-plugin-lv2/LV2/Window.hpp:17
Process::EffectLayerFactory_T
Definition
EffectFactory.hpp:86
score::PluginWindow
Definition
PluginWindow.hpp:9
score::DocumentContext
Definition
DocumentContext.hpp:18