Dialog ComboBox node. More...
#include <DialogViz/dialog/SoDialogComboBox.h>
Public Member Functions | |
SoDialogComboBox () |
This node defines a ComboBox component for the dialog.
This component does not support \n (newline) characters in its fields.
You can change the parts in any instance of this combo box using setPart(). The default part geometries are defined as resources for this SoDialogComboBox class. They are detailed below in the Catalog Parts section of the online reference page for this class. You can make your program use different default resources for the parts by copying the file $OIVHOME/data/DialogViz/Skins/default/DialogComboBox.iv into your own directory, editing the file, and then setting the environment variable DIALOGVIZ_SKINS_DIR to be a path to that directory, or by using the setSkinDirectory() method in your application.
// fields from SoDialogChoice | |
items | [] |
selectedItem | 0 |
// fields from SoDialogComponent | |
width | 0 |
height | 0 |
fixedWidth | FALSE |
fixedHeight | FALSE |
minWidth | 0 |
maxWidth | 0 |
minHeight | 0 |
maxHeight | 0 |
margin | 0 |
edgeStyle | NONE |
labelVisibility | TRUE |
// fields from SoDialogViz | |
enable | TRUE |
label | "" |
labelAlignment | RIGHT |
auditorID | "" |
Switch edgeStyleSwitch (from SoDialogComponent) {
Specify the appearance of the component border. By default, the component has its edgeStyle set to NONE.
Group edgeStyleNone (from SoDialogComponent)
Defines the appearance of the component when edgeStyle field is set to NONE.
Group edgeStyleShadowIn (from SoDialogComponent)
Defines the appearance of the component when edgeStyle field is set to SHADOW_IN.
Group edgeStyleShadowOut (from SoDialogComponent)
Defines the appearance of the component when edgeStyle field is set to SHADOW_OUT.
}
Group labelProp
Specifies properties to apply to the text node that represents the label field.
Group frame
Defines the geometry of the main combo box frame. DialogViz set size to (x, 22, z).
Group textProp
Specifies properties to apply to the text node that represents the current selected item string.
Switch buttonSwitch {
Defines the geometry of the combo box button used to visualize the possibility to open a drop down menu. This geometry is set by DialogViz to (16, 16, z).
Group buttonReleased
Defines the geometry of the button when combo box dropdown list is closed.
Group buttonPressed
Defines the geometry of the button when combo box dropdown list is opened.
}
Switch itemSwitch {
Defines the drop down menu where an item can be selected. The itemSwitch open or close the sub-menu. Each items have the same appearance defined by the following parts :
Group itemFrame
Defines the item frame geometry. DialogViz set size to (x, 22, z).
Group itemTextProp
Specifies properties to apply to the text nodes that represent the different item string
...
Ref itemFrame
Ref itemTextProp
}
}
Extra information for parts from above structure
Part Name Resource Skin file edgeStyleNone DialogComponentEdgeStyleNone DialogComponent.iv edgeStyleShadowIn DialogComponentEdgeStyleShadowIn DialogComponent.iv edgeStyleShadowOut DialogComponentEdgeStyleShadowOut DialogComponent.iv labelProp DialogTextProperties TextProperties.iv frame DialogComboBoxButtonFrame DialogComboBox.iv textProp DialogTextProperties TextProperties.iv buttonFrame DialogComboBoxButtonFrame DialogComboBox.iv itemFrame DialogComboBoxItemFrame DialogComboBox.iv itemTextProp DialogTextProperties TextProperties.iv
SoDialogCheckBox, SoDialogCheckBoxLauncher, SoDialogRadioButtons, SoDialogCustom, SoDialogEditText, SoColumnDialog, SoRowDialog, SoTabDialog, SoDialogLabel, SoDialogPushButton, SoDialogPushButtonLauncher, SoDialogSeparator, SoDialogIntegerSlider, SoDialogRealSlider
SoDialogComboBox::SoDialogComboBox | ( | ) |
Constructor.