2022-01-14 21:21:17 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "codeeditordialog.h"
|
|
|
|
|
|
|
|
|
|
class QRadioButton;
|
2024-01-04 01:50:12 +01:00
|
|
|
struct ExecuteCodeAction;
|
2022-01-14 21:21:17 +01:00
|
|
|
|
|
|
|
|
class CodeActionDialog : public CodeEditorDialog
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2024-01-04 01:50:12 +01:00
|
|
|
explicit CodeActionDialog(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;
|
|
|
|
|
};
|