pqFileDialogLocationModel lists "special" locations, either remote from a connected ParaView server's filesystem, or the local file system.
More...
#include <pqFileDialogLocationModel.h>
Inherits QAbstractListModel.
pqFileDialogLocationModel lists "special" locations, either remote from a connected ParaView server's filesystem, or the local file system.
- See also
- pqFileDialog, pqFileDialogModel
Definition at line 25 of file pqFileDialogLocationModel.h.
◆ pqFileDialogLocationModel()
server is the server for which we need the listing.
if the server is nullptr, we get file listings from the builtin server
◆ ~pqFileDialogLocationModel()
pqFileDialogLocationModel::~pqFileDialogLocationModel |
( |
| ) |
|
|
overridedefault |
◆ filePath()
QString pqFileDialogLocationModel::filePath |
( |
const QModelIndex & |
| ) |
const |
return the path to the item
◆ isDirectory()
bool pqFileDialogLocationModel::isDirectory |
( |
const QModelIndex & |
| ) |
const |
return whether this item is a directory
◆ data()
QVariant pqFileDialogLocationModel::data |
( |
const QModelIndex & |
idx, |
|
|
int |
role |
|
) |
| const |
|
override |
returns the data for an item
◆ rowCount()
int pqFileDialogLocationModel::rowCount |
( |
const QModelIndex & |
idx | ) |
const |
|
override |
return the number of rows in the model
◆ headerData()
QVariant pqFileDialogLocationModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ resetToDefault()
virtual void pqFileDialogLocationModel::resetToDefault |
( |
| ) |
|
|
virtual |
Resets to the system default.
◆ LoadSpecialsFromSystem()
void pqFileDialogLocationModel::LoadSpecialsFromSystem |
( |
| ) |
|
|
protected |
◆ AddExamplesInLocations
bool pqFileDialogLocationModel::AddExamplesInLocations |
|
static |
◆ FileDialogModel
◆ Server
pqServer* pqFileDialogLocationModel::Server = nullptr |
|
protected |
◆ LocationList
The documentation for this class was generated from the following file: