|
| virtual void | setupGui () |
| | Sets up the widgets. More...
|
| |
| virtual void | setSplatLayerOptions (const osgEarth::Splat::SplatLayer::Options &options) |
| | Sets the spat layer options displayed in this widget. More...
|
| |
| virtual void | getSplatLayerOptions (osgEarth::Splat::SplatLayer::Options &options) const |
| | Gets the spat layer options from the values in the widget. More...
|
| |
| virtual void | setVisibleLayerOptions (const osgEarth::VisibleLayer::Options &options) |
| | Sets the visible layer options displayed in this widget. More...
|
| |
| virtual void | getVisibleLayerOptions (osgEarth::VisibleLayer::Options &options) const |
| | Gets the image layer options from the values in the widget. More...
|
| |
| virtual void | setName (const std::string &name) |
| | Sets the name of layer to be displayed in this widget. More...
|
| |
| virtual void | setLayerOptions (const osgEarth::Layer::Options &options) |
| | Sets the layer options displayed inthis widget. More...
|
| |
| virtual void | getLayerOptions (osgEarth::Layer::Options &options) const |
| | Gets the layer options from the values in the widget. More...
|
| |
| | DtTerrainEditorPropertyTreeWidgetItem (QTreeWidget *tree, DtDe &de, const DtOsgEarthPropertyItemKey &key) |
| | Default constructor. More...
|
| |
| virtual | ~DtTerrainEditorPropertyTreeWidgetItem () |
| | Destructor. More...
|
| |
| virtual void | connectSignals () |
| | Connects the signals. 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 attributs of the item. More...
|
| |
| virtual void | setItemAttributes (QTreeWidgetItem *item, const DtOsgEarthPropertyItemKey &key) |
| | Sets the attributs of the item. More...
|
| |
| QTreeWidgetItem * | findTreeWidgetItem (const DtOsgEarthPropertyItemKey &key, bool visibleOnly=true) |
| | Recursively find the QTreeWidgetItem with the given key. More...
|
| |
| DtTerrainEditorPropertyTreeWidgetItem * | findTerrainEditorPropertyTreeWidgetItem (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...
|
| |
| AttributesMap & | attributesMap () |
| | Gets the attributes children map. More...
|
| |
| DynamicAttributesMap & | dynamicAttributesMap () |
| | 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...
|
| |
| 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 | 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 | getScriptValue (const std::string &type, osgEarth::optional< std::string > &value) const |
| | Sets 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 | 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 QLineEdit * | findChildWidgetAsQLineEdit (const std::string &type) const |
| | Finds the child QLineEdit. More...
|
| |
| const QCheckBox * | findChildWidgetAsQCheckBox (const std::string &type) const |
| | Finds the child QCheckBox. More...
|
| |
| const QSpinBox * | findChildWidgetAsQSpinBox (const std::string &type) const |
| | Finds the child QSpinBox. More...
|
| |
| const QDoubleSpinBox * | findChildWidgetAsQDoubleSpinBox (const std::string &type) const |
| | Finds the child QDoubleSpinBox. More...
|
| |
| const QComboBox * | findChildWidgetAsQComboBox (const std::string &type) const |
| | Finds the child QComboBox. More...
|
| |
| const DtFileBrowseWidget * | findChildWidgetAsDtFileBrowseWidget (const std::string &type) const |
| | Finds the child DtFileBrowseWidget. More...
|
| |
| const DtScriptEditorWidget * | findChildWidgetAsDtScriptEditorWidget (const std::string &type) const |
| | Finds the child DtScriptEditorWidget. More...
|
| |
| const DtColorPushButton * | findChildWidgetAsDtColorPushButton (const std::string &type) const |
| | Finds the child DtColorPushButton. More...
|
| |
| const DtUnitsWidget * | findChildWidgetAsDtUnitsWidget (const std::string &type) const |
| | Finds the child DtUnitsWidget. More...
|
| |
| const DtVec2Widget * | findChildWidgetAsDtVec2Widget (const std::string &type) const |
| | Finds the child DtVec2Widget. More...
|
| |
| const DtVec3Widget * | findChildWidgetAsDtVec3Widget (const std::string &type) const |
| | Finds the child DtVec3Widget. More...
|
| |
| const DtVec4Widget * | findChildWidgetAsDtVec4Widget (const std::string &type) const |
| | Finds the child DtVec4Widget. More...
|
| |
| QWidget * | findChildWidget (const std::string &type) |
| | Finds the child Qwidget. More...
|
| |
| QLineEdit * | findChildWidgetAsQLineEdit (const std::string &type) |
| | Finds the child QLineEdit. More...
|
| |
| QCheckBox * | findChildWidgetAsQCheckBox (const std::string &type) |
| | Finds the child QCheckBox. More...
|
| |
| QSpinBox * | findChildWidgetAsQSpinBox (const std::string &type) |
| | Finds the child QSpinBox. More...
|
| |
| QDoubleSpinBox * | findChildWidgetAsQDoubleSpinBox (const std::string &type) |
| | Finds the child QDoubleSpinBox. More...
|
| |
| QComboBox * | findChildWidgetAsQComboBox (const std::string &type) |
| | Finds the child QComboBox. More...
|
| |
| DtFileBrowseWidget * | findChildWidgetAsDtFileBrowseWidget (const std::string &type) |
| | Finds the child DtFileBrowseWidget. More...
|
| |
| DtScriptEditorWidget * | findChildWidgetAsDtScriptEditorWidget (const std::string &type) |
| | Finds the child DtScriptEditorWidget. More...
|
| |
| DtColorPushButton * | findChildWidgetAsDtColorPushButton (const std::string &type) |
| | Finds the child DtColorPushButton. More...
|
| |
| DtUnitsWidget * | findChildWidgetAsDtUnitsWidget (const std::string &type) |
| | Finds the child DtUnitsWidget. More...
|
| |
| DtVec2Widget * | findChildWidgetAsDtVec2Widget (const std::string &type) |
| | Finds the child DtVec2Widget. More...
|
| |
| DtVec3Widget * | findChildWidgetAsDtVec3Widget (const std::string &type) |
| | Finds the child DtVec3Widget. More...
|
| |
| DtVec4Widget * | findChildWidgetAsDtVec4Widget (const std::string &type) |
| | Finds the child DtVec4Widget. More...
|
| |
| QTreeWidgetItem * | createQLineEditTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, const QString &defaultValue="", bool required=false) |
| | Creates a child QLineEdit tree widget item. More...
|
| |
| QTreeWidgetItem * | createQCheckBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool defaultValue=false, bool required=false) |
| | Creates a child QCheckBox tree widget item. More...
|
| |
| QTreeWidgetItem * | createQSpinBoxTreeWidgetItem (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) |
| | Creates a child QSpinBoxTree tree widget item. More...
|
| |
| QTreeWidgetItem * | createQDoubleSpinBoxTreeWidgetItem (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) |
| | Creates a child QDoubleSpinBox tree widget item. More...
|
| |
| QTreeWidgetItem * | createQComboBoxTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, bool required=false) |
| | Creates a child QComboBox tree widget item. More...
|
| |
| QTreeWidgetItem * | createDtFileBrowseWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, std::string defaultValue="", bool required=false) |
| | Creates a child DtFileBrowseWidget tree widget item. More...
|
| |
| QTreeWidgetItem * | createDtScriptEditorWidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, std::string defaultValue="", bool required=false) |
| | Creates a child DtScriptEditorWidget tree widget item. More...
|
| |
| QTreeWidgetItem * | createDtColorPushButtonTreeWidgetItem (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...
|
| |
| QTreeWidgetItem * | createDtUnitsWidgetTreeWidgetItem (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...
|
| |
| QTreeWidgetItem * | createDtVec2WidgetTreeWidgetItem (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...
|
| |
| QTreeWidgetItem * | createDtVec3WidgetTreeWidgetItem (const std::string &type, const QString &text, const QString &tooltip, osg::Vec3f defaultValue=osg::Vec3f(0, 0, 0), bool required=false) |
| | Creates a child DtVec3Widget tree widget item. More...
|
| |
| QTreeWidgetItem * | createDtVec4WidgetTreeWidgetItem (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...
|
| |
| DtTerrainEditorPropertyTreeWidgetItem * | createTerrainEditorPropertyTreeWidgetItem (const std::string &type, bool required=false) |
| | Creates a child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
|
| |
| DtTerrainEditorPropertyTreeWidgetItem * | createDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type) |
| | Creates a dynamic child DtTerrainEditorPropertyTreeWidgetItem tree widget item. More...
|
| |
| DtTerrainEditorPropertyTreeWidgetItem * | createDynamicTerrainEditorPropertyTreeWidgetItem (const std::string &type, int index) |
| | Creates a dynamic child DtTerrainEditorPropertyTreeWidgetItem tree widget item. 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...
|
| |
| 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...
|
| |