CatalogueInspectorWidget.h
29 lines
| 660 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; | ||||
public slots: | ||||
void showPage(Page page); | ||||
r1095 | ||||
private: | ||||
Ui::CatalogueInspectorWidget *ui; | ||||
}; | ||||
r1099 | #endif // SCIQLOP_CATALOGUEINSPECTORWIDGET_H | |||