##// END OF EJS Templates
Replaces QString unit by a new struct...
Replaces QString unit by a new struct The Unit struct contains a flag that indicates if it's a time unit or not. It will be used to set the correct ticker for axes on a graph (default ticker or datetime ticker)

File last commit:

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