mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Add View->Assembly to create assembly view.
This commit is contained in:
@@ -67,6 +67,7 @@ SeerMainWindow::SeerMainWindow(QWidget* parent) : QMainWindow(parent) {
|
||||
QObject::connect(actionFileQuit, &QAction::triggered, this, &SeerMainWindow::handleFileQuit);
|
||||
QObject::connect(actionViewMemoryVisualizer, &QAction::triggered, this, &SeerMainWindow::handleViewMemoryVisualizer);
|
||||
QObject::connect(actionViewArrayVisualizer, &QAction::triggered, this, &SeerMainWindow::handleViewArrayVisualizer);
|
||||
QObject::connect(actionViewAssembly, &QAction::triggered, this, &SeerMainWindow::handleViewAssembly);
|
||||
QObject::connect(actionConsoleNormal, &QAction::triggered, this, &SeerMainWindow::handleViewConsoleNormal);
|
||||
QObject::connect(actionConsoleHidden, &QAction::triggered, this, &SeerMainWindow::handleViewConsoleHidden);
|
||||
QObject::connect(actionConsoleMinimized, &QAction::triggered, this, &SeerMainWindow::handleViewConsoleMinimized);
|
||||
@@ -336,6 +337,11 @@ void SeerMainWindow::handleViewArrayVisualizer () {
|
||||
gdbWidget->handleGdbArrayVisualizer();
|
||||
}
|
||||
|
||||
void SeerMainWindow::handleViewAssembly () {
|
||||
|
||||
gdbWidget->editorManager()->showAssembly();
|
||||
}
|
||||
|
||||
void SeerMainWindow::handleViewConsoleNormal () {
|
||||
|
||||
gdbWidget->setConsoleMode("normal");
|
||||
|
||||
Reference in New Issue
Block a user