svgui  1.9
ModelMetadataModel Class Reference

#include <LayerTree.h>

Collaboration diagram for ModelMetadataModel:

List of all members.

Public Member Functions

 ModelMetadataModel (PaneStack *stack, bool waveModelsOnly, QObject *parent=0)
virtual ~ModelMetadataModel ()
QVariant data (const QModelIndex &index, int role) const
bool setData (const QModelIndex &index, const QVariant &value, int role)
Qt::ItemFlags flags (const QModelIndex &index) const
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
QModelIndex parent (const QModelIndex &index) const
int rowCount (const QModelIndex &parent=QModelIndex()) const
int columnCount (const QModelIndex &parent=QModelIndex()) const

Protected Slots

void paneAdded ()
void paneDeleted ()
void propertyContainerAdded (PropertyContainer *)
void propertyContainerRemoved (PropertyContainer *)
void propertyContainerSelected (PropertyContainer *)
void propertyContainerPropertyChanged (PropertyContainer *)
void playParametersAudibilityChanged (bool)
void paneLayerModelChanged ()
void rebuildModelSet ()

Protected Attributes

PaneStackm_stack
bool m_waveModelsOnly
int m_modelTypeColumn
int m_modelNameColumn
int m_modelMakerColumn
int m_modelSourceColumn
int m_columnCount
std::set< Model * > m_models

Detailed Description

Definition at line 31 of file LayerTree.h.


Constructor & Destructor Documentation

Definition at line 73 of file LayerTree.cpp.


Member Function Documentation

QVariant ModelMetadataModel::data ( const QModelIndex &  index,
int  role 
) const

!! not exactly the ideal use of a std::set

Definition at line 168 of file LayerTree.cpp.

References m_modelMakerColumn, m_modelNameColumn, m_models, m_modelSourceColumn, m_modelTypeColumn, and m_waveModelsOnly.

bool ModelMetadataModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)

Definition at line 209 of file LayerTree.cpp.

Qt::ItemFlags ModelMetadataModel::flags ( const QModelIndex &  index) const

Definition at line 215 of file LayerTree.cpp.

QVariant ModelMetadataModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
QModelIndex ModelMetadataModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 237 of file LayerTree.cpp.

References m_models.

QModelIndex ModelMetadataModel::parent ( const QModelIndex &  index) const

Definition at line 248 of file LayerTree.cpp.

int ModelMetadataModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 254 of file LayerTree.cpp.

References m_models.

int ModelMetadataModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 261 of file LayerTree.cpp.

References m_columnCount.

void ModelMetadataModel::paneAdded ( ) [protected, slot]

Definition at line 118 of file LayerTree.cpp.

References rebuildModelSet().

Referenced by ModelMetadataModel().

void ModelMetadataModel::paneDeleted ( ) [protected, slot]

Definition at line 125 of file LayerTree.cpp.

References rebuildModelSet().

Referenced by ModelMetadataModel().

void ModelMetadataModel::propertyContainerAdded ( PropertyContainer *  ) [protected, slot]

Definition at line 139 of file LayerTree.cpp.

References rebuildModelSet().

Referenced by ModelMetadataModel().

void ModelMetadataModel::propertyContainerRemoved ( PropertyContainer *  ) [protected, slot]

Definition at line 146 of file LayerTree.cpp.

References rebuildModelSet().

Referenced by ModelMetadataModel().

void ModelMetadataModel::propertyContainerSelected ( PropertyContainer *  ) [protected, slot]

Definition at line 153 of file LayerTree.cpp.

Referenced by ModelMetadataModel().

void ModelMetadataModel::propertyContainerPropertyChanged ( PropertyContainer *  ) [protected, slot]

Definition at line 158 of file LayerTree.cpp.

Referenced by ModelMetadataModel().

void ModelMetadataModel::playParametersAudibilityChanged ( bool  ) [protected, slot]

Definition at line 163 of file LayerTree.cpp.

void ModelMetadataModel::paneLayerModelChanged ( ) [protected, slot]

Definition at line 132 of file LayerTree.cpp.

References rebuildModelSet().

Referenced by ModelMetadataModel().


Member Data Documentation

Definition at line 68 of file LayerTree.h.

Referenced by rebuildModelSet().

Definition at line 69 of file LayerTree.h.

Referenced by data(), ModelMetadataModel(), and rebuildModelSet().

Definition at line 70 of file LayerTree.h.

Referenced by data(), headerData(), and ModelMetadataModel().

Definition at line 71 of file LayerTree.h.

Referenced by data(), headerData(), and ModelMetadataModel().

Definition at line 72 of file LayerTree.h.

Referenced by data(), headerData(), and ModelMetadataModel().

Definition at line 73 of file LayerTree.h.

Referenced by data(), headerData(), and ModelMetadataModel().

Definition at line 74 of file LayerTree.h.

Referenced by columnCount(), and ModelMetadataModel().

std::set<Model *> ModelMetadataModel::m_models [protected]

Definition at line 76 of file LayerTree.h.

Referenced by data(), index(), rebuildModelSet(), and rowCount().


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