CatalogueEventsWidget.h
34 lines
| 737 B
| text/x-c
|
CLexer
r1136 | #ifndef SCIQLOP_CATALOGUEEVENTSWIDGET_H | |||
#define SCIQLOP_CATALOGUEEVENTSWIDGET_H | ||||
r1130 | ||||
r1136 | #include <Common/spimpl.h> | |||
r1130 | #include <QWidget> | |||
r1162 | class DBCatalogue; | |||
class DBEvent; | ||||
r1130 | namespace Ui { | |||
class CatalogueEventsWidget; | ||||
} | ||||
class CatalogueEventsWidget : public QWidget { | ||||
Q_OBJECT | ||||
r1138 | signals: | |||
r1162 | void eventSelected(const DBEvent &event); | |||
r1138 | ||||
r1130 | public: | |||
explicit CatalogueEventsWidget(QWidget *parent = 0); | ||||
r1136 | virtual ~CatalogueEventsWidget(); | |||
r1130 | ||||
r1138 | public slots: | |||
r1162 | void populateWithCatalogue(const DBCatalogue &catalogue); | |||
r1138 | ||||
r1130 | private: | |||
Ui::CatalogueEventsWidget *ui; | ||||
r1136 | ||||
class CatalogueEventsWidgetPrivate; | ||||
spimpl::unique_impl_ptr<CatalogueEventsWidgetPrivate> impl; | ||||
r1130 | }; | |||
r1136 | #endif // SCIQLOP_CATALOGUEEVENTSWIDGET_H | |||