##// END OF EJS Templates
Manage inspector with multiple events selected
Manage inspector with multiple events selected

File last commit:

r1162:9abcd350a712
r1164:af544061861d
Show More
CatalogueInspectorWidget.h
35 lines | 796 B | text/x-c | CLexer
/ gui / include / Catalogue / CatalogueInspectorWidget.h
Inspector
r1134 #ifndef SCIQLOP_CATALOGUEINSPECTORWIDGET_H
#define SCIQLOP_CATALOGUEINSPECTORWIDGET_H
Sub widget classes
r1130
#include <QWidget>
namespace Ui {
class CatalogueInspectorWidget;
}
Display catalogues and events with CatalogueAPI
r1162 class DBCatalogue;
class DBEvent;
Sub widget classes
r1130 class CatalogueInspectorWidget : public QWidget {
Q_OBJECT
public:
explicit CatalogueInspectorWidget(QWidget *parent = 0);
Inspector
r1134 virtual ~CatalogueInspectorWidget();
/// Enum matching the pages inside the stacked widget
enum class Page { Empty, CatalogueProperties, EventProperties };
Page currentPage() const;
Display catalogues and events with CatalogueAPI
r1162 void setEvent(const DBEvent &event);
void setCatalogue(const DBCatalogue &catalogue);
Skeleton to fill the inspector with the selection
r1140
Inspector
r1134 public slots:
void showPage(Page page);
Sub widget classes
r1130
private:
Ui::CatalogueInspectorWidget *ui;
};
Inspector
r1134 #endif // SCIQLOP_CATALOGUEINSPECTORWIDGET_H