#include <DataSetCategoryModel.h>
Public Member Functions | |
bool | canFetchMore (const QModelIndex &parent) const |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
DataSetCategoryModel (const te::da::DataSourceInfoPtr &datasource, QWidget *parent=0) | |
void | fetchMore (const QModelIndex &parent) |
Qt::ItemFlags | flags (const QModelIndex &index) const |
bool | forceCatalogCache () const |
bool | hasChildren (const QModelIndex &parent=QModelIndex()) const |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
bool | isCheckable () const |
QModelIndex | parent (const QModelIndex &index) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
void | setCheckable (const bool checkable) |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
void | setForceCatalogCache (const bool force) |
~DataSetCategoryModel () | |
Private Attributes | |
bool | m_checkable |
DataSetCategoryGroupItem * | m_datasets |
bool | m_forceCatalogCache |
Definition at line 49 of file DataSetCategoryModel.h.
te::qt::widgets::DataSetCategoryModel::DataSetCategoryModel | ( | const te::da::DataSourceInfoPtr & | datasource, |
QWidget * | parent = 0 |
||
) |
Definition at line 38 of file DataSetCategoryModel.cpp.
References m_datasets.
te::qt::widgets::DataSetCategoryModel::~DataSetCategoryModel | ( | ) |
Definition at line 48 of file DataSetCategoryModel.cpp.
bool te::qt::widgets::DataSetCategoryModel::canFetchMore | ( | const QModelIndex & | parent | ) | const |
Definition at line 53 of file DataSetCategoryModel.cpp.
References te::qt::widgets::AbstractDataSourceTreeItem::canFetchMore().
int te::qt::widgets::DataSetCategoryModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 66 of file DataSetCategoryModel.cpp.
QVariant te::qt::widgets::DataSetCategoryModel::data | ( | const QModelIndex & | index, |
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 71 of file DataSetCategoryModel.cpp.
References te::qt::widgets::AbstractDataSourceTreeItem::data().
void te::qt::widgets::DataSetCategoryModel::fetchMore | ( | const QModelIndex & | parent | ) |
Definition at line 104 of file DataSetCategoryModel.cpp.
References te::qt::widgets::AbstractDataSourceTreeItem::fetchMore().
Qt::ItemFlags te::qt::widgets::DataSetCategoryModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 132 of file DataSetCategoryModel.cpp.
References te::qt::widgets::AbstractDataSourceTreeItem::flags().
bool te::qt::widgets::DataSetCategoryModel::forceCatalogCache | ( | ) | const |
bool te::qt::widgets::DataSetCategoryModel::hasChildren | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 162 of file DataSetCategoryModel.cpp.
References te::qt::widgets::AbstractDataSourceTreeItem::hasChildren().
QModelIndex te::qt::widgets::DataSetCategoryModel::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
Definition at line 192 of file DataSetCategoryModel.cpp.
bool te::qt::widgets::DataSetCategoryModel::isCheckable | ( | ) | const |
Definition at line 314 of file DataSetCategoryModel.cpp.
QModelIndex te::qt::widgets::DataSetCategoryModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 220 of file DataSetCategoryModel.cpp.
int te::qt::widgets::DataSetCategoryModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 259 of file DataSetCategoryModel.cpp.
void te::qt::widgets::DataSetCategoryModel::setCheckable | ( | const bool | checkable | ) |
Definition at line 309 of file DataSetCategoryModel.cpp.
bool te::qt::widgets::DataSetCategoryModel::setData | ( | const QModelIndex & | index, |
const QVariant & | value, | ||
int | role = Qt::EditRole |
||
) |
Definition at line 272 of file DataSetCategoryModel.cpp.
References te::qt::widgets::AbstractDataSourceTreeItem::setData().
void te::qt::widgets::DataSetCategoryModel::setForceCatalogCache | ( | const bool | force | ) |
|
private |
Definition at line 89 of file DataSetCategoryModel.h.
|
private |
Definition at line 88 of file DataSetCategoryModel.h.
Referenced by DataSetCategoryModel().
|
private |
Definition at line 90 of file DataSetCategoryModel.h.