Custom adapter for layers, used in plQtLayerPanel.
More...
#include <LayerAdapter.moc.h>
|
| enum | UserRoles { LayerGuid = Qt::UserRole + 0
} |
| |
|
|
| plQtLayerAdapter (plScene2Document *pDocument) |
| |
| virtual QVariant | data (const plDocumentObject *pObject, int iRow, int iColumn, int iRole) const override |
| |
| virtual bool | setData (const plDocumentObject *pObject, int iRow, int iColumn, const QVariant &value, int iRole) const override |
| |
|
| plQtDocumentTreeModelAdapter (const plDocumentObjectManager *pTree, const plRTTI *pType, const char *szChildProperty) |
| | Constructor. If m_sChildProperty is empty, this type does not have children.
|
| |
|
virtual const plRTTI * | GetType () const |
| |
|
virtual const plString & | GetChildProperty () const |
| |
|
virtual Qt::ItemFlags | flags (const plDocumentObject *pObject, int iRow, int iColumn) const |
| |
Custom adapter for layers, used in plQtLayerPanel.
◆ data()
| QVariant plQtLayerAdapter::data |
( |
const plDocumentObject * | pObject, |
|
|
int | iRow, |
|
|
int | iColumn, |
|
|
int | iRole ) const |
|
overridevirtual |
◆ setData()
| bool plQtLayerAdapter::setData |
( |
const plDocumentObject * | pObject, |
|
|
int | iRow, |
|
|
int | iColumn, |
|
|
const QVariant & | value, |
|
|
int | iRole ) const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- Code/EditorPlugins/Scene/EditorPluginScene/Panels/LayerPanel/LayerAdapter.moc.h
- Code/EditorPlugins/Scene/EditorPluginScene/Panels/LayerPanel/LayerAdapter.cpp