Skip to content

PythonQt.Qt.QLineEdit · declarations 001

Back to PythonQt.Qt.QLineEdit

cursorPositionChanged

cursorPositionChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.cursorPositionChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::cursorPositionChanged(int oldPos, int newPos)

This signal is emitted whenever the cursor moves. The previous position is given by oldPos, and the new position by newPos.

See also setCursorPosition() and cursorPosition().

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#cursorPositionChanged

customContextMenuRequested

customContextMenuRequested(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.customContextMenuRequested; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.destroyed; argument details are not documented.

editingFinished

editingFinished(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.editingFinished; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::editingFinished()

This signal is emitted when the Return or Enter key is pressed or the line edit loses focus. Note that if there is a validator() or inputMask() set on the line edit and enter/return is pressed, the editingFinished() signal will only be emitted if the input follows the inputMask() and the validator() returns QValidator::Acceptable.

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#editingFinished

inputRejected

inputRejected(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.inputRejected; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::inputRejected()

This signal is emitted when the user presses a key that is not considered to be acceptable input. For example, if a key press results in a validator's validate() call to return Invalid. Another case is when trying to enter in more characters beyond the maximum length of the line edit.

Note: This signal will still be emitted in a case where part of the text is accepted but not all of it is. For example, if there is a maximum length set and the clipboard text is longer than the maximum length when it is pasted.

This function was introduced in Qt 5.12.

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#inputRejected

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.objectNameChanged; argument details are not documented.

returnPressed

returnPressed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.returnPressed; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::returnPressed()

This signal is emitted when the Return or Enter key is pressed. Note that if there is a validator() or inputMask() set on the line edit, the returnPressed() signal will only be emitted if the input follows the inputMask() and the validator() returns QValidator::Acceptable.

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#returnPressed

selectionChanged

selectionChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.selectionChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::selectionChanged()

This signal is emitted whenever the selection changes.

See also hasSelectedText() and selectedText().

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#selectionChanged

textChanged

textChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.textChanged; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::textChanged(const QString \&text)

This signal is emitted whenever the text changes. The text argument is the new text.

Unlike textEdited(), this signal is also emitted when the text is changed programmatically, for example, by calling setText().

Note: Notifier signal for property text.

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#textChanged

textEdited

textEdited(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.textEdited; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QLineEdit::textEdited(const QString \&text)

This signal is emitted whenever the text is edited. The text argument is the new text.

Unlike textChanged(), this signal is not emitted when the text is changed programmatically, for example, by calling setText().

Source: https://doc.qt.io/archives/qt-5.15/qlineedit.html#textEdited

windowIconChanged

windowIconChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.windowIconChanged; argument details are not documented.

windowIconTextChanged

windowIconTextChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.windowIconTextChanged; argument details are not documented.

windowTitleChanged

windowTitleChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.Qt.QLineEdit.windowTitleChanged; argument details are not documented.