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