15 #ifndef BORNAGAIN_GUI_VIEW_JOB_JOBLISTVIEW_H
16 #define BORNAGAIN_GUI_VIEW_JOB_JOBLISTVIEW_H
34 JobListView(
JobModel* jobs, QWidget* parent =
nullptr, Qt::WindowFlags f = Qt::WindowFlags());
ViewDelegate to show progress bar JobQueuListView.
List of jobs on the top left side of JobView.
void equalizeSelectedToJob(JobItem *job)
void onJobListModelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
void onItemSelectionChanged()
QVector< JobItem * > selectedJobs() const
JobListViewDelegate * m_listViewDelegate
void ensureItemSelected()
JobListView(JobModel *jobs, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
void selectedJobsChanged(const QVector< JobItem * > &jobs)
void showContextMenu(const QPoint &pos)
void selectJob(JobItem *job)