##// END OF EJS Templates
CatalogueController: add few basic methods + commit the one not yet implemented
CatalogueController: add few basic methods + commit the one not yet implemented

File last commit:

r1105:342312d662e7
r1128:043d6b3a4bf6
Show More
CatalogueInspectorWidget.h
32 lines | 754 B | text/x-c | CLexer
/ gui / include / Catalogue / CatalogueInspectorWidget.h
#ifndef SCIQLOP_CATALOGUEINSPECTORWIDGET_H
#define SCIQLOP_CATALOGUEINSPECTORWIDGET_H
#include <QWidget>
namespace Ui {
class CatalogueInspectorWidget;
}
class CatalogueInspectorWidget : public QWidget {
Q_OBJECT
public:
explicit CatalogueInspectorWidget(QWidget *parent = 0);
virtual ~CatalogueInspectorWidget();
/// Enum matching the pages inside the stacked widget
enum class Page { Empty, CatalogueProperties, EventProperties };
Page currentPage() const;
void setEvent(const QString &event);
void setCatalogue(const QString &catalogue);
public slots:
void showPage(Page page);
private:
Ui::CatalogueInspectorWidget *ui;
};
#endif // SCIQLOP_CATALOGUEINSPECTORWIDGET_H