Skip to content

PythonQt.Qt.QCompleter · declarations 001

Back to PythonQt.Qt.QCompleter

activated

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

Native PythonQt.Qt.QCompleter.activated; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QCompleter::activated(const QModelIndex \&index)

This signal is sent when an item in the popup() is activated by the user. (by clicking or pressing return). The item's index in the completionModel() is given.

Note: Signal activated is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(completer, QOverload<const QModelIndex &>::of(&QCompleter::activated),
    [=](const QModelIndex &index){ /* ... */ });

[signal] void QCompleter::activated(const QString \&text)

This signal is sent when an item in the popup() is activated by the user (by clicking or pressing return). The item's text is given.

Note: Signal activated is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(completer, QOverload<const QString &>::of(&QCompleter::activated),
    [=](const QString &text){ /* ... */ });

Source: https://doc.qt.io/archives/qt-5.15/qcompleter.html#activated

destroyed

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

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

highlighted

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

Native PythonQt.Qt.QCompleter.highlighted; argument details are not documented.

Supplemental documentation: Qt 5 reference:

[signal] void QCompleter::highlighted(const QModelIndex \&index)

This signal is sent when an item in the popup() is highlighted by the user. It is also sent if complete() is called with the completionMode() set to QCompleter::InlineCompletion. The item's index in the completionModel() is given.

Note: Signal highlighted is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(completer, QOverload<const QModelIndex &>::of(&QCompleter::highlighted),
    [=](const QModelIndex &index){ /* ... */ });

[signal] void QCompleter::highlighted(const QString \&text)

This signal is sent when an item in the popup() is highlighted by the user. It is also sent if complete() is called with the completionMode() set to QCompleter::InlineCompletion. The item's text is given.

Note: Signal highlighted is overloaded in this class. To connect to this signal by using the function pointer syntax, Qt provides a convenient helper for obtaining the function pointer as shown in this example:

connect(completer, QOverload<const QString &>::of(&QCompleter::highlighted),
    [=](const QString &text){ /* ... */ });

Source: https://doc.qt.io/archives/qt-5.15/qcompleter.html#highlighted

objectNameChanged

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

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