Skip to content

fontlabapp.qt.tables.items · declarations 001

Back to fontlabapp.qt.tables.items

cell_text

cell_text(value: Any) -> str

Keep missing values blank while retaining every other literal string.

fill_row

fill_row(gui: Any, row: int, values: Mapping, columns: Iterable, flags: Callable[[], Callable[[bool], Any]], qt: Callable[[], Any], table: Callable[[], Any]) -> None

Place all column occurrences; check state precedes flags and ownership.

flags returns the caller's current flag policy. Its lookup precedes evaluating column editability, preserving virtual-method and failure order. Empty columns touch no native item, flags namespace or table.

item_flags

item_flags(qt: Any, editable: bool) -> Any

Set precisely selectable/enabled, adding editability only when requested.

place_text

place_text(qt: Any, table: Callable[[], Any], row: int, column: int, value: Any, editable: bool) -> None

Construct/configure a plain item before giving ownership to the table.