#9209 Refactor RiuMultiPlotPage/RiuSummaryMultiPlotPage plot reinsertion.

This commit is contained in:
Kristian Bendiksen
2022-08-19 10:05:50 +02:00
parent b6973a3644
commit 8eab80f446
3 changed files with 189 additions and 151 deletions

View File

@@ -122,6 +122,32 @@ protected:
virtual void reinsertPlotWidgets();
virtual void refreshLegends();
void addLegendWidget( RiuPlotWidget* plotWidget,
RiuQwtPlotLegend* legend,
RiuDraggableOverlayFrame* legendFrame,
int row,
int column,
int colSpan );
void reinsertPlotWidget( RiuPlotWidget* plotWidget,
RiuQwtPlotLegend* legend,
RiuDraggableOverlayFrame* legendFrame,
QLabel* subTitle,
int row,
int column,
int rowSpan,
int colSpan );
void updateSubTitleVisibility( QLabel* subTitle );
void setDefaultAxisProperties( RiuPlotWidget* plotWidget, int row, int column );
void adjustHeadingSpacing( RiuPlotWidget* plotWidget );
void setRowAndColumnStretches( int row, int column, int rowSpan, int colSpan );
void updateLegendVisibility( RiuPlotWidget* plotWidget, RiuQwtPlotLegend* legend, RiuDraggableOverlayFrame* legendFrame );
void updateTitleFont();
int alignCanvasTops();