ark::logging::OffloadTableModel

Defined in header “ark/logging/gui/offload_table_model.hh”.


This classes visualizes offload information as a table model.

Typedefs

  • using Columns =
    Available columns.

Methods

  • OffloadTableModel(QObject * parent)
    Constructor.

  • ~OffloadTableModel()
    Destructor.

  • int rowCount(const QModelIndex & parent)

  • int columnCount(const QModelIndex & parent)

  • QVariant data(const QModelIndex & index, int role)

  • QVariant headerData(int section, Qt::Orientation orientation, int role)

  • void set_data(std::shared_ptr< const OffloadStatusList > report)
    Called from the main plugin to set the data that needs to be visualized.

  • bool change_row_selection(int row)
    Call to either check (or uncheck) a row.

  • void invert_selection()
    Inverts all of the selected logs.

  • std::vector< core::Guid > selected_logs()
    Returns the list of selected logs.