##// END OF EJS Templates
Adds the ability to force an acquisition pending for an operation (1)...
Adds the ability to force an acquisition pending for an operation (1) Creates struct that contains operation properties: - its weight - the flag to force acquisition waiting

File last commit:

r1180:938a31670f5f
r1249:b9a47ff1b9cc
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