subsurface/qt-models/weightsysteminfomodel.h

25 lines
485 B
C
Raw Normal View History

// SPDX-License-Identifier: GPL-2.0
#ifndef WEIGHTSYSTEMINFOMODEL_H
#define WEIGHTSYSTEMINFOMODEL_H
#include "cleanertablemodel.h"
/* Encapsulate ws_info */
class WSInfoModel : public CleanerTableModel {
Q_OBJECT
public:
enum Column {
DESCRIPTION,
GR
};
WSInfoModel(QObject *parent);
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
private:
int rows;
};
#endif