CatalogueSideBarWidget.h
35 lines
| 853 B
| text/x-c
|
CLexer
r1133 | #ifndef SCIQLOP_CATALOGUESIDEBARWIDGET_H | |||
#define SCIQLOP_CATALOGUESIDEBARWIDGET_H | ||||
r1130 | ||||
r1133 | #include <Common/spimpl.h> | |||
r1138 | #include <QTreeWidgetItem> | |||
r1130 | #include <QWidget> | |||
r1162 | #include <DBCatalogue.h> | |||
r1130 | namespace Ui { | |||
class CatalogueSideBarWidget; | ||||
} | ||||
class CatalogueSideBarWidget : public QWidget { | ||||
Q_OBJECT | ||||
r1138 | signals: | |||
r1165 | void catalogueSelected(const QVector<DBCatalogue> &catalogues); | |||
void databaseSelected(const QStringList &databases); | ||||
r1138 | void allEventsSelected(); | |||
void trashSelected(); | ||||
r1165 | void selectionCleared(); | |||
r1138 | ||||
r1130 | public: | |||
explicit CatalogueSideBarWidget(QWidget *parent = 0); | ||||
r1133 | virtual ~CatalogueSideBarWidget(); | |||
r1130 | ||||
private: | ||||
Ui::CatalogueSideBarWidget *ui; | ||||
r1133 | ||||
class CatalogueSideBarWidgetPrivate; | ||||
spimpl::unique_impl_ptr<CatalogueSideBarWidgetPrivate> impl; | ||||
r1130 | }; | |||
r1133 | #endif // SCIQLOP_CATALOGUESIDEBARWIDGET_H | |||