2015-01-04 23:06:57 +05:30
|
|
|
// Copyright 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2016-12-11 17:23:18 +05:30
|
|
|
#pragma once
|
|
|
|
|
2014-04-01 07:56:50 +05:30
|
|
|
#include <QDockWidget>
|
2014-06-23 02:07:07 +05:30
|
|
|
#include "ui_callstack.h"
|
2014-04-01 07:56:50 +05:30
|
|
|
|
|
|
|
class QStandardItemModel;
|
|
|
|
|
2016-09-18 06:08:01 +05:30
|
|
|
class CallstackWidget : public QDockWidget {
|
2014-04-01 07:56:50 +05:30
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2016-12-11 17:52:10 +05:30
|
|
|
explicit CallstackWidget(QWidget* parent = nullptr);
|
2014-04-01 07:56:50 +05:30
|
|
|
|
|
|
|
public slots:
|
2015-01-07 16:44:23 +05:30
|
|
|
void OnDebugModeEntered();
|
|
|
|
void OnDebugModeLeft();
|
2014-04-01 07:56:50 +05:30
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::CallStack ui;
|
|
|
|
QStandardItemModel* callstack_model;
|
2015-01-11 12:09:00 +05:30
|
|
|
|
|
|
|
/// Clears the callstack widget while keeping the column widths the same
|
|
|
|
void Clear();
|
2014-04-01 07:56:50 +05:30
|
|
|
};
|