mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 14:40:26 -05:00
More robust legend rendering in Well Log Plots
This commit is contained in:
1 parent
01be3f3c74
commit
c6bb4414c5
4 files changed
+63
-9
No files matched your search
@@ -24,8 +24,15 @@ class RiuQwtPlotLegend : public QwtLegend
|
||||
Q_OBJECT
|
||||
public:
|
||||
RiuQwtPlotLegend( QWidget* parent = nullptr );
|
||||
void resizeEvent( QResizeEvent* event );
|
||||
int columnCount() const;
|
||||
void resizeEvent( QResizeEvent* event );
|
||||
int columnCount() const;
|
||||
QSize sizeHint() const override;
|
||||
|
||||
public slots:
|
||||
void updateLegend( const QVariant&, const QList<QwtLegendData>& ) override;
|
||||
|
||||
signals:
|
||||
void legendUpdated();
|
||||
|
||||
private:
|
||||
mutable int m_columnCount;
|
||||
|
||||
Reference in new issue
Block a user