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