21 #include <QItemSelectionModel>
23 #include <QVBoxLayout>
31 setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
36 auto mainLayout =
new QVBoxLayout;
37 mainLayout->setMargin(0);
38 mainLayout->setSpacing(0);
40 auto vlayout =
new QVBoxLayout;
41 vlayout->setMargin(10);
42 vlayout->setSpacing(10);
45 mainLayout->addLayout(vlayout);
47 setLayout(mainLayout);
99 if (selected.size() == 1 && selected.at(0) == jobItem->
index()) {
115 jobItem =
dynamic_cast<JobItem*
>(item);
#define ASSERT(condition)
Defines class JobListViewDelegate.
DefinesStyleUtils namespace.
ViewDelegate to show progress bar JobQueuListView.
void cancelButtonClicked(const QModelIndex &index)
const JobItem * getJobItemForIndex(const QModelIndex &index) const
void cancelJob(const QModelIndex &index)
QModelIndex index() const
Returns model index of this item.
int PropertyPanelWidth()
Returns typical width of the vertical property panel.