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.VersionEnum
Attributes:
current version string.
version major int.
version minor int.
version patch int.
- class NodeGraphQt.constants.LayoutDirectionEnum(value)
Node graph nodes layout direction:
NodeGraphQt.constants.ViewerLayoutEnum
Attributes:
layout nodes left to right.
layout nodes top to bottom.
- class NodeGraphQt.constants.ViewerEnum(value)
Node graph viewer styling layout:
NodeGraphQt.constants.ViewerEnum
Attributes:
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.ViewerNavEnum
Attributes:
default background color.
default item color.
default background color.
default item color.
- class NodeGraphQt.constants.NodeEnum(value)
Node styling layout:
NodeGraphQt.constants.NodeEnum
Attributes:
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.PortEnum
Attributes:
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.PortTypeEnum
Attributes:
Connection type for input ports.
Connection type for output ports.
- class NodeGraphQt.constants.PipeEnum(value)
Pipe styling layout:
NodeGraphQt.constants.PipeEnum
Attributes:
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.PipeSlicerEnum
Attributes:
default width.
default color.
- class NodeGraphQt.constants.PipeLayoutEnum(value)
Pipe connection drawing layout:
NodeGraphQt.constants.PipeLayoutEnum
Attributes:
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.PropertiesBinWidget
to display a node property in the specified widget type.NodeGraphQt.constants.NodePropWidgetEnum
Attributes:
Node property will be hidden in the
PropertiesBinWidget
(default).Node property represented with a
QLabel
widget.Node property represented with a
QLineEdit
widget.Node property represented with a
QTextEdit
widget.Node property represented with a
QComboBox
widget.Node property represented with a
QCheckBox
widget.Node property represented with a
QSpinBox
widget.Node property represented with a
QDoubleSpinBox
widget.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.