mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixes by clang-tidy
This commit is contained in:
@@ -28,7 +28,7 @@ class RiuAbstractOverlayContentFrame : public QFrame
|
||||
Q_OBJECT
|
||||
public:
|
||||
RiuAbstractOverlayContentFrame( QWidget* parent = nullptr );
|
||||
~RiuAbstractOverlayContentFrame();
|
||||
~RiuAbstractOverlayContentFrame() override;
|
||||
|
||||
virtual void renderTo( QPainter* painter, const QRect& targetRect ) = 0;
|
||||
};
|
||||
|
||||
@@ -37,7 +37,7 @@ class RiuCategoryLegendFrame : public RiuAbstractLegendFrame
|
||||
|
||||
public:
|
||||
RiuCategoryLegendFrame( QWidget* parent, const QString& title, caf::CategoryMapper* categoryMapper );
|
||||
~RiuCategoryLegendFrame();
|
||||
~RiuCategoryLegendFrame() override;
|
||||
|
||||
private:
|
||||
void layoutInfo( LayoutInfo* layout ) const override;
|
||||
|
||||
@@ -52,7 +52,7 @@ class RiuGridCrossQwtPlot : public RiuQwtPlotWidget
|
||||
|
||||
public:
|
||||
RiuGridCrossQwtPlot( RimGridCrossPlot* crossPlot, QWidget* parent = nullptr );
|
||||
~RiuGridCrossQwtPlot();
|
||||
~RiuGridCrossQwtPlot() override;
|
||||
|
||||
RiuGridCrossQwtPlot( const RiuGridCrossQwtPlot& ) = delete;
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ class RiuMainWindow : public RiuMainWindowBase
|
||||
|
||||
public:
|
||||
RiuMainWindow();
|
||||
~RiuMainWindow();
|
||||
~RiuMainWindow() override;
|
||||
|
||||
static RiuMainWindow* instance();
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ protected:
|
||||
|
||||
std::pair<int, int> rowAndColumnCount( int plotWidgetCount ) const;
|
||||
|
||||
virtual void onSelectionManagerSelectionChanged( const std::set<int>& changedSelectionLevels ) override;
|
||||
void onSelectionManagerSelectionChanged( const std::set<int>& changedSelectionLevels ) override;
|
||||
|
||||
virtual bool showYAxis( int row, int column ) const;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class RiuPlotMainWindow : public RiuMainWindowBase
|
||||
|
||||
public:
|
||||
RiuPlotMainWindow();
|
||||
~RiuPlotMainWindow();
|
||||
~RiuPlotMainWindow() override;
|
||||
|
||||
QString mainWindowName() override;
|
||||
|
||||
|
||||
@@ -27,5 +27,5 @@ public:
|
||||
QssSyntaxHighligter( QTextDocument* parent );
|
||||
|
||||
protected:
|
||||
virtual void highlightBlock( const QString& text );
|
||||
void highlightBlock( const QString& text ) override;
|
||||
};
|
||||
|
||||
@@ -33,7 +33,7 @@ class RiuQtChartView : public QtCharts::QChartView, public RiuInterfaceToViewWin
|
||||
{
|
||||
public:
|
||||
RiuQtChartView( RimPlotWindow* plotWindow, QWidget* parent = nullptr );
|
||||
virtual ~RiuQtChartView();
|
||||
~RiuQtChartView() override;
|
||||
|
||||
RimViewWindow* ownerViewWindow() const override;
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
public:
|
||||
RiuScalarMapperLegendFrame( QWidget* parent, const QString& title, cvf::ScalarMapper* scalarMapper );
|
||||
~RiuScalarMapperLegendFrame();
|
||||
~RiuScalarMapperLegendFrame() override;
|
||||
|
||||
void setTickPrecision( int precision );
|
||||
void setTickFormat( NumberFormat format );
|
||||
|
||||
@@ -26,7 +26,7 @@ class TextEditWithCompletion : public QTextEdit
|
||||
Q_OBJECT
|
||||
public:
|
||||
TextEditWithCompletion( QWidget* parent = nullptr );
|
||||
~TextEditWithCompletion();
|
||||
~TextEditWithCompletion() override;
|
||||
|
||||
void setCompleter( QCompleter* completer );
|
||||
QCompleter* completer();
|
||||
|
||||
Reference in New Issue
Block a user