5 #ifndef pqFileDialogFavoriteModel_h 6 #define pqFileDialogFavoriteModel_h 11 #include <QAbstractListModel> 29 typedef QAbstractListModel Superclass;
44 QString filePath(
const QModelIndex&)
const;
48 bool isDirectory(
const QModelIndex&)
const;
53 QVariant
data(
const QModelIndex& idx,
int role)
const override;
58 int rowCount(
const QModelIndex& idx)
const override;
63 bool setData(
const QModelIndex&
index,
const QVariant&
value,
int role = Qt::EditRole)
override;
68 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
73 QVariant headerData(
int section, Qt::Orientation,
int role)
const override;
78 virtual void addToFavorites(QString
const& dirPath);
83 virtual void removeFromFavorites(QString
const& dirPath);
88 virtual void resetFavoritesToDefault();
95 static
bool AddExamplesInFavorites;
111 #endif // !pqFileDialogFavoriteModel_h
#define PARAVIEW_DEPRECATED_IN_5_12_0(reason)
QPointer< pqFileDialogModel > FileDialogModel
QList< pqFileDialogFavoriteModelFileInfo > FavoriteList
pqFileDialogModel allows remote browsing of a connected ParaView server's filesystem, as well as browsing of the local file system.
pqFileDialogFavoriteModel allows remote browsing of a connected ParaView server's filesystem...
process initialization and management core for ParaView processes.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...