DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
SchedulerJobAdapter Class Reference

#include <schedulerjobadapter.h>

Inheritance diagram for SchedulerJobAdapter:

Public Member Functions

 SchedulerJobAdapter (SchedulerJob &sj, QObject *parent=0)
 
void addSimulationRun (const SimulationRun &data)
 
void refresh ()
 
int rowCount (const QModelIndex &parent) const override
 
int columnCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
bool setData (const QModelIndex &index, const QVariant &value, int role) override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QModelIndex index (int row, int column, const QModelIndex &parent) const override
 
bool insertRows (int row, int count, const QModelIndex &parent) override
 
bool removeRows (int row, int count, const QModelIndex &parent) override
 
bool removeRows (std::vector< int > rows, const QModelIndex &parent)
 
QModelIndex parent (const QModelIndex &child) const override
 

Constructor & Destructor Documentation

◆ SchedulerJobAdapter()

SchedulerJobAdapter::SchedulerJobAdapter ( SchedulerJob sj,
QObject *  parent = 0 
)
explicit

Member Function Documentation

◆ addSimulationRun()

void SchedulerJobAdapter::addSimulationRun ( const SimulationRun data)

◆ columnCount()

int SchedulerJobAdapter::columnCount ( const QModelIndex &  parent) const
override

◆ data()

QVariant SchedulerJobAdapter::data ( const QModelIndex &  index,
int  role 
) const
override

◆ flags()

Qt::ItemFlags SchedulerJobAdapter::flags ( const QModelIndex &  index) const
override

◆ headerData()

QVariant SchedulerJobAdapter::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const
override

◆ index()

QModelIndex SchedulerJobAdapter::index ( int  row,
int  column,
const QModelIndex &  parent 
) const
override

◆ insertRows()

bool SchedulerJobAdapter::insertRows ( int  row,
int  count,
const QModelIndex &  parent 
)
override

◆ parent()

QModelIndex SchedulerJobAdapter::parent ( const QModelIndex &  child) const
override

◆ refresh()

void SchedulerJobAdapter::refresh ( )

◆ removeRows() [1/2]

bool SchedulerJobAdapter::removeRows ( int  row,
int  count,
const QModelIndex &  parent 
)
override

◆ removeRows() [2/2]

bool SchedulerJobAdapter::removeRows ( std::vector< int >  rows,
const QModelIndex &  parent 
)

◆ rowCount()

int SchedulerJobAdapter::rowCount ( const QModelIndex &  parent) const
override

◆ setData()

bool SchedulerJobAdapter::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
)
override

The documentation for this class was generated from the following files: