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