|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
#include <QAbstractListModel>
|
|
|
|
#include <QAbstractTableModel>
|
|
|
|
|
|
|
|
|
|
|
|
#include "graphics_breakpoint_observer.h"
|
|
|
|
#include "graphics_breakpoint_observer.h"
|
|
|
|
|
|
|
|
|
|
|
@ -17,14 +17,12 @@ class QSpinBox;
|
|
|
|
|
|
|
|
|
|
|
|
class GraphicsVertexShaderWidget;
|
|
|
|
class GraphicsVertexShaderWidget;
|
|
|
|
|
|
|
|
|
|
|
|
class GraphicsVertexShaderModel : public QAbstractItemModel {
|
|
|
|
class GraphicsVertexShaderModel : public QAbstractTableModel {
|
|
|
|
Q_OBJECT
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
GraphicsVertexShaderModel(GraphicsVertexShaderWidget* parent);
|
|
|
|
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 columnCount(const QModelIndex& parent = QModelIndex()) const override;
|
|
|
|
int rowCount(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;
|
|
|
|
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
|
|
|
|