mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-27 18:04:05 +00:00
28 lines
591 B
C++
28 lines
591 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QDockWidget>
|
|
#include "ui_callstack.h"
|
|
|
|
class QStandardItemModel;
|
|
|
|
class CallstackWidget : public QDockWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit CallstackWidget(QWidget* parent = nullptr);
|
|
|
|
public slots:
|
|
void OnDebugModeEntered();
|
|
void OnDebugModeLeft();
|
|
|
|
private:
|
|
Ui::CallStack ui;
|
|
QStandardItemModel* callstack_model;
|
|
|
|
/// Clears the callstack widget while keeping the column widths the same
|
|
void Clear();
|
|
};
|