##// END OF EJS Templates
Adds a name for a tab...
Adds a name for a tab - The name is displayed in the tab - It will also be used to be displayed in menus related to a variable

File last commit:

r198:2c59e95cf3ce
r198:2c59e95cf3ce
Show More
VisualizationTabWidget.h
44 lines | 1.1 KiB | text/x-c | CLexer
/ gui / include / Visualization / VisualizationTabWidget.h
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #ifndef SCIQLOP_VISUALIZATIONTABWIDGET_H
#define SCIQLOP_VISUALIZATIONTABWIDGET_H
Add the visualization gui classes
r118 #include "Visualization/IVisualizationWidget.h"
Alexandre Leroux
Adds a name for a tab...
r198 #include <Common/spimpl.h>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Add the visualization gui classes
r118 class VisualizationZoneWidget;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationTabWidget;
} // namespace Ui
Add the visualization gui classes
r118 class VisualizationTabWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
Alexandre Leroux
Adds a name for a tab...
r198 explicit VisualizationTabWidget(const QString &name = {}, QWidget *parent = 0);
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 virtual ~VisualizationTabWidget();
Add the visualization gui classes
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
Add const and override
r119 void accept(IVisualizationWidget *visitor) override;
void close() override;
QString name() const override;
Add the visualization gui classes
r118
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationTabWidget *ui;
Alexandre Leroux
Adds a name for a tab...
r198
class VisualizationTabWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationTabWidgetPrivate> impl;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 };
#endif // SCIQLOP_VISUALIZATIONTABWIDGET_H