mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -36,9 +36,7 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RiuQwtCurvePointTracker::RiuQwtCurvePointTracker( QwtPlot* plot,
|
||||
bool isMainAxisHorizontal,
|
||||
RiuPlotCurveInfoTextProvider* curveInfoTextProvider )
|
||||
RiuQwtCurvePointTracker::RiuQwtCurvePointTracker( QwtPlot* plot, bool isMainAxisHorizontal, RiuPlotCurveInfoTextProvider* curveInfoTextProvider )
|
||||
: QwtPlotPicker( plot->canvas() )
|
||||
, m_plot( plot )
|
||||
, m_isMainAxisHorizontal( isMainAxisHorizontal )
|
||||
@@ -222,8 +220,8 @@ QPointF RiuQwtCurvePointTracker::closestCurvePoint( const QPoint& cursorPosition
|
||||
|
||||
if ( m_curveInfoTextProvider )
|
||||
{
|
||||
auto additionalText = m_curveInfoTextProvider->additionalText( dynamic_cast<RiuPlotCurve*>( closestCurve ),
|
||||
closestPointSampleIndex );
|
||||
auto additionalText =
|
||||
m_curveInfoTextProvider->additionalText( dynamic_cast<RiuPlotCurve*>( closestCurve ), closestPointSampleIndex );
|
||||
|
||||
if ( !additionalText.isEmpty() )
|
||||
{
|
||||
@@ -239,9 +237,7 @@ QPointF RiuQwtCurvePointTracker::closestCurvePoint( const QPoint& cursorPosition
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuQwtCurvePointTracker::updateClosestCurvePointMarker( const QPointF& closestPoint,
|
||||
QwtAxisId relatedXAxis,
|
||||
QwtAxisId relatedYAxis ) const
|
||||
void RiuQwtCurvePointTracker::updateClosestCurvePointMarker( const QPointF& closestPoint, QwtAxisId relatedXAxis, QwtAxisId relatedYAxis ) const
|
||||
{
|
||||
bool replotRequired = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user