Skip to content

fontlabapp.qt.choices · declarations 001

Back to fontlabapp.qt.choices

accept_activation

accept_activation(widget: Any, args: tuple) -> bool

Ignore Qt5's string overload; acknowledge the other user activation once.

Clear the line edit's modified flag before the caller reports its callback. A Return matching a choice can emit both activation and editingFinished; the following commit then observes an already acknowledged edit.

configure_combo

configure_combo(widget: Any, no_insert_policy: Any) -> None

Create the editable line edit before installing the existing NoInsert policy.

consume_commit

consume_commit(line_edit: Any) -> bool

Consume one user-modified edit; a repeated Return/focus loss is silent.

set_combo_text

set_combo_text(widget: Any, text: str) -> None

Write the caller's exact text, then acknowledge its programmatic change.

Preserve native signal timing: edit-text listeners run before the explicit acknowledgement. Errors propagate and no callback scope is changed here.