#ifndef GOTODIALOG_H #define GOTODIALOG_H #include "ui_GotoDialog.h" #include #include struct MemoryLayout; class DebugSession; class Symbol; class GotoDialog : public QDialog, private Ui::GotoDialog { Q_OBJECT public: GotoDialog(const MemoryLayout& ml, DebugSession* session = nullptr, QWidget* parent = nullptr); std::optional address(); private: void addressChanged(const QString& text); private: const MemoryLayout& memLayout; DebugSession* debugSession; Symbol* currentSymbol; }; #endif // GOTODIALOG_H