|
| enum | Roles { FileSizeRole = Qt::UserRole + 1
} |
|
|
| FileSystemModel (QObject *parent=nullptr) |
|
Q_INVOKABLE QMimeType | getFileMimeType (const QString &filePath) const |
|
Q_INVOKABLE QString | getFileInfoAsString (const QString &filePath) const |
| QModelIndex | rootIndex () const |
|
void | setRootIndex (const QModelIndex &index) |
|
Q_SIGNAL void | rootIndexChanged () |
|
int | columnCount (const QModelIndex &parent) const override |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
QHash< int, QByteArray > | roleNames () const override |
|
| static Q_INVOKABLE bool | isDir (const QFileInfo *fileInfo) |
Definition at line 13 of file file_system_model.h.
◆ Roles
| enum zrythm::gui::FileSystemModel::Roles |
◆ isDir()
| Q_INVOKABLE bool zrythm::gui::FileSystemModel::isDir |
( |
const QFileInfo * | fileInfo | ) |
|
|
inlinestatic |
◆ rootIndex()
| QModelIndex zrythm::gui::FileSystemModel::rootIndex |
( |
| ) |
const |
|
inline |
◆ rootIndex
| QModelIndex zrythm::gui::FileSystemModel::rootIndex |
|
readwrite |
The documentation for this class was generated from the following file: