Added first project implementation
This commit is contained in:
19
InteractiveChartView.h
Normal file
19
InteractiveChartView.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef INTERACTIVECHARTVIEW_H
|
||||
#define INTERACTIVECHARTVIEW_H
|
||||
|
||||
#include <QChartView>
|
||||
|
||||
class InteractiveChartView : public QtCharts::QChartView
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
using QChartView::QChartView;
|
||||
|
||||
protected:
|
||||
void wheelEvent(QWheelEvent* event) override;
|
||||
|
||||
private:
|
||||
qreal factor = 1.0;
|
||||
};
|
||||
|
||||
#endif // INTERACTIVECHARTVIEW_H
|
||||
Reference in New Issue
Block a user