##// END OF EJS Templates
Events sorting
Events sorting

File last commit:

r1138:dbebdcd0984a
r1139:f5866d36a0ad
Show More
CatalogueExplorer.cpp
22 lines | 777 B | text/x-c | CppLexer
/ gui / src / Catalogue / CatalogueExplorer.cpp
Adds the new CatalogueExplorer dialog
r1128 #include "Catalogue/CatalogueExplorer.h"
#include "ui_CatalogueExplorer.h"
CatalogueExplorer::CatalogueExplorer(QWidget *parent)
Fix window flags of the catalogue gui
r1135 : QDialog(parent, Qt::Dialog | Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint),
ui(new Ui::CatalogueExplorer)
Adds the new CatalogueExplorer dialog
r1128 {
ui->setupUi(this);
Basic interactions
r1138
connect(ui->catalogues, &CatalogueSideBarWidget::catalogueSelected, [this](auto name) {
ui->inspector->showPage(CatalogueInspectorWidget::Page::CatalogueProperties);
ui->events->populateWithCatalogue(name);
});
connect(ui->events, &CatalogueEventsWidget::eventSelected,
[this]() { ui->inspector->showPage(CatalogueInspectorWidget::Page::EventProperties); });
Adds the new CatalogueExplorer dialog
r1128 }
CatalogueExplorer::~CatalogueExplorer()
{
delete ui;
}