##// END OF EJS Templates
small gui improvements
trabillard -
r1293:7c4b1f434cd6
parent child
Show More
@@ -286,10 +286,12 CatalogueEventsWidget::CatalogueEventsWidget(QWidget *parent)
286 });
286 });
287
287
288 ui->treeView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
288 ui->treeView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
289 ui->treeView->header()->setSectionResizeMode((int)CatalogueEventsModel::Column::Name,
289 ui->treeView->header()->setSectionResizeMode((int)CatalogueEventsModel::Column::Tags,
290 QHeaderView::Stretch);
290 QHeaderView::Stretch);
291 ui->treeView->header()->setSectionResizeMode((int)CatalogueEventsModel::Column::Validation,
291 ui->treeView->header()->setSectionResizeMode((int)CatalogueEventsModel::Column::Validation,
292 QHeaderView::Fixed);
292 QHeaderView::Fixed);
293 ui->treeView->header()->setSectionResizeMode((int)CatalogueEventsModel::Column::Name,
294 QHeaderView::Interactive);
293 ui->treeView->header()->resizeSection((int)CatalogueEventsModel::Column::Validation,
295 ui->treeView->header()->resizeSection((int)CatalogueEventsModel::Column::Validation,
294 VALIDATION_COLUMN_SIZE);
296 VALIDATION_COLUMN_SIZE);
295 ui->treeView->header()->setSortIndicatorShown(true);
297 ui->treeView->header()->setSortIndicatorShown(true);
@@ -182,7 +182,7 void CatalogueInspectorWidget::setEventProduct(const std::shared_ptr<DBEvent> &e
182 showPage(Page::EventProperties);
182 showPage(Page::EventProperties);
183 ui->leEventName->setEnabled(false);
183 ui->leEventName->setEnabled(false);
184 ui->leEventName->setText(event->getName());
184 ui->leEventName->setText(event->getName());
185 ui->leEventProduct->setEnabled(true);
185 ui->leEventProduct->setEnabled(false);
186 ui->leEventProduct->setText(eventProduct->getProductId());
186 ui->leEventProduct->setText(eventProduct->getProductId());
187
187
188 ui->leEventTags->setEnabled(false);
188 ui->leEventTags->setEnabled(false);
General Comments 3
Under Review
author

Auto status change to "Under Review"

Approved
author

Status change > Approved

You need to be logged in to leave comments. Login now