5#include <QAbstractTableModel>
17 explicit FileModel ( QObject * parent =
nullptr );
19 explicit FileModel ( QList<QStringList>
const & FileList, QObject * parent =
nullptr );
21 int rowCount (
const QModelIndex & parent )
const;
23 int columnCount (
const QModelIndex & parent )
const;
25 QVariant
data (
const QModelIndex & index,
int role = Qt::DisplayRole )
const;
27 QVariant
headerData (
int section, Qt::Orientation orientation,
28 int role = Qt::DisplayRole )
const;
30 Qt::ItemFlags
flags (
const QModelIndex & index )
const;
int columnCount(const QModelIndex &parent) const
QList< QStringList > IncludedFiles
QStringList FolderPathList
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Qt::ItemFlags flags(const QModelIndex &index) const
FileModel(QObject *parent=nullptr)
Including QT Headers.
int rowCount(const QModelIndex &parent) const
QList< QStringList > GetFilesInfo() const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
void FileCacheReady(QList< QStringList > &Files)
QString GetFullFileName(QString &FileName)