Renamed HorizontalProxyModel to PropertyProxyModel as the original name didn't reflect
what we are going to morph it into.
This commit is contained in:
parent
3080523b0d
commit
c6faafec59
4 changed files with 15 additions and 15 deletions
18
pglab/PropertyProxyModel.h
Normal file
18
pglab/PropertyProxyModel.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef HORIZONTALPROXYMODEL_H
|
||||
#define HORIZONTALPROXYMODEL_H
|
||||
|
||||
#include <QIdentityProxyModel>
|
||||
|
||||
class PropertyProxyModel : public QIdentityProxyModel {
|
||||
public:
|
||||
PropertyProxyModel(QObject * parent = nullptr);
|
||||
QModelIndex mapToSource(const QModelIndex &proxyIndex) const;
|
||||
QModelIndex mapFromSource(const QModelIndex &sourceIndex) const;
|
||||
QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;
|
||||
QModelIndex parent(const QModelIndex &child) const;
|
||||
int rowCount(const QModelIndex &parent) const;
|
||||
int columnCount(const QModelIndex &parent) const;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
||||
};
|
||||
|
||||
#endif // HORIZONTALPROXYMODEL_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue