VisualizationTabWidget.h
39 lines
| 935 B
| text/x-c
|
CLexer
r58 | #ifndef SCIQLOP_VISUALIZATIONTABWIDGET_H | |||
#define SCIQLOP_VISUALIZATIONTABWIDGET_H | ||||
r111 | #include "Visualization/IVisualizationWidget.h" | |||
r58 | #include <QWidget> | |||
r111 | class VisualizationZoneWidget; | |||
r58 | namespace Ui { | |||
class VisualizationTabWidget; | ||||
} // namespace Ui | ||||
r111 | class VisualizationTabWidget : public QWidget, public IVisualizationWidget { | |||
r58 | Q_OBJECT | |||
public: | ||||
explicit VisualizationTabWidget(QWidget *parent = 0); | ||||
virtual ~VisualizationTabWidget(); | ||||
r111 | /// Add a zone widget | |||
void addZone(VisualizationZoneWidget *zoneWidget); | ||||
/// Create a zone using a Variable | ||||
VisualizationZoneWidget *createZone(); | ||||
/// Remove a zone | ||||
void removeZone(VisualizationZoneWidget *zone); | ||||
// IVisualizationWidget interface | ||||
r112 | void accept(IVisualizationWidget *visitor) override; | |||
void close() override; | ||||
QString name() const override; | ||||
r111 | ||||
r58 | private: | |||
Ui::VisualizationTabWidget *ui; | ||||
}; | ||||
#endif // SCIQLOP_VISUALIZATIONTABWIDGET_H | ||||