summaryrefslogblamecommitdiffstats
path: root/src/citra_qt/debugger/callstack.h
blob: 7aa83db1e20a86fbe89c20288625e76876751f7a (plain) (tree)
1
2
3
4
5
6
7
8
9



                                            
                      
                         


                         
                                          



            
                                               

             

                              



                                        


                                                                            
  
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include <QDockWidget>
#include "ui_callstack.h"

class QStandardItemModel;

class CallstackWidget : public QDockWidget
{
    Q_OBJECT

public:
    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();
};