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);
|
2018-07-17 07:26:20 +00:00
|
|
|
QAction *actionStart;
|
|
|
|
QAction *actionStartEmul;
|
|
|
|
QAction *actionAttach;
|
|
|
|
QAction *actionContinue;
|
|
|
|
QAction *actionContinueUntilMain;
|
|
|
|
QAction *actionContinueUntilCall;
|
|
|
|
QAction *actionContinueUntilSyscall;
|
|
|
|
QAction *actionStep;
|
|
|
|
QAction *actionStepOver;
|
2018-07-30 06:55:39 +00:00
|
|
|
QAction *actionStepOut;
|
2018-07-31 17:16:05 +00:00
|
|
|
QAction *actionStop;
|
2018-06-12 08:43:14 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
MainWindow *main;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void continueUntilMain();
|
2018-06-22 08:46:23 +00:00
|
|
|
void colorToolbar(bool p);
|
2018-07-01 21:29:38 +00:00
|
|
|
void attachProcessDialog();
|
|
|
|
void attachProcess(int pid);
|
2018-06-12 08:43:14 +00:00
|
|
|
};
|