Constants
NodeGraphQt.constants namespace contains variables and enums
used throughout the NodeGraphQt library.Classes:
|
Current framework version. |
|
Node graph nodes layout direction: |
|
Node graph viewer styling layout: |
|
Node graph viewer navigation styling layout: |
|
Node styling layout: |
|
Port styling layout: |
|
Port connection types: |
|
Pipe styling layout: |
|
Slicer Pipe styling layout: |
|
Pipe connection drawing layout: |
|
Mapping used for the |
- class NodeGraphQt.constants.VersionEnum(value)
Current framework version.
NodeGraphQt.constants.VersionEnumAttributes:
current version string.
version major int.
version minor int.
version patch int.
- class NodeGraphQt.constants.LayoutDirectionEnum(value)
Node graph nodes layout direction:
NodeGraphQt.constants.ViewerLayoutEnumAttributes:
layout nodes left to right.
layout nodes top to bottom.
- class NodeGraphQt.constants.ViewerEnum(value)
Node graph viewer styling layout:
NodeGraphQt.constants.ViewerEnumAttributes:
default background color for the node graph.
style node graph background with no grid or dots.
style node graph background with dots.
style node graph background with grid lines.
grid size when styled with grid lines.
grid line color.
Node graph viewer navigation styling layout:
NodeGraphQt.constants.ViewerNavEnumAttributes:
default background color.
default item color.
default background color.
default item color.
- class NodeGraphQt.constants.NodeEnum(value)
Node styling layout:
NodeGraphQt.constants.NodeEnumAttributes:
default node width.
default node height.
default node icon size (WxH).
default node overlay color when selected.
default node border color when selected.
- class NodeGraphQt.constants.PortEnum(value)
Port styling layout:
NodeGraphQt.constants.PortEnumAttributes:
default port size.
default port color.
default port border color.
port color when selected.
port border color when selected.
port color on mouse over.
port border color on mouse over.
threshold for selecting a port.
- class NodeGraphQt.constants.PortTypeEnum(value)
Port connection types:
NodeGraphQt.constants.PortTypeEnumAttributes:
Connection type for input ports.
Connection type for output ports.
- class NodeGraphQt.constants.PipeEnum(value)
Pipe styling layout:
NodeGraphQt.constants.PipeEnumAttributes:
default width.
default color.
pipe color to a node when it's disabled.
pipe color when selected or mouse over.
pipe color to a node when it's selected.
draw connection as a line.
draw connection as dashed lines.
draw connection as a dotted line.
- class NodeGraphQt.constants.PipeSlicerEnum(value)
Slicer Pipe styling layout:
NodeGraphQt.constants.PipeSlicerEnumAttributes:
default width.
default color.
- class NodeGraphQt.constants.PipeLayoutEnum(value)
Pipe connection drawing layout:
NodeGraphQt.constants.PipeLayoutEnumAttributes:
draw straight lines for pipe connections.
draw curved lines for pipe connections.
draw angled lines for pipe connections.
- class NodeGraphQt.constants.NodePropWidgetEnum(value)
Mapping used for the
NodeGraphQt.PropertiesBinWidgetto display a node property in the specified widget type.NodeGraphQt.constants.NodePropWidgetEnumAttributes:
Node property will be hidden in the
PropertiesBinWidget(default).Node property represented with a
QLabelwidget.Node property represented with a
QLineEditwidget.Node property represented with a
QTextEditwidget.Node property represented with a
QComboBoxwidget.Node property represented with a
QCheckBoxwidget.Node property represented with a
QSpinBoxwidget.Node property represented with a
QDoubleSpinBoxwidget.Node property represented with a ColorPicker widget.
Node property represented with a ColorPicker (RGBA) widget.
Node property represented with an (Int) Slider widget.
Node property represented with a (Dobule) Slider widget.
Node property represented with a file selector widget.
Node property represented with a file save widget.
Node property represented with a vector2 widget.
Node property represented with vector3 widget.
Node property represented with vector4 widget.
Node property represented with float line edit widget.
Node property represented with int line edit widget.
Node property represented with button widget.