2022-01-14 21:21:17 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2024-01-11 22:27:02 +01:00
|
|
|
#include "dialogs/codeeditordialog.h"
|
2022-01-14 21:21:17 +01:00
|
|
|
|
|
|
|
|
class QRadioButton;
|
2024-01-04 01:50:12 +01:00
|
|
|
struct ExecuteCodeAction;
|
2022-01-14 21:21:17 +01:00
|
|
|
|
2024-01-11 22:27:02 +01:00
|
|
|
class ExecuteCodeDialog : public CodeEditorDialog
|
2022-01-14 21:21:17 +01:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2024-01-11 22:27:02 +01:00
|
|
|
explicit ExecuteCodeDialog(ExecuteCodeAction &action, QWidget *parent = nullptr);
|
2022-01-14 21:21:17 +01:00
|
|
|
|
|
|
|
|
void accept() override;
|
|
|
|
|
|
|
|
|
|
private:
|
2024-01-04 01:50:12 +01:00
|
|
|
ExecuteCodeAction &m_action;
|
2022-01-14 21:21:17 +01:00
|
|
|
|
|
|
|
|
QRadioButton * const m_radioButtonSelf;
|
|
|
|
|
QRadioButton * const m_radioButtonOther;
|
|
|
|
|
QRadioButton * const m_radioButtonObject;
|
|
|
|
|
};
|