Class to create a separator line. More...
#include <DialogViz/dialog/SoDialogSeparator.h>
Public Member Functions | |
SoDialogSeparator () |
This node creates a separator line. When the SoDialogSeparator is a SoTopLevelDialog or SoRowDialog immediate child, the separator line is horizontal. When used as an SoColumnDialog child, the separator is represented by a vertical line.
You can change the parts in any instance of this separator component using setPart(). The default part geometries are defined as resources for this SoDialogSeparator 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/DialogSeparator.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 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.
}
Switch frameSwitch {
Specify the slider toggle button geometry.
Group hFrame
Defines the geometry of an horizontal separator. Default size is set to (x, 2, z).
Group vFrame
Defines the geometry of a vertical separator. Default size is set to (2, y, z).
}
}
Extra information for parts from above structure
Part Name Resource Skin file edgeStyleNone DialogComponentEdgeStyleNone DialogComponent.iv edgeStyleShadowIn DialogComponentEdgeStyleShadowIn DialogComponent.iv edgeStyleShadowOut DialogComponentEdgeStyleShadowOut DialogComponent.iv hFrame DialogSeparatorHorizontal DialogSeparator.iv vFrame DialogSeparatorVertical DialogSeparator.iv
SoDialogCheckBox, SoDialogCheckBoxLauncher, SoDialogComboBox, SoDialogRadioButtons, SoDialogCustom, SoDialogEditText, SoColumnDialog, SoRowDialog, SoTabDialog, SoDialogLabel, SoDialogPushButton, SoDialogPushButtonLauncher, SoDialogIntegerSlider, SoDialogRealSlider
SoDialogSeparator::SoDialogSeparator | ( | ) |
Constructor.