diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-07 16:54:45 -0300 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-09-07 16:54:45 -0300 |
commit | 87a2fd8b3fdc0931cce95300cd85c5ee3ea0382c (patch) | |
tree | 7380029505ac8c21ab77aecb9ce3b9145b80705a /src/citra_qt/debugger/graphics_vertex_shader.h | |
parent | f5a49df679ef4d2e0aca2115fb5790d5259aa922 (diff) | |
parent | 2011f9a042bfb51124550462f64a2106e59e11df (diff) |
Merge pull request #1052 from yuriks/vertex-disasm
Shader Debugger Improvements
Diffstat (limited to 'src/citra_qt/debugger/graphics_vertex_shader.h')
-rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.h b/src/citra_qt/debugger/graphics_vertex_shader.h index 1b3f1f7ec..0bf1652fc 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.h +++ b/src/citra_qt/debugger/graphics_vertex_shader.h @@ -4,7 +4,7 @@ #pragma once -#include <QAbstractListModel> +#include <QAbstractTableModel> #include "graphics_breakpoint_observer.h" @@ -17,14 +17,12 @@ class QSpinBox; class GraphicsVertexShaderWidget; -class GraphicsVertexShaderModel : public QAbstractItemModel { +class GraphicsVertexShaderModel : public QAbstractTableModel { Q_OBJECT public: GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent); - QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const override; - QModelIndex parent(const QModelIndex& child) const override; int columnCount(const QModelIndex& parent = QModelIndex()) const override; int rowCount(const QModelIndex& parent = QModelIndex()) const override; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; @@ -62,11 +60,6 @@ private slots: */ void Reload(bool replace_vertex_data = false, void* vertex_data = nullptr); - -signals: - // Call this to change the current command selection in the disassembly view - void SelectCommand(const QModelIndex&, QItemSelectionModel::SelectionFlags); - private: QLabel* instruction_description; QTreeView* binary_list; |