cutter/src/widgets/DebugToolbar.h

34 lines
719 B
C
Raw Normal View History

2018-06-12 08:43:14 +00:00
#pragma once
#include <QToolBar>
#include "Cutter.h"
class MainWindow;
class DebugToolbar : public QToolBar
{
Q_OBJECT
public:
explicit DebugToolbar(MainWindow *main, QWidget *parent = nullptr);
QAction *actionStart;
QAction *actionStartEmul;
QAction *actionAttach;
QAction *actionContinue;
QAction *actionContinueUntilMain;
QAction *actionContinueUntilCall;
QAction *actionContinueUntilSyscall;
QAction *actionStep;
QAction *actionStepOver;
QAction *actionStepOut;
QAction *actionStop;
2018-06-12 08:43:14 +00:00
private:
MainWindow *main;
private slots:
void continueUntilMain();
void colorToolbar(bool p);
void attachProcessDialog();
void attachProcess(int pid);
2018-06-12 08:43:14 +00:00
};