ResidualDataModel

(class from pyomo.contrib.viewer.residual_table)

class pyomo.contrib.viewer.residual_table.ResidualDataModel(parent, ui_data)[source]

Bases: QAbstractTableModel

__init__(parent, ui_data)[source]

Methods

__init__(parent, ui_data)

columnCount([parent])

data([index, role])

headerData(i, orientation[, role])

Return the column headings for the horizontal header and index numbers for the vertical header.

rowCount([parent])

sort()

update_model()

Member Documentation

headerData(i, orientation, role=ItemDataRole.DisplayRole)[source]

Return the column headings for the horizontal header and index numbers for the vertical header.