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

File last commit:

r481:0277630b5c10
r493:a774a1678512 merge
Show More
VisualizationGraphWidget.h
84 lines | 2.7 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
r118 #include "Visualization/IVisualizationWidget.h"
Alexandre Leroux
Adds logs for null visitors
r219 #include <QLoggingCategory>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Add the visualization gui classes
r118 #include <memory>
#include <Common/spimpl.h>
Alexandre Leroux
Adds logs for null visitors
r219 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationGraphWidget)
Alexandre Leroux
QCustomPlot notify the graph widget when the xRange changed
r227 class QCPRange;
Fix the cosinus bug....
r298 class SqpDateTime;
Add the visualization gui classes
r118 class Variable;
Add synchronization that keep delta
r444 /**
* Possible types of zoom operation
*/
enum class VisualizationGraphWidgetZoomType { ZoomOut, ZoomIn, PanRight, PanLeft, Unknown };
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationGraphWidget;
} // namespace Ui
Add the visualization gui classes
r118 class VisualizationGraphWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
Alexandre Leroux
Fixes reference
r205 explicit VisualizationGraphWidget(const QString &name = {}, QWidget *parent = 0);
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 virtual ~VisualizationGraphWidget();
Add synchronization that keep delta
r444 void enableSynchronize(bool enable);
Add the visualization gui classes
r118 void addVariable(std::shared_ptr<Variable> variable);
variable time is now set to range graphe displayed when it is displayed...
r314 void addVariableUsingGraph(std::shared_ptr<Variable> variable);
Alexandre Leroux
Remove variable from graph (2)...
r270 /// Removes a variable from the graph
void removeVariable(std::shared_ptr<Variable> variable) noexcept;
Add the visualization gui classes
r118
Add connection logical for the rescale operation
r437 void setRange(std::shared_ptr<Variable> variable, const SqpDateTime &range);
Correction for MR
r447 SqpDateTime graphRange() const noexcept;
Add synchronization that keep delta
r444 void setGraphRange(const SqpDateTime &range);
Add connection logical for the rescale operation
r437
Add the visualization gui classes
r118 // IVisualizationWidget interface
Alexandre Leroux
Updates visitor interface...
r207 void accept(IVisualizationWidgetVisitor *visitor) override;
Alexandre Leroux
Creates a interface that defines a variable container...
r209 bool canDrop(const Variable &variable) const override;
Alexandre Leroux
Unplot menu (5): adds contains() method to an IVariableContainer...
r327 bool contains(const Variable &variable) const override;
Alexandre Leroux
Adds override keywor
r218 QString name() const override;
Add the visualization gui classes
r118
Add synchronization that keep delta
r444
Fix the cosinus bug....
r298 signals:
void requestDataLoading(std::shared_ptr<Variable> variable, const SqpDateTime &dateTime);
Add synchronization that keep delta
r444 void synchronize(const SqpDateTime &dateTime, const SqpDateTime &oldDateTime,
VisualizationGraphWidgetZoomType zoomType);
Fix the cosinus bug....
r298
The mock plugin can now create data with view operation
r235
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationGraphWidget *ui;
Add the visualization gui classes
r118
class VisualizationGraphWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationGraphWidgetPrivate> impl;
Alexandre Leroux
Handles key modifiers for zoom...
r179
private slots:
Alexandre Leroux
Remove variable from graph (1)...
r269 /// Slot called when right clicking on the graph (displays a menu)
void onGraphMenuRequested(const QPoint &pos) noexcept;
Alexandre Leroux
QCustomPlot notify the graph widget when the xRange changed
r227
Add synchronization that keep delta
r444 /// Rescale the X axe to range parameter
void onRangeChanged(const QCPRange &t1, const QCPRange &t2);
Alexandre Leroux
QCustomPlot notify the graph widget when the xRange changed
r227
Alexandre Leroux
Creates method that will display a tooltip and a tracer with data point information after a while
r481 /// Slot called when a mouse move was made
void onMouseMove(QMouseEvent *event) noexcept;
Alexandre Leroux
Handles key modifiers for zoom...
r179 /// Slot called when a mouse wheel was made, to perform some processing before the zoom is done
void onMouseWheel(QWheelEvent *event) noexcept;
Implementation of the calibration for the synchronization...
r445 /// Slot called when a mouse press was made, to activate the calibration of a graph
void onMousePress(QMouseEvent *event) noexcept;
/// Slot called when a mouse release was made, to deactivate the calibration of a graph
void onMouseRelease(QMouseEvent *event) noexcept;
The mock plugin can now create data with view operation
r235
void onDataCacheVariableUpdated();
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 };
#endif // SCIQLOP_VISUALIZATIONGRAPHWIDGET_H