Implemented actions widget and editing functionalities

This commit is contained in:
2022-01-14 21:21:17 +01:00
parent 8d45958d45
commit 0b4c275dfc
464 changed files with 36929 additions and 439 deletions
+4 -2
View File
@@ -21,10 +21,12 @@ AddEventDialog::AddEventDialog(QWidget *parent) :
connect(m_ui->pushButtonCreate, &QAbstractButton::clicked,
this, [this](){ m_eventType = Object::EventType::Create; accept(); });
connect(m_ui->pushButtonStep, &QAbstractButton::clicked,
this, [this](){ m_eventType = Object::EventType::Step; accept(); });
connect(m_ui->pushButtonDestroy, &QAbstractButton::clicked,
this, [this](){ m_eventType = Object::EventType::Destroy; accept(); });
connect(m_ui->pushButtonDraw, &QAbstractButton::clicked,
this, [this](){ m_eventType = Object::EventType::Draw; accept(); });
connect(m_ui->pushButtonStep, &QAbstractButton::clicked,
this, [this](){ m_eventType = Object::EventType::Step; accept(); });
}
AddEventDialog::~AddEventDialog() = default;