Further improvements to well log plot legends

This commit is contained in:
Gaute Lindkvist
2019-11-28 19:30:55 +01:00
parent 330f2ea62a
commit 5eaef4390c
4 changed files with 29 additions and 58 deletions

View File

@@ -25,9 +25,7 @@ class RiuQwtPlotLegend : public QwtLegend
public:
RiuQwtPlotLegend( QWidget* parent = nullptr );
void resizeEvent( QResizeEvent* event );
int columnCount() const;
QSize sizeHint() const override;
public slots:
void updateLegend( const QVariant&, const QList<QwtLegendData>& ) override;
@@ -35,5 +33,5 @@ signals:
void legendUpdated();
private:
mutable int m_columnCount;
int m_columnCount;
};