citra/src/citra_qt/debugger/callstack.h

29 lines
582 B
C
Raw Normal View History

// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
2014-04-01 02:26:50 +00:00
#include <QDockWidget>
#include "ui_callstack.h"
2014-04-01 02:26:50 +00:00
class QStandardItemModel;
class CallstackWidget : public QDockWidget {
2014-04-01 02:26:50 +00:00
Q_OBJECT
public:
CallstackWidget(QWidget* parent = nullptr);
2014-04-01 02:26:50 +00:00
public slots:
void OnDebugModeEntered();
void OnDebugModeLeft();
2014-04-01 02:26:50 +00:00
private:
Ui::CallStack ui;
QStandardItemModel* callstack_model;
/// Clears the callstack widget while keeping the column widths the same
void Clear();
2014-04-01 02:26:50 +00:00
};