GotoDialog.h 509 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef GOTODIALOG_H
  2. #define GOTODIALOG_H
  3. #include "ui_GotoDialog.h"
  4. #include <QDialog>
  5. struct MemoryLayout;
  6. class DebugSession;
  7. class Symbol;
  8. class GotoDialog : public QDialog, private Ui::GotoDialog
  9. {
  10. Q_OBJECT
  11. public:
  12. GotoDialog(const MemoryLayout& ml, DebugSession *session = 0, QWidget* parent = 0);
  13. int address();
  14. private:
  15. const MemoryLayout& memLayout;
  16. DebugSession *debugSession;
  17. Symbol *currentSymbol;
  18. private slots:
  19. void addressChanged(const QString& text);
  20. };
  21. #endif // GOTODIALOG_H