cadrumo.entrypoints.tui.ledger.overview module

Data-quality-first Ledger overview over an injected workspace projection.

class LedgerOverviewScreen(controller)[source]

Bases: LedgerWorkspaceScreen

Lead with unresolved work and affected declarations, never financial totals.

Parameters:

controller (LedgerWorkspaceController)

IS_WORKSPACE_OVERVIEW: ClassVar[bool]

Whether Back from this body leaves the workspace rather than returning to its overview.

compose()[source]

Called by Textual to create child widgets.

This method is called when a widget is mounted or by setting recompose=True when calling [refresh()][textual.widget.Widget.refresh].

Note that you don’t typically need to explicitly call this method.

Return type:

Iterable[Widget]

Example

def compose(self) -> ComposeResult:
    yield Header()
    yield Label("Press the button below:")
    yield Button()
    yield Footer()
on_mount()[source]

Populate the complete navigation and quality-first summary.

Return type:

None

on_data_table_row_selected(event)[source]

Route an Enter press on the one-stop destination table.

Return type:

None

Parameters:

event (RowSelected)

on_button_pressed(event)[source]

Open the invoice entry form.

Return type:

None

Parameters:

event (Pressed)

can_focus: bool

Widget may receive focus.

can_focus_children: bool

Widget’s children may receive focus.