19 DAChartAxisRangeBinder(QwtPlot* source,
int sourceAxisid, QwtPlot* follower,
int followerAxisid, QObject* par =
nullptr);
21 void setSourceChart(QwtPlot* source,
int axisid);
22 QwtPlot* getSourcePlot()
const;
23 int getSourceAxis()
const;
25 void setFollowerChart(QwtPlot* follower,
int axisid);
26 QwtPlot* getFollowerPlot()
const;
27 int getFollowerAxis()
const;
33 bool isBinded()
const;
35 bool isRplotImmediately()
const;
36 void setReplotImmediately(
bool v);
41 bool isSame(QwtPlot* source,
int sourceAxisid, QwtPlot* follower,
int followerAxisid)
const;
46 void onSourcePlotScaleDivChanged();
49 bool m_isBinded {
false };
50 QPointer< QwtPlot > m_sourcePlot;
51 QPointer< QwtPlot > m_followerPlot;
52 int m_sourceAxisid { 4 };
53 int m_followerAxisid { 4 };
54 QMetaObject::Connection m_con;
55 bool m_replotImmediately {
true };