|
svgui
1.9
|
#include <LayerTree.h>


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 | |
| PaneStack * | m_stack |
| bool | m_waveModelsOnly |
| int | m_modelTypeColumn |
| int | m_modelNameColumn |
| int | m_modelMakerColumn |
| int | m_modelSourceColumn |
| int | m_columnCount |
| std::set< Model * > | m_models |
Definition at line 31 of file LayerTree.h.
| ModelMetadataModel::ModelMetadataModel | ( | PaneStack * | stack, |
| bool | waveModelsOnly, | ||
| QObject * | parent = 0 |
||
| ) |
Definition at line 30 of file LayerTree.cpp.
References PaneStack::getPane(), PaneStack::getPaneCount(), m_columnCount, m_modelMakerColumn, m_modelNameColumn, m_modelSourceColumn, m_modelTypeColumn, m_waveModelsOnly, paneAdded(), paneDeleted(), paneLayerModelChanged(), propertyContainerAdded(), propertyContainerPropertyChanged(), propertyContainerRemoved(), propertyContainerSelected(), and rebuildModelSet().
|
virtual |
Definition at line 73 of file LayerTree.cpp.
| 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 index(), 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 |
Definition at line 222 of file LayerTree.cpp.
References m_modelMakerColumn, m_modelNameColumn, m_modelSourceColumn, and m_modelTypeColumn.
| QModelIndex ModelMetadataModel::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | const |
Definition at line 237 of file LayerTree.cpp.
References m_models, and parent().
Referenced by data().
| QModelIndex ModelMetadataModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 248 of file LayerTree.cpp.
Referenced by index(), and rowCount().
| int ModelMetadataModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 254 of file LayerTree.cpp.
| int ModelMetadataModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 261 of file LayerTree.cpp.
References m_columnCount.
|
protectedslot |
Definition at line 118 of file LayerTree.cpp.
References rebuildModelSet().
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 125 of file LayerTree.cpp.
References rebuildModelSet().
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 139 of file LayerTree.cpp.
References rebuildModelSet().
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 146 of file LayerTree.cpp.
References rebuildModelSet().
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 153 of file LayerTree.cpp.
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 158 of file LayerTree.cpp.
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 163 of file LayerTree.cpp.
|
protectedslot |
Definition at line 132 of file LayerTree.cpp.
References rebuildModelSet().
Referenced by ModelMetadataModel().
|
protectedslot |
Definition at line 78 of file LayerTree.cpp.
References View::getLayer(), View::getLayerCount(), Layer::getModel(), PaneStack::getPane(), PaneStack::getPaneCount(), m_models, m_stack, and m_waveModelsOnly.
Referenced by ModelMetadataModel(), paneAdded(), paneDeleted(), paneLayerModelChanged(), propertyContainerAdded(), and propertyContainerRemoved().
|
protected |
Definition at line 68 of file LayerTree.h.
Referenced by rebuildModelSet().
|
protected |
Definition at line 69 of file LayerTree.h.
Referenced by data(), ModelMetadataModel(), and rebuildModelSet().
|
protected |
Definition at line 70 of file LayerTree.h.
Referenced by data(), headerData(), and ModelMetadataModel().
|
protected |
Definition at line 71 of file LayerTree.h.
Referenced by data(), headerData(), and ModelMetadataModel().
|
protected |
Definition at line 72 of file LayerTree.h.
Referenced by data(), headerData(), and ModelMetadataModel().
|
protected |
Definition at line 73 of file LayerTree.h.
Referenced by data(), headerData(), and ModelMetadataModel().
|
protected |
Definition at line 74 of file LayerTree.h.
Referenced by columnCount(), and ModelMetadataModel().
|
protected |
Definition at line 76 of file LayerTree.h.
Referenced by data(), index(), rebuildModelSet(), and rowCount().