callstack.h 591 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <QDockWidget>
  6. #include "ui_callstack.h"
  7. class QStandardItemModel;
  8. class CallstackWidget : public QDockWidget {
  9. Q_OBJECT
  10. public:
  11. explicit CallstackWidget(QWidget* parent = nullptr);
  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. };