score
Home
Classes
Namespaces
Files
EventShortcut.hpp
1
#pragma once
2
#include <QString>
3
#include <QWidget>
4
5
#include <verdigris>
6
7
class
QCheckBox;
8
class
QPushButton;
9
10
namespace
Scenario
11
{
12
// TODO refactor with SelectableButton
13
class
EventShortCut
final :
public
QWidget
14
{
15
W_OBJECT(
EventShortCut
)
16
public
:
17
EventShortCut
(QString eventId, QWidget* parent =
nullptr
);
18
19
bool
isChecked();
20
QString eventName();
21
22
public
:
23
void
eventSelected() W_SIGNAL(eventSelected);
24
25
private
:
26
QCheckBox* m_box;
27
QPushButton* m_eventBtn;
28
};
29
}
Scenario::EventShortCut
Definition:
EventShortcut.hpp:14
Scenario
Main plug-in of score.
Definition:
score-plugin-dataflow/Dataflow/PortItem.hpp:14