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