Loading...
Searching...
No Matches
PresetListView.hpp
1#pragma once
2#include <Process/Preset.hpp>
3
4#include <QListView>
5
6#include <score_plugin_library_export.h>
7
8#include <verdigris>
9
10namespace Library
11{
12class SCORE_PLUGIN_LIBRARY_EXPORT PresetListView : public QListView
13{
14 W_OBJECT(PresetListView)
15public:
16 using QListView::QListView;
17 void mouseDoubleClickEvent(QMouseEvent* event);
18
19 void selected(std::optional<Process::Preset> p)
20 E_SIGNAL(SCORE_PLUGIN_LIBRARY_EXPORT, selected, p)
21 void doubleClicked(Process::Preset p)
22 E_SIGNAL(SCORE_PLUGIN_LIBRARY_EXPORT, doubleClicked, p)
23};
24
25}
Definition PresetListView.hpp:13
Definition Preset.hpp:32