#include <PackageScheme.h>

Public Member Functions | |
| 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 |
| PackageScheme (QObject *parent=0, const QString &prefix="package", QDir::Filters filter=QDir::NoFilter) | |
| void | setFilter (QDir::Filters filter) |
| virtual | ~PackageScheme () |
Private Slots | |
| void | modelDirectoryLoaded (const QString &path) |
| void | registryUpdateFinished () |
| void | registryUpdateStarted () |
Private Attributes | |
| QFileSystemModel * | fileSystemModel_ |
| QStringListModel * | packageListModel_ |
| QMap< QString, QString > | packagePaths_ |
| QList< QString > | packages_ |
| PackageRegistry * | registry_ |
Definition at line 32 of file PackageScheme.h.
| rqt_multiplot::PackageScheme::PackageScheme | ( | QObject * | parent = 0, |
| const QString & | prefix = "package", |
||
| QDir::Filters | filter = QDir::NoFilter |
||
| ) |
Definition at line 29 of file PackageScheme.cpp.
| rqt_multiplot::PackageScheme::~PackageScheme | ( | ) | [virtual] |
Definition at line 52 of file PackageScheme.cpp.
| QString rqt_multiplot::PackageScheme::getFilePath | ( | const QModelIndex & | hostIndex, |
| const QModelIndex & | pathIndex | ||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 143 of file PackageScheme.cpp.
| QString rqt_multiplot::PackageScheme::getFilePath | ( | const QString & | host, |
| const QString & | path | ||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 155 of file PackageScheme.cpp.
| QDir::Filters rqt_multiplot::PackageScheme::getFilter | ( | ) | const |
Definition at line 63 of file PackageScheme.cpp.
| QString rqt_multiplot::PackageScheme::getHost | ( | const QModelIndex & | hostIndex | ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 124 of file PackageScheme.cpp.
| QVariant rqt_multiplot::PackageScheme::getHostData | ( | const QModelIndex & | index, |
| int | role | ||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 75 of file PackageScheme.cpp.
| QModelIndex rqt_multiplot::PackageScheme::getHostIndex | ( | size_t | row | ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 71 of file PackageScheme.cpp.
| size_t rqt_multiplot::PackageScheme::getNumHosts | ( | ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 67 of file PackageScheme.cpp.
| size_t rqt_multiplot::PackageScheme::getNumPaths | ( | const QModelIndex & | hostIndex, |
| const QModelIndex & | parent | ||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 80 of file PackageScheme.cpp.
| QString rqt_multiplot::PackageScheme::getPath | ( | const QModelIndex & | hostIndex, |
| const QModelIndex & | pathIndex | ||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 131 of file PackageScheme.cpp.
| QVariant rqt_multiplot::PackageScheme::getPathData | ( | const QModelIndex & | index, |
| int | role | ||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 119 of file PackageScheme.cpp.
| QModelIndex rqt_multiplot::PackageScheme::getPathIndex | ( | const QModelIndex & | hostIndex, |
| size_t | row, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | const [virtual] |
Implements rqt_multiplot::UrlScheme.
Definition at line 103 of file PackageScheme.cpp.
| void rqt_multiplot::PackageScheme::modelDirectoryLoaded | ( | const QString & | path | ) | [private, slot] |
Definition at line 196 of file PackageScheme.cpp.
| void rqt_multiplot::PackageScheme::registryUpdateFinished | ( | ) | [private, slot] |
Definition at line 187 of file PackageScheme.cpp.
| void rqt_multiplot::PackageScheme::registryUpdateStarted | ( | ) | [private, slot] |
Definition at line 183 of file PackageScheme.cpp.
| void rqt_multiplot::PackageScheme::setFilter | ( | QDir::Filters | filter | ) |
Definition at line 59 of file PackageScheme.cpp.
QFileSystemModel* rqt_multiplot::PackageScheme::fileSystemModel_ [private] |
Definition at line 64 of file PackageScheme.h.
QStringListModel* rqt_multiplot::PackageScheme::packageListModel_ [private] |
Definition at line 65 of file PackageScheme.h.
QMap<QString, QString> rqt_multiplot::PackageScheme::packagePaths_ [private] |
Definition at line 68 of file PackageScheme.h.
QList<QString> rqt_multiplot::PackageScheme::packages_ [private] |
Definition at line 67 of file PackageScheme.h.
Definition at line 62 of file PackageScheme.h.