ParaView
Public Member Functions
pqFileDialogFavoriteModel Class Reference

pqFileDialogFavoriteModel allows remote browsing of a connected ParaView server's filesystem, as well as browsing of the local file system. More...

#include <pqFileDialogFavoriteModel.h>

List of all members.

Public Member Functions

 pqFileDialogFavoriteModel (pqServer *server, QObject *Parent)
 server is the server for which we need the listing.
 ~pqFileDialogFavoriteModel ()
QString filePath (const QModelIndex &) const
 return the path to the favorites item
bool isDir (const QModelIndex &) const
 return whether this item is a directory
QVariant data (const QModelIndex &idx, int role) const
 returns the data for an item
int rowCount (const QModelIndex &idx) const
 return the number of rows in the model
QVariant headerData (int section, Qt::Orientation, int role) const
 return header data

Detailed Description

pqFileDialogFavoriteModel allows remote browsing of a connected ParaView server's filesystem, as well as browsing of the local file system.

See also:
pqFileDialog, pqFileDialogModel

Definition at line 50 of file pqFileDialogFavoriteModel.h.


Constructor & Destructor Documentation

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

pqFileDialogFavoriteModel::~pqFileDialogFavoriteModel ( )

Member Function Documentation

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

QVariant pqFileDialogFavoriteModel::data ( const QModelIndex &  idx,
int  role 
) const

returns the data for an item

int pqFileDialogFavoriteModel::rowCount ( const QModelIndex &  idx) const

return the number of rows in the model

QVariant pqFileDialogFavoriteModel::headerData ( int  section,
Qt::Orientation  ,
int  role 
) const

return header data


The documentation for this class was generated from the following file: