urclib.ui_qt.results_dlg
Logic for displaying preview results of URC analysis.
Module Contents
Classes
Dialog for displaying results of a URC calculation. |
- class urclib.ui_qt.results_dlg.ResultDlg(cg_workspace=None, pe_workspace=None, log_text='', parent=None)
Bases:
PyQt5.QtWidgets.QDialogDialog for displaying results of a URC calculation.
- Parameters:
cg_workspace (..urc_common.UrcWorkspace,optional) – Paths to Create Grid results, or None if Create Grid was not run. Defaults to None.
pe_workspace (..urc_common.UrcWorkspace,optional) – Paths to PE Score results, or None if PE Score was not run. Defaults to None.
log_text (str,optional) – Copy of log created during the processing. Defaults to an empty string.
parent (PyQt5.QtWidgets.QWidget,optional) – The parent widget, or None. Default is None.
- treeMdl
The model for the tree list view displaying the results for selection.
- Type:
.view_models.ResultTreeModel
- refresh_display(selected, deselected)
Refresh the display of results due to a selection change.
- Parameters:
selected (PyQt5.QtCore.QItemSelection) – List of indices of newly selected cells.
deselected (PyQt5.QtCore.QItemSelection) – List of indices of newly deselected cells.
- _gradient_update(linear_grad)
Update the color gradient used to display data
- Parameters:
linear_grad (PyQt5.QtGui.QLinearGradient) – The gradient to apply.
- _coord_update(x, y)
Update the coordinate display.
- Parameters:
x (float) – The x-ordinate.
y (float) – The y-ordinate.
- _coord_show_hide(visible)
Show or hide the coordinates, displaying substitute text if no coordinates are to be displayed.
- Parameters:
visible (bool) – If True, display the coordinates; otherwise, display the placeholder string.
- _all_gradient_clicked()
- _mapResized()