cutter/src/widgets/DebugActions.h
xarkes ab27e09b91 Splitted Cutter.h and moved everything in core (#1201)
Sometimes it is not necessary to include the whole Cutter.h file
Hence, it's been splitted so you can include only what you require
E.g. #include "core/CutterCommon.h" to have access to the common types
2019-02-22 17:50:45 +01:00

39 lines
835 B
C++

#pragma once
#include "core/Cutter.h"
class MainWindow;
class QToolBar;
class DebugActions : public QObject
{
Q_OBJECT
public:
explicit DebugActions(QToolBar *toolBar, MainWindow *main);
void addToToolBar(QToolBar *toolBar);
QAction *actionStart;
QAction *actionStartEmul;
QAction *actionAttach;
QAction *actionContinue;
QAction *actionContinueUntilMain;
QAction *actionContinueUntilCall;
QAction *actionContinueUntilSyscall;
QAction *actionStep;
QAction *actionStepOver;
QAction *actionStepOut;
QAction *actionStop;
QAction *actionAllContinues;
private:
MainWindow *main;
QList<QAction *> allActions;
private slots:
void continueUntilMain();
void attachProcessDialog();
void attachProcess(int pid);
void setAllActionsVisible(bool visible);
};