spinetoolbox.widgets.custom_qlineedits

Contains a custom line edit.

Module Contents

Classes

PropertyQLineEdit

A custom QLineEdit for Project Item Properties.

class spinetoolbox.widgets.custom_qlineedits.PropertyQLineEdit[source]

Bases: spinetoolbox.widgets.custom_qwidgets.UndoRedoMixin, PySide6.QtWidgets.QLineEdit

A custom QLineEdit for Project Item Properties.

setText(text)[source]

Overridden to prevent the cursor going to the end whenever the user is still editing. This happens because we set the text programmatically in undo/redo implementations.