##// END OF EJS Templates
add TimeWidget connection
add TimeWidget connection

File last commit:

r166:765885a6f6ff
r178:274725519804
Show More
VisualizationGraphWidget.h
43 lines | 1.0 KiB | text/x-c | CLexer
/ gui / include / Visualization / VisualizationGraphWidget.h
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #ifndef SCIQLOP_VISUALIZATIONGRAPHWIDGET_H
#define SCIQLOP_VISUALIZATIONGRAPHWIDGET_H
Add the visualization gui classes
r111 #include "Visualization/IVisualizationWidget.h"
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Add the visualization gui classes
r111 #include <memory>
#include <Common/spimpl.h>
class Variable;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationGraphWidget;
} // namespace Ui
Add the visualization gui classes
r111 class VisualizationGraphWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
explicit VisualizationGraphWidget(QWidget *parent = 0);
virtual ~VisualizationGraphWidget();
Add the visualization gui classes
r111 void addVariable(std::shared_ptr<Variable> variable);
// IVisualizationWidget interface
Add const and override
r112 void accept(IVisualizationWidget *visitor) override;
void close() override;
QString name() const;
Add the visualization gui classes
r111
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationGraphWidget *ui;
Add the visualization gui classes
r111
class VisualizationGraphWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationGraphWidgetPrivate> impl;
Alexandre Leroux
Handles key modifiers for zoom...
r166
private slots:
/// Slot called when a mouse wheel was made, to perform some processing before the zoom is done
void onMouseWheel(QWheelEvent *event) noexcept;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 };
#endif // SCIQLOP_VISUALIZATIONGRAPHWIDGET_H