dicogis.ui.wdg_scrollable_table module

class dicogis.ui.wdg_scrollable_table.ScrollableTable(parent=None)

Bases: QWidget

A scrollable table with two columns in read-only mode.

tbw_content

The table widget displaying key/value rows.

Type:

QTableWidget

__init__(parent=None)

Initialize the ScrollableTable widget.

Parameters:

parent (QWidget | None) – the parent widget.

add_row(key, value)

Append a key/value row to the table.

Parameters:
  • key (str) – value for the first column.

  • value (str) – value for the second column.

Return type:

None