Skip to content

bank_book_widget

Classes:

BRMSBankingBookWidget

BRMSBankingBookWidget(parent: QWidget | None = None)

Bases: BRMSBankBookWidget

Methods:

  • init_ui

    Initialize the user interface.

init_ui

init_ui() -> None

Initialize the user interface.

BRMSTradingBookWidget

BRMSTradingBookWidget(parent: QWidget | None = None)

Bases: BRMSBankBookWidget

Methods:

  • init_ui

    Initialize the user interface.

init_ui

init_ui() -> None

Initialize the user interface.

ColumnOrder

Bases: IntEnum

Base class for column order enumerations.

IntEnum is used to enable sorting.

CurrencyDelegate

Bases: QStyledItemDelegate

Methods:

  • displayText

    Format numbers as currency.

  • paint

    Customize text color for a specific column.

displayText

displayText(value, locale)

Format numbers as currency.

paint

paint(painter, option, index)

Customize text color for a specific column.

CustomHeader

CustomHeader(orientation, parent=None)

Bases: QHeaderView

Methods:

  • paintSection

    Preserve default styling but right-align the last column header text.

paintSection

paintSection(painter, rect, logicalIndex)

Preserve default styling but right-align the last column header text.

InstrumentIDDelegate

Bases: QStyledItemDelegate

Methods:

displayText

displayText(value, locale)

Format UUID as str.