spark.graph_editor.widgets.line_edits#
Classes#
A simple QLineEdit with a placeholder. |
|
Custom QWidget used for string fields in the SparkGraphEditor's Inspector. |
|
A QLineEdit that only accepts integers. |
|
Custom QWidget used for int fields in the SparkGraphEditor's Inspector. |
|
A QLineEdit that only accepts floating-point numbers with flexible precision. |
|
Custom QWidget used for float fields in the SparkGraphEditor's Inspector. |
Module Contents#
- class spark.graph_editor.widgets.line_edits.QStrLineEdit(initial_value, placeholder='', **kwargs)[source]#
Bases:
PySide6.QtWidgets.QLineEditA simple QLineEdit with a placeholder.
- class spark.graph_editor.widgets.line_edits.QString(initial_value, placeholder='', **kwargs)[source]#
Bases:
spark.graph_editor.widgets.base.QInputCustom QWidget used for string fields in the SparkGraphEditor’s Inspector.
- class spark.graph_editor.widgets.line_edits.QIntLineEdit(initial_value, bottom_value=None, placeholder=None, **kwargs)[source]#
Bases:
PySide6.QtWidgets.QLineEditA QLineEdit that only accepts integers.
- class spark.graph_editor.widgets.line_edits.QInt(initial_value=0, bottom_value=None, placeholder=None, **kwargs)[source]#
Bases:
spark.graph_editor.widgets.base.QInputCustom QWidget used for int fields in the SparkGraphEditor’s Inspector.
- class spark.graph_editor.widgets.line_edits.QFloatLineEdit(initial_value, bottom_value=None, placeholder=None, **kwargs)[source]#
Bases:
PySide6.QtWidgets.QLineEditA QLineEdit that only accepts floating-point numbers with flexible precision.
- class spark.graph_editor.widgets.line_edits.QFloat(initial_value=0, bottom_value=None, placeholder=None, **kwargs)[source]#
Bases:
spark.graph_editor.widgets.base.QInputCustom QWidget used for float fields in the SparkGraphEditor’s Inspector.