tik_manager4.ui.dialog.info_dialog
Generic dialog to display information from a dictionary.
- Example usage:
from tik_manager4.ui.dialog.info_dialog import InfoDialog InfoDialog.show_info(data=example_data, title=”Asset Details”)
Classes
A generic dialog to display key-value information from a dictionary. |
Module Contents
- class InfoDialog(data=None, title='Information', parent=None)
Bases:
tik_manager4.ui.Qt.QtWidgets.QDialogA generic dialog to display key-value information from a dictionary.
- set_data(data)
Populates the dialog with data from a dictionary.
- Args:
data (dict): A flat dictionary containing the data to display.
- static show_info(data, title='Information', parent=None)
Static method to quickly show an info dialog.