mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Summary Multiplot subplot colspan issue (#8805)
Fix colspan bug for summary multiplots
This commit is contained in:
@@ -90,6 +90,11 @@ public:
|
||||
QSize minimumSizeHint() const override;
|
||||
int heightForWidth( int width ) const override;
|
||||
|
||||
std::pair<int, int> findAvailableRowAndColumn( int startRow, int startColumn, int columnSpan, int columnCount ) const;
|
||||
|
||||
public slots:
|
||||
virtual void performUpdate( RiaDefines::MultiPlotPageUpdateType whatToUpdate );
|
||||
|
||||
protected:
|
||||
void contextMenuEvent( QContextMenuEvent* ) override;
|
||||
QLabel* createTitleLabel() const;
|
||||
@@ -117,17 +122,12 @@ protected:
|
||||
QList<QPointer<RiuQwtPlotLegend>> legendsForVisiblePlots() const;
|
||||
QList<QPointer<QLabel>> subTitlesForVisiblePlots() const;
|
||||
|
||||
std::pair<int, int> findAvailableRowAndColumn( int startRow, int startColumn, int columnSpan, int columnCount ) const;
|
||||
|
||||
void applyLook();
|
||||
|
||||
private slots:
|
||||
virtual void performUpdate( RiaDefines::MultiPlotPageUpdateType whatToUpdate );
|
||||
void onLegendUpdated();
|
||||
void onLegendUpdated();
|
||||
|
||||
protected:
|
||||
friend class RiuMultiPlotBook;
|
||||
|
||||
QPointer<QVBoxLayout> m_layout;
|
||||
QPointer<QHBoxLayout> m_plotLayout;
|
||||
QPointer<QFrame> m_plotWidgetFrame;
|
||||
|
||||
Reference in New Issue
Block a user