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
8namespace LV2
9{
13SCORE_PLUGIN_LV2_EXPORT
14bool uiLinksIncompatibleQt(const QString& binary_path);
15
16class Window final : public score::PluginWindow
17{
18 W_OBJECT(Window)
19public:
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
26private:
27 void resizeEvent(QResizeEvent* event) override;
28 void closeEvent(QCloseEvent* event) override;
29
30 const Model& m_model;
31 QWidget* m_widget{};
32};
33
35}
Definition plugins/score-plugin-lv2/LV2/Window.hpp:17
Definition EffectFactory.hpp:86
Definition PluginWindow.hpp:9
Definition DocumentContext.hpp:18