##// END OF EJS Templates
Implements "Variable creation" operation (1)...
Implements "Variable creation" operation (1) Defines properties that will be necessary for the operation: - the provider attached to the variable created - the metadata attached to the variable created

File last commit:

r1180:938a31670f5f
r1207:f9a3c30f94e2
Show More
CatalogueSideBarWidget.h
43 lines | 1.1 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 setCatalogueChanges(const std::shared_ptr<DBCatalogue> &catalogue, bool hasChanges);
private:
Ui::CatalogueSideBarWidget *ui;
class CatalogueSideBarWidgetPrivate;
spimpl::unique_impl_ptr<CatalogueSideBarWidgetPrivate> impl;
private slots:
void onContextMenuRequested(const QPoint &pos);
};
#endif // SCIQLOP_CATALOGUESIDEBARWIDGET_H