##// END OF EJS Templates
Merge branch 'feature/TimeWidgetInUse' into develop
Merge branch 'feature/TimeWidgetInUse' into develop

File last commit:

r166:765885a6f6ff
r180:435054a2a67e merge
Show More
VisualizationGraphWidget.h
43 lines | 1.0 KiB | text/x-c | CLexer
/ gui / include / Visualization / VisualizationGraphWidget.h
#ifndef SCIQLOP_VISUALIZATIONGRAPHWIDGET_H
#define SCIQLOP_VISUALIZATIONGRAPHWIDGET_H
#include "Visualization/IVisualizationWidget.h"
#include <QWidget>
#include <memory>
#include <Common/spimpl.h>
class Variable;
namespace Ui {
class VisualizationGraphWidget;
} // namespace Ui
class VisualizationGraphWidget : public QWidget, public IVisualizationWidget {
Q_OBJECT
public:
explicit VisualizationGraphWidget(QWidget *parent = 0);
virtual ~VisualizationGraphWidget();
void addVariable(std::shared_ptr<Variable> variable);
// IVisualizationWidget interface
void accept(IVisualizationWidget *visitor) override;
void close() override;
QString name() const;
private:
Ui::VisualizationGraphWidget *ui;
class VisualizationGraphWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationGraphWidgetPrivate> impl;
private slots:
/// Slot called when a mouse wheel was made, to perform some processing before the zoom is done
void onMouseWheel(QWheelEvent *event) noexcept;
};
#endif // SCIQLOP_VISUALIZATIONGRAPHWIDGET_H