Bottom Data Panel
app.ui.qt.sections.bottom_data_panelModule for bottom data panel; implements the Qt presentation components.
See Also
FrameBoxesViewModel— supplies box data for frame tablesSessionFileListViewModel— supplies session-list entries
Layer: Presentation. Context: Implements the qt presentation components at this architectural boundary.
BottomDataPanelContainer
Bases: QWidget
Represent bottom data panel container.
| PARAMETER | DESCRIPTION |
|---|---|
parent
|
Optional Qt parent object.
TYPE:
|
active_data_table_for_current_frame: QTableWidget
property
Return the data table for the active layer and frame.
| RETURNS | DESCRIPTION |
|---|---|
QTableWidget
|
Table for the selected detection or tracking layer; raises for an unsupported tab. |
active_tab_index: VideoDataLayerGroup
property
Return the index of the active data tab.
| RETURNS | DESCRIPTION |
|---|---|
VideoDataLayerGroup
|
Active detection or tracking tab identifier. |
get_selected_box_keys_from_active_tab: list[str]
property
Return unique box keys from the selected rows of the active table.
| RETURNS | DESCRIPTION |
|---|---|
list[str]
|
Selected box keys in table-row order, or an empty list if no selection model exists. |
selected_s_id: SessionId
property
writable
Retrieves the selected session ID from the session list.
session_selected = Signal(object)
class-attribute
instance-attribute
tab_changed = Signal(int)
class-attribute
instance-attribute
__init__(parent: QWidget | None = None) -> None
add_session_file_to_list(session_file: SessionFileListViewModel) -> None
Append one session entry with its subtitle tooltip and ID data.
| PARAMETER | DESCRIPTION |
|---|---|
session_file
|
Session details used to populate the list item.
TYPE:
|
get_all_box_keys_from_active_tab() -> list[str]
Return all box keys visible in the active data table.
| RETURNS | DESCRIPTION |
|---|---|
list[str]
|
Unique box keys in the order of their table rows. |
refresh_action_icons() -> None
Tint annotation-action icons for the current application palette.
select_session(s_id: SessionId) -> None
Select session.
| PARAMETER | DESCRIPTION |
|---|---|
s_id
|
Identifier of the target session. (SessionId).
TYPE:
|
set_data_boxes_for_tab(boxes: ListOfBoxes, tab: VideoDataLayerGroup) -> None
Updates the frame detection data table with the provided bounding boxes.
set_data_table_boxes(boxes: ListOfBoxes, data_table: QTableWidget, selected_box_keys: set[str])
staticmethod
Replace table rows with box fields and select rows matching the supplied keys.
| PARAMETER | DESCRIPTION |
|---|---|
boxes
|
Boxes whose ID, source, label, confidence, coordinates, and color are displayed.
TYPE:
|
data_table
|
Table to repopulate.
TYPE:
|
selected_box_keys
|
Box keys whose rows should remain selected.
TYPE:
|
set_tracker_data_boxes(boxes: ListOfBoxes) -> None
Populate the tracking table while preserving shared selection and focus.
| PARAMETER | DESCRIPTION |
|---|---|
boxes
|
Tracking boxes to display.
TYPE:
|
update_session_file_list(session_list: list[SessionFileListViewModel]) -> None
Replace the session list contents with the supplied session entries.
| PARAMETER | DESCRIPTION |
|---|---|
session_list
|
Session entries to display, including title and subtitle.
TYPE:
|
update_video_related_widgets_state(is_enabled: bool = False) -> None
Compatibility hook for video-control state; currently performs no updates.
| PARAMETER | DESCRIPTION |
|---|---|
is_enabled
|
Requested enabled state (currently unused).
TYPE:
|