Public Member Functions | Private Slots | Private Attributes
rqt_multiplot::FileScheme Class Reference

#include <FileScheme.h>

Inheritance diagram for rqt_multiplot::FileScheme:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FileScheme (QObject *parent=0, const QString &prefix="file", const QString &rootPath="/", QDir::Filters filter=QDir::NoFilter)
QString getFilePath (const QModelIndex &hostIndex, const QModelIndex &pathIndex) const
QString getFilePath (const QString &host, const QString &path) const
QDir::Filters getFilter () const
QString getHost (const QModelIndex &hostIndex) const
QVariant getHostData (const QModelIndex &index, int role) const
QModelIndex getHostIndex (size_t row) const
size_t getNumHosts () const
size_t getNumPaths (const QModelIndex &hostIndex, const QModelIndex &parent) const
QString getPath (const QModelIndex &hostIndex, const QModelIndex &pathIndex) const
QVariant getPathData (const QModelIndex &index, int role) const
QModelIndex getPathIndex (const QModelIndex &hostIndex, size_t row, const QModelIndex &parent=QModelIndex()) const
QString getRootPath () const
void setFilter (QDir::Filters filter)
void setRootPath (const QString &rootPath)
virtual ~FileScheme ()

Private Slots

void modelDirectoryLoaded (const QString &path)

Private Attributes

QFileSystemModel * model_

Detailed Description

Definition at line 28 of file FileScheme.h.


Constructor & Destructor Documentation

rqt_multiplot::FileScheme::FileScheme ( QObject *  parent = 0,
const QString &  prefix = "file",
const QString &  rootPath = "/",
QDir::Filters  filter = QDir::NoFilter 
)

Definition at line 27 of file FileScheme.cpp.

Definition at line 38 of file FileScheme.cpp.


Member Function Documentation

QString rqt_multiplot::FileScheme::getFilePath ( const QModelIndex &  hostIndex,
const QModelIndex &  pathIndex 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 116 of file FileScheme.cpp.

QString rqt_multiplot::FileScheme::getFilePath ( const QString &  host,
const QString &  path 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 124 of file FileScheme.cpp.

QDir::Filters rqt_multiplot::FileScheme::getFilter ( ) const

Definition at line 57 of file FileScheme.cpp.

QString rqt_multiplot::FileScheme::getHost ( const QModelIndex &  hostIndex) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 106 of file FileScheme.cpp.

QVariant rqt_multiplot::FileScheme::getHostData ( const QModelIndex &  index,
int  role 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 69 of file FileScheme.cpp.

QModelIndex rqt_multiplot::FileScheme::getHostIndex ( size_t  row) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 65 of file FileScheme.cpp.

size_t rqt_multiplot::FileScheme::getNumHosts ( ) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 61 of file FileScheme.cpp.

size_t rqt_multiplot::FileScheme::getNumPaths ( const QModelIndex &  hostIndex,
const QModelIndex &  parent 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 73 of file FileScheme.cpp.

QString rqt_multiplot::FileScheme::getPath ( const QModelIndex &  hostIndex,
const QModelIndex &  pathIndex 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 110 of file FileScheme.cpp.

QVariant rqt_multiplot::FileScheme::getPathData ( const QModelIndex &  index,
int  role 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 95 of file FileScheme.cpp.

QModelIndex rqt_multiplot::FileScheme::getPathIndex ( const QModelIndex &  hostIndex,
size_t  row,
const QModelIndex &  parent = QModelIndex() 
) const [virtual]

Implements rqt_multiplot::UrlScheme.

Definition at line 87 of file FileScheme.cpp.

Definition at line 49 of file FileScheme.cpp.

void rqt_multiplot::FileScheme::modelDirectoryLoaded ( const QString &  path) [private, slot]

Definition at line 133 of file FileScheme.cpp.

void rqt_multiplot::FileScheme::setFilter ( QDir::Filters  filter)

Definition at line 53 of file FileScheme.cpp.

void rqt_multiplot::FileScheme::setRootPath ( const QString &  rootPath)

Definition at line 45 of file FileScheme.cpp.


Member Data Documentation

QFileSystemModel* rqt_multiplot::FileScheme::model_ [private]

Definition at line 60 of file FileScheme.h.


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


rqt_multiplot
Author(s): Ralf Kaestner
autogenerated on Thu Jun 6 2019 21:49:11