VisualizationTabWidget.h
39 lines
| 935 B
| text/x-c
|
CLexer
r58 | #ifndef SCIQLOP_VISUALIZATIONTABWIDGET_H | |||
#define SCIQLOP_VISUALIZATIONTABWIDGET_H | ||||
r118 | #include "Visualization/IVisualizationWidget.h" | |||
r58 | #include <QWidget> | |||
r118 | class VisualizationZoneWidget; | |||
r58 | namespace Ui { | |||
class VisualizationTabWidget; | ||||
} // namespace Ui | ||||
r118 | class VisualizationTabWidget : public QWidget, public IVisualizationWidget { | |||
r58 | Q_OBJECT | |||
public: | ||||
explicit VisualizationTabWidget(QWidget *parent = 0); | ||||
virtual ~VisualizationTabWidget(); | ||||
r118 | /// 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 | ||||
r119 | void accept(IVisualizationWidget *visitor) override; | |||
void close() override; | ||||
QString name() const override; | ||||
r118 | ||||
r58 | private: | |||
Ui::VisualizationTabWidget *ui; | ||||
}; | ||||
#endif // SCIQLOP_VISUALIZATIONTABWIDGET_H | ||||