VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
makVrv::DtElevationLayerTreeWidgetItem Class Reference

DtElevationLayerTreeWidgetItem. More...

Inheritance diagram for makVrv::DtElevationLayerTreeWidgetItem:
Inheritance graph
[legend]

Public Member Functions

virtual void setupGui ()
 Sets up the widgets. More...
 
virtual void show ()
 Show this tree widget item. More...
 
virtual void hide ()
 Hide this tree widget item. More...
 
virtual void setProperties (const DtTerrainEditorProperties *props)
 Set the properties of this tree widget item. More...
 
virtual bool properties (DtTerrainEditorProperties *props) const
 Populate the passed in pointer with the properties of this tree widget item. More...
 
- Public Member Functions inherited from makVrv::DtVisibleLayerTreeWidgetItem
virtual void connectSignals ()
 Connects the signals. More...
 
- Public Member Functions inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
 DtTerrainEditorPropertyTreeWidgetItem (QTreeWidget *tree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Default constructor. More...
 
virtual ~DtTerrainEditorPropertyTreeWidgetItem ()
 Destructor. More...
 
virtual void setName (const std::string &name)
 Sets the name attribute if applies. More...
 
virtual void setVisible (bool visible)
 Sets the visible attribute if applies. More...
 
virtual void setTextAndTooltip (const QString &text, const QString &tooltip)
 Sets the display name and tooltip of the item. More...
 
virtual void setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key, const QString &text, const QString &tooltip)
 Sets the attributes of the item. More...
 
virtual void setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key)
 Sets the attributes of the item. More...
 
osgEarth::MapNode * findMapNode ()
 Searches for the osgEarth::MapNode of this tree widget item's terrain content item. More...
 
const osgEarth::MapNode * findMapNode () const
 
DtTerrainEditorWidgetfindParentTerrainEditorWidget ()
 Recursively searches through parent widgets for the parent DtTerrainEditorWidget. More...
 
const DtTerrainEditorWidgetfindParentTerrainEditorWidget () const
 
const QTreeWidgetItemfindTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true) const
 Recursively find the QTreeWidgetItem with the given key. More...
 
QTreeWidgetItemfindTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true)
 Recursively find the QTreeWidgetItem with the given key. More...
 
DtTerrainEditorPropertyTreeWidgetItemfindTerrainEditorPropertyTreeWidgetItem (const DtOsgEarthPropertyItemKey &key)
 Recursively find the DtTerrainEditorPropertyTreeWidgetItem with the given key. More...
 
virtual void populateContextMenu (QMenu *menu)
 Populates the context menu of this DtTerrainEditorPropertyTreeWidgetItem. More...
 
virtual void populateContextMenu (QMenu *menu, const DtOsgEarthPropertyItemKey &key)
 Populates the context menu of a child DtTerrainEditorPropertyTreeWidgetItem with the given key. More...
 
virtual void triggleContextMenuAction (QAction *action, const DtOsgEarthPropertyItemKey &key)
 Method called when user toggles the action of an context menu for a child DtTerrainEditorPropertyTreeWidgetItem. More...
 
virtual int findDynamicItemCount (const std::string &type)
 Finds how many dynamic items are already allocated for an child with given type. More...
 
std::string getDynamicAttributeType (const std::string &text) const
 Gets the type of the dynamic child from the action text from the context menu. More...
 
void setItemVisible (QTreeWidgetItem *item, bool visible)
 Toggles the visibility of a child item. More...
 
AttributesMapattributesMap ()
 Gets the attributes children map. More...
 
DynamicAttributesMapdynamicAttributesMap ()
 Gets the dynamic attributes children map. More...
 
virtual void setTerrainContentItemKey (const DtTerrainEditorInterface::TerrainContentItemKey &key)
 Sets the associated terrain content item key. More...
 
virtual DtOsgEarthPropertyItemKey constructDtOsgEarthPropertyItemKey (const std::string &type) const
 Constructs a key with the given type and index sets to 0. More...
 
int getDynamicTerrainEditorPropertyTreeWidgetItemCount (const std::string &type)
 Gets the maximum index of dynamic child item. More...
 
void hideChildWidgetItem (const std::string &type)
 Hides a child item. More...
 
void showChildWidgetItem (const std::string &type)
 Shows a child item only if its value has been set. More...
 
bool isChildWidgetItemSet (const std::string &type) const
 Checks whether a child item is visible. More...
 
void clearDynamicAttributesMap ()
 Cleans the dynamic attributes map. More...
 
virtual void getCssSymbolEnum (std::string &css, const std::string &key) const
 Gets the CSS symbol text for a child item with QComboxBox. More...
 
virtual void getCssSymbolString (std::string &css, const std::string &key, const std::string &value) const
 Gets the CSS symbol text for a given key and value pair. More...
 
std::string convertBoolToString (bool value) const
 convenient function for converting a boolean to string("true" or "false"). More...
 
void setValue (const std::string &type, const std::string &value, bool set=true)
 Sets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void setComboBoxValue (const std::string &type, const std::string &value, bool set=true)
 Sets the value of a child item, the child item must have a QComboBox associated with it. More...
 
void setScriptValue (const std::string &type, const std::string &value, bool set=true)
 Sets the value of a child item, the child item must have a DtScriptEditorWidget associated with it. More...
 
void setValue (const std::string &type, bool value, bool set=true)
 Sets the value of a child item, the child item must have a QCheckBox widget associated with it. More...
 
void setValue (const std::string &type, int value, bool set=true)
 Sets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void setValue (const std::string &type, unsigned int value, bool set=true)
 Sets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void setValue (const std::string &type, unsigned short value, bool set=true)
 Sets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void setValue (const std::string &type, double value, bool set=true)
 Sets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::URI &url, bool set=true)
 Sets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::NumericExpression &exp, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::StringExpression &exp, bool set=true)
 Sets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void setScriptValue (const std::string &type, const osgEarth::StringExpression &exp, bool set=true)
 Sets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::Color &color, bool set=true)
 Sets the value of a child item, the child item must have a DtColorPushButton widget associated with it. More...
 
void setValue (const std::string &type, float value, const osgEarth::Units &units, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::Distance &distance, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osgEarth::Angle &angle, bool set=true)
 Sets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void setValue (const std::string &type, const osg::Vec2f &value, bool set=true)
 Sets the value of a child item, the child item must have a DtVec2Widget widget associated with it. More...
 
void setValue (const std::string &type, const osg::Vec3f &value, bool set=true)
 Sets the value of a child item, the child item must have a DtVec3Widget widget associated with it. More...
 
void setValue (const std::string &type, const osg::Vec4f &value, bool set=true)
 Sets the value of a child item, the child item must have a DtVec4Widget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< std::string > &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getComboBoxValue (const std::string &type, osgEarth::optional< std::string > &value) const
 Gets the value of a child item, the child item must have a QComboBox associated with it. More...
 
void getScriptValue (const std::string &type, osgEarth::optional< std::string > &value) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< bool > &value) const
 Gets the value of a child item, the child item must have a QCheckBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< int > &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< unsigned int > &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< unsigned short > &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< double > &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< float > &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::URI > &url) const
 Gets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Config > &config) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::NumericExpression > &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::StringExpression > &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Color > &color) const
 Gets the value of a child item, the child item must have a DtColorPushButton widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Distance > &distance) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osgEarth::Angle > &angle) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< float > &value, osgEarth::optional< osgEarth::Units > &units) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec2f > &value) const
 Sets the value of a child item, the child item must have a DtVec2Widget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec3f > &value) const
 Sets the value of a child item, the child item must have a DtVec3Widget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::optional< osg::Vec4f > &value) const
 Sets the value of a child item, the child item must have a DtVec4Widget widget associated with it. More...
 
void getValue (const std::string &type, std::string &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getComboBoxValue (const std::string &type, std::string &value) const
 Gets the value of a child item, the child item must have a QComboBox associated with it. More...
 
void getScriptValue (const std::string &type, std::string &value) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget associated with it. More...
 
void getValue (const std::string &type, bool &value) const
 Gets the value of a child item, the child item must have a QCheckBox widget associated with it. More...
 
void getValue (const std::string &type, int &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, unsigned int &value) const
 Gets the value of a child item, the child item must have a QSpinBox widget associated with it. More...
 
void getValue (const std::string &type, unsigned short &value) const
 Gets the value of a child item, the child item must have a QLineEdit widget associated with it. More...
 
void getValue (const std::string &type, double &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, float &value) const
 Gets the value of a child item, the child item must have a QDoubleSpinBox widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::URI &url) const
 Gets the value of a child item, the child item must have a DtFileBrowseWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Config &config) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::NumericExpression &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::StringExpression &exp) const
 Gets the value of a child item, the child item must have a DtScriptEditorWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Color &color) const
 Gets the value of a child item, the child item must have a DtColorPushButton widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Distance &distance) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osgEarth::Angle &angle) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, float &value, osgEarth::Units &units) const
 Gets the value of a child item, the child item must have a DtUnitsWidget widget associated with it. More...
 
void getValue (const std::string &type, osg::Vec2f &value) const
 Sets the value of a child item, the child item must have a DtVec2Widget widget associated with it. More...
 
void getValue (const std::string &type, osg::Vec3f &value) const
 Sets the value of a child item, the child item must have a DtVec3Widget widget associated with it. More...
 
void getValue (const std::string &type, osg::Vec4f &value) const
 Sets the value of a child item, the child item must have a DtVec4Widget widget associated with it. More...
 
const QWidget * findChildWidget (const std::string &type) const
 Finds the child Qwidget. More...
 
const QLineEditfindChildWidgetAsQLineEdit (const std::string &type) const
 Finds the child QLineEdit. More...
 
const QCheckBoxfindChildWidgetAsQCheckBox (const std::string &type) const
 Finds the child QCheckBox. More...
 
const QSpinBoxfindChildWidgetAsQSpinBox (const std::string &type) const
 Finds the child QSpinBox. More...
 
const QDoubleSpinBoxfindChildWidgetAsQDoubleSpinBox (const std::string &type) const
 Finds the child QDoubleSpinBox. More...
 
const QComboBoxfindChildWidgetAsQComboBox (const std::string &type) const
 Finds the child QComboBox. More...
 
const DtFileBrowseWidgetfindChildWidgetAsDtFileBrowseWidget (const std::string &type) const
 Finds the child DtFileBrowseWidget. More...
 
const DtScriptEditorWidgetfindChildWidgetAsDtScriptEditorWidget (const std::string &type) const
 Finds the child DtScriptEditorWidget. More...
 
const DtColorPushButtonfindChildWidgetAsDtColorPushButton (const std::string &type) const
 Finds the child DtColorPushButton. More...
 
const DtUnitsWidgetfindChildWidgetAsDtUnitsWidget (const std::string &type) const
 Finds the child DtUnitsWidget. More...
 
const DtVec2WidgetfindChildWidgetAsDtVec2Widget (const std::string &type) const
 Finds the child DtVec2Widget. More...
 
const DtVec3WidgetfindChildWidgetAsDtVec3Widget (const std::string &type) const
 Finds the child DtVec3Widget. More...
 
const DtVec4WidgetfindChildWidgetAsDtVec4Widget (const std::string &type) const
 Finds the child DtVec4Widget. More...
 
QWidget * findChildWidget (const std::string &type)
 Finds the child Qwidget. More...
 
QLineEditfindChildWidgetAsQLineEdit (const std::string &type)
 Finds the child QLineEdit. More...
 
QCheckBoxfindChildWidgetAsQCheckBox (const std::string &type)
 Finds the child QCheckBox. More...
 
QSpinBoxfindChildWidgetAsQSpinBox (const std::string &type)
 Finds the child QSpinBox. More...
 
QDoubleSpinBoxfindChildWidgetAsQDoubleSpinBox (const std::string &type)
 Finds the child QDoubleSpinBox. More...
 
QComboBoxfindChildWidgetAsQComboBox (const std::string &type)
 Finds the child QComboBox. More...
 
DtFileBrowseWidgetfindChildWidgetAsDtFileBrowseWidget (const std::string &type)
 Finds the child DtFileBrowseWidget. More...
 
DtScriptEditorWidgetfindChildWidgetAsDtScriptEditorWidget (const std::string &type)
 Finds the child DtScriptEditorWidget. More...
 
DtColorPushButtonfindChildWidgetAsDtColorPushButton (const std::string &type)
 Finds the child DtColorPushButton. More...
 
DtUnitsWidgetfindChildWidgetAsDtUnitsWidget (const std::string &type)
 Finds the child DtUnitsWidget. More...
 
DtVec2WidgetfindChildWidgetAsDtVec2Widget (const std::string &type)
 Finds the child DtVec2Widget. More...
 
DtVec3WidgetfindChildWidgetAsDtVec3Widget (const std::string &type)
 Finds the child DtVec3Widget. More...
 
DtVec4WidgetfindChildWidgetAsDtVec4Widget (const std::string &type)
 Finds the child DtVec4Widget. More...
 
QTreeWidgetItemcreateQLineEditTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const QString &defaultValue="", bool required=false, bool nested=true, bool enabled=true)
 Creates a child QLineEdit tree widget item. More...
 
QTreeWidgetItemcreateQCheckBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool defaultValue=false, bool required=false, bool nested=true, bool enabled=true)
 Creates a child QCheckBox tree widget item. More...
 
QTreeWidgetItemcreateQSpinBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, int defaultValue=0, int singleStep=1, int min=0, int max=INT_MAX, bool required=false, bool nested=true, bool enabled=true)
 Creates a child QSpinBoxTree tree widget item. More...
 
QTreeWidgetItemcreateQDoubleSpinBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, double defaultValue=0.0, double singleStep=0.1, double min=0.0, double max=FLT_MAX, bool required=false, bool nested=true)
 Creates a child QDoubleSpinBox tree widget item. More...
 
QTreeWidgetItemcreateQComboBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool required=false, bool nested=true, bool enabled=true)
 Creates a child QComboBox tree widget item. More...
 
QTreeWidgetItemcreateDtFileBrowseWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, std::string defaultValue="", bool required=false, bool nested=true, bool enabled=true)
 Creates a child DtFileBrowseWidget tree widget item. More...
 
QTreeWidgetItemcreateDtScriptEditorWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, std::string defaultValue="", bool isHTML=false, bool required=false, bool nested=true)
 Creates a child DtScriptEditorWidget tree widget item. More...
 
virtual
DtMinimapEditorTreeWidgetItem
createDtMinimapEditorWidgetTreeWidgetItem (DtDe &de, QWidget *parentWidget)
 Creates a child DtMinimapEditorWidget tree widget item. More...
 
void configureDtMinimapEditorWidgetTreeWidgetItem (DtMinimapEditorTreeWidgetItem *widget, const std::string &type, const QString &text, const QString &tooltip, bool required=false, bool nested=true)
 Creates a child DtMinimapEditorWidget tree widget item. More...
 
QTreeWidgetItemcreateDtColorPushButtonTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(255, 255, 255, 255), bool required=false)
 Creates a child DtColorPushButton tree widget item. More...
 
QTreeWidgetItemcreateDtUnitsWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, double defaultValue, const std::string &defaultUnit, bool required=false)
 Creates a child DtUnitsWidget tree widget item. More...
 
QTreeWidgetItemcreateDtVec2WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec2f defaultValue=osg::Vec2f(0, 0), bool required=false)
 Creates a child DtVec2Widget tree widget item. More...
 
QTreeWidgetItemcreateDtVec3WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec3f defaultValue=osg::Vec3f(0, 0, 0), bool required=false, bool nested=true)
 Creates a child DtVec3Widget tree widget item. More...
 
QTreeWidgetItemcreateDtVec4WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec4f defaultValue=osg::Vec4f(0, 0, 0, 0), bool required=false)
 Creates a child DtVec4Widget tree widget item. More...
 
DtTerrainEditorPropertyTreeWidgetItemcreateTerrainEditorPropertyTreeWidgetItem (const std::string &type, bool required=false, bool nested=true)
 Creates a child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
 
DtTerrainEditorPropertyTreeWidgetItemcreateDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type)
 Creates a dynamic child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
 
DtTerrainEditorPropertyTreeWidgetItemcreateDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type, int index)
 Creates a dynamic child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
 

Protected Member Functions

 DtElevationLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 
- Protected Member Functions inherited from makVrv::DtVisibleLayerTreeWidgetItem
 DtVisibleLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 
- Protected Member Functions inherited from makVrv::DtLayerTreeWidgetItem
 DtLayerTreeWidgetItem (QTreeWidget *parentTree, DtDe &de, const DtOsgEarthPropertyItemKey &key)
 Protected Constructor. More...
 

Friends

class DtElevationLayerTreeWidgetItemCreator
 

Additional Inherited Members

- Public Types inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
enum  TerrainEditorPropertyDataRole {
  ItemDataType = Qt::UserRole, ItemDataIndex, ItemDataParentType, ItemDataParentIndex,
  ItemContentType, ItemContentId
}
 
typedef
osgEarth::FeatureSource::Options 
FeatureSourceOptions
 
typedef std::pair
< QTreeWidgetItem *, bool
AttributeSetPair
 
typedef std::map
< DtOsgEarthPropertyItemKey,
AttributeSetPair
AttributesMap
 
typedef std::map
< DtOsgEarthPropertyItemKey,
QTreeWidgetItem * > 
DynamicAttributesMap
 
- Static Public Member Functions inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
static std::string getTerrainPropertyItemType (QTreeWidgetItem *item)
 Gets the type from the user data stored in QTreeWidgetItem. More...
 
static int getTerrainPropertyItemIndex (QTreeWidgetItem *item)
 Gets the index from the user data stored in QTreeWidgetItem. More...
 
static std::string getTerrainPropertyItemParentType (QTreeWidgetItem *item)
 Gets the parent type from the user data stored in QTreeWidgetItem. More...
 
static int getTerrainPropertyItemParentIndex (QTreeWidgetItem *item)
 Gets the parent index from the user data stored in QTreeWidgetItem. More...
 
static DtOsgEarthPropertyItemKey getDtOsgEarthPropertyItemKey (QTreeWidgetItem *item)
 Gets the key from the user data stored in QTreeWidgetItem. More...
 
- Protected Slots inherited from makVrv::DtVisibleLayerTreeWidgetItem
virtual void on_visibleCheckBox_stateChanged (int value)
 Qt Slot when the checkbox of visibility has changed. More...
 
virtual void on_opacitySpinBox_valueChanged (double value)
 Qt Slot when the double spin box of opacity has changed. More...
 
virtual void on_minRangeSpinBox_valueChanged (double value)
 Qt Slot when the double spin box of minimum visibility range has changed. More...
 
virtual void on_maxRangeSpinBox_valueChanged (double value)
 Qt Slot when the double spin box of maximum visibility range has changed. More...
 
- Protected Attributes inherited from makVrv::DtTerrainEditorPropertyTreeWidgetItem
DtDemyDe
 
QTreeWidgetmyParentTree
 
AttributesMap myAttributesMap
 
DynamicAttributesMap myDynamicAttributesMap
 
DtOsgEarthPropertyItemKey myOsgEarthPropertyItemKey
 
DtTerrainEditorInterface::TerrainContentItemKey myTerrainContentItemKey
 
int myTerrainContentType
 
int myTerrainContentId
 

Detailed Description

DtElevationLayerTreeWidgetItem.

Properties for an osgEarth elevation layer. vrvTerrainEditor::DtElevationLayerProperties

This tree widget item has no properties that can be changed at runtime.

Constructor & Destructor Documentation

makVrv::DtElevationLayerTreeWidgetItem::DtElevationLayerTreeWidgetItem ( QTreeWidget parentTree,
DtDe de,
const DtOsgEarthPropertyItemKey key 
)
protected

Protected Constructor.

Use DtElevationLayerTreeWidgetItemCreator to create instances of this class

Parameters
parentTreeThe parent tree of this tree widget item.
deDtDe
keyThe key of this DtTerrainEditorPropertyTreeWidgetItem.

Member Function Documentation

virtual void makVrv::DtElevationLayerTreeWidgetItem::setupGui ( )
virtual

Sets up the widgets.

Reimplemented from makVrv::DtVisibleLayerTreeWidgetItem.

virtual void makVrv::DtElevationLayerTreeWidgetItem::show ( )
virtual

Show this tree widget item.

Reimplemented from makVrv::DtVisibleLayerTreeWidgetItem.

virtual void makVrv::DtElevationLayerTreeWidgetItem::hide ( )
virtual

Hide this tree widget item.

Reimplemented from makVrv::DtVisibleLayerTreeWidgetItem.

virtual void makVrv::DtElevationLayerTreeWidgetItem::setProperties ( const DtTerrainEditorProperties props)
virtual

Set the properties of this tree widget item.

Parameters
propsA pointer to the DtElevationLayerProperties to set.

Reimplemented from makVrv::DtVisibleLayerTreeWidgetItem.

virtual bool makVrv::DtElevationLayerTreeWidgetItem::properties ( DtTerrainEditorProperties props) const
virtual

Populate the passed in pointer with the properties of this tree widget item.

Reimplemented from makVrv::DtVisibleLayerTreeWidgetItem.

Friends And Related Function Documentation


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)