Files
QtGameMaker/src/editor/dialogs/actions/executecodedialog.h
T

27 lines
607 B
C++
Raw Normal View History

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