callstack.h 562 B

123456789101112131415161718192021222324252627
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include <QDockWidget>
  5. #include "ui_callstack.h"
  6. class QStandardItemModel;
  7. class CallstackWidget : public QDockWidget
  8. {
  9. Q_OBJECT
  10. public:
  11. CallstackWidget(QWidget* parent = 0);
  12. public slots:
  13. void OnDebugModeEntered();
  14. void OnDebugModeLeft();
  15. private:
  16. Ui::CallStack ui;
  17. QStandardItemModel* callstack_model;
  18. /// Clears the callstack widget while keeping the column widths the same
  19. void Clear();
  20. };