pqFileDialogFavoriteModel allows remote browsing of a connected ParaView server's filesystem, as well as browsing of the local file system. More...
#include <pqFileDialogFavoriteModel.h>
Inherits QAbstractListModel.
Public Member Functions | |
| pqFileDialogFavoriteModel (pqServer *server, QObject *Parent) | |
| server is the server for which we need the listing. More... | |
| ~pqFileDialogFavoriteModel () override | |
| QString | filePath (const QModelIndex &) const |
| return the path to the favorites item More... | |
| bool | isDir (const QModelIndex &) const |
| return whether this item is a directory More... | |
| QVariant | data (const QModelIndex &idx, int role) const override |
| returns the data for an item More... | |
| int | rowCount (const QModelIndex &idx) const override |
| return the number of rows in the model More... | |
| QVariant | headerData (int section, Qt::Orientation, int role) const override |
| return header data More... | |
pqFileDialogFavoriteModel allows remote browsing of a connected ParaView server's filesystem, as well as browsing of the local file system.
Definition at line 50 of file pqFileDialogFavoriteModel.h.
| pqFileDialogFavoriteModel::pqFileDialogFavoriteModel | ( | pqServer * | server, |
| QObject * | Parent | ||
| ) |
server is the server for which we need the listing.
if the server is NULL, we get file listings locally
|
override |
| QString pqFileDialogFavoriteModel::filePath | ( | const QModelIndex & | ) | const |
return the path to the favorites item
| bool pqFileDialogFavoriteModel::isDir | ( | const QModelIndex & | ) | const |
return whether this item is a directory
returns the data for an item
return the number of rows in the model
|
override |
return header data
1.8.13 on Tue May 18 2021