##// END OF EJS Templates
Corrects the problem of refreshing synchronized graphs from TimeWidget (1)...
Corrects the problem of refreshing synchronized graphs from TimeWidget (1) Introduces graph flags to set options for the widget

File last commit:

r1286:073d4af7c849
r1325:87a145505c37
Show More
CatalogueSideBarWidget.h
46 lines | 1.3 KiB | text/x-c | CLexer
/ gui / include / Catalogue / CatalogueSideBarWidget.h
#ifndef SCIQLOP_CATALOGUESIDEBARWIDGET_H
#define SCIQLOP_CATALOGUESIDEBARWIDGET_H
#include <Common/spimpl.h>
#include <QLoggingCategory>
#include <QTreeWidgetItem>
#include <QWidget>
class DBCatalogue;
namespace Ui {
class CatalogueSideBarWidget;
}
Q_DECLARE_LOGGING_CATEGORY(LOG_CatalogueSideBarWidget)
class CatalogueSideBarWidget : public QWidget {
Q_OBJECT
signals:
void catalogueSelected(const QVector<std::shared_ptr<DBCatalogue> > &catalogues);
void databaseSelected(const QStringList &databases);
void allEventsSelected();
void trashSelected();
void selectionCleared();
public:
explicit CatalogueSideBarWidget(QWidget *parent = 0);
virtual ~CatalogueSideBarWidget();
void addCatalogue(const std::shared_ptr<DBCatalogue> &catalogue, const QString &repository);
void setCatalogueChanges(const std::shared_ptr<DBCatalogue> &catalogue, bool hasChanges);
QVector<std::shared_ptr<DBCatalogue> > getCatalogues(const QString &repository) const;
private:
Ui::CatalogueSideBarWidget *ui;
class CatalogueSideBarWidgetPrivate;
spimpl::unique_impl_ptr<CatalogueSideBarWidgetPrivate> impl;
private slots:
void onContextMenuRequested(const QPoint &pos);
};
#endif // SCIQLOP_CATALOGUESIDEBARWIDGET_H