transaction_history_widget
Transaction history widget — QTableView backed by a flat list model.
Classes:
-
BRMSTransactionHistoryWidget–Transaction history view with filter panel and flat table.
BRMSTransactionHistoryWidget
BRMSTransactionHistoryWidget(parent: QWidget | None = None)
Bases: QWidget
Transaction history view with filter panel and flat table.
Methods:
-
add_row–Buffer a row tuple for batch insertion.
-
flush_transactions–Flush buffered rows to the model in a single insert.
-
reset_filters–Unhide all rows and restore insertion order (Tx# ascending).
-
search_transactions–Apply filter controls to all rows (operates on proxy row indices).
-
set_end_date–Set the end date filter.
-
set_filter_indicator–Show or hide a visual indicator that filters are active.
-
set_start_date–Set the start date filter.
add_row
add_row(row_tuple: tuple) -> None
Buffer a row tuple for batch insertion.
flush_transactions
flush_transactions() -> None
Flush buffered rows to the model in a single insert.
reset_filters
reset_filters() -> None
Unhide all rows and restore insertion order (Tx# ascending).
search_transactions
search_transactions() -> None
Apply filter controls to all rows (operates on proxy row indices).
set_end_date
set_end_date(date: QDate | date) -> None
Set the end date filter.
set_filter_indicator
set_filter_indicator(*, active: bool) -> None
Show or hide a visual indicator that filters are active.
set_start_date
set_start_date(date: QDate | date) -> None
Set the start date filter.