mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Minor issues when preparing user course
* Grid Cross Plot: Always show grouping icons with color * Grid Cross Plot: Make sure the info box text content is updated * Bump version to RC_05
This commit is contained in:
@@ -299,8 +299,8 @@ void RimGridCrossPlot::updateInfoBox()
|
||||
new RiuDraggableOverlayFrame( m_plotWidget->getParentForOverlay(), m_plotWidget->overlayMargins() );
|
||||
m_infoBox->setAnchorCorner( RiuDraggableOverlayFrame::AnchorCorner::TopRight );
|
||||
RiuTextOverlayContentFrame* textFrame = new RiuTextOverlayContentFrame( m_infoBox );
|
||||
textFrame->setText( generateInfoBoxText() );
|
||||
m_infoBox->setContentFrame( textFrame );
|
||||
m_infoBoxTextFrame = textFrame;
|
||||
}
|
||||
m_plotWidget->addOverlayFrame( m_infoBox );
|
||||
}
|
||||
@@ -314,6 +314,11 @@ void RimGridCrossPlot::updateInfoBox()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_infoBoxTextFrame )
|
||||
{
|
||||
m_infoBoxTextFrame->setText( generateInfoBoxText() );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -624,6 +629,7 @@ void RimGridCrossPlot::updateCurveNamesAndPlotTitle()
|
||||
m_plotWidget->setPlotTitleEnabled( m_showPlotTitle && !isSubPlot() );
|
||||
}
|
||||
updateMdiWindowTitle();
|
||||
updateInfoBox();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -739,6 +745,7 @@ void RimGridCrossPlot::setYAxisInverted( bool inverted )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGridCrossPlot::doUpdateLayout()
|
||||
{
|
||||
updateInfoBox();
|
||||
updateLegend();
|
||||
updatePlot();
|
||||
}
|
||||
|
||||
@@ -35,6 +35,7 @@ class RimGridCrossPlotDataSet;
|
||||
class RiuDraggableOverlayFrame;
|
||||
class RiuGridCrossQwtPlot;
|
||||
class RimPlotCurve;
|
||||
class RiuTextOverlayContentFrame;
|
||||
|
||||
class RimGridCrossPlotNameConfig : public RimNameConfig
|
||||
{
|
||||
@@ -159,6 +160,7 @@ private:
|
||||
|
||||
caf::PdmChildArrayField<RimGridCrossPlotDataSet*> m_crossPlotDataSets;
|
||||
|
||||
QPointer<RiuGridCrossQwtPlot> m_plotWidget;
|
||||
QPointer<RiuDraggableOverlayFrame> m_infoBox;
|
||||
QPointer<RiuGridCrossQwtPlot> m_plotWidget;
|
||||
QPointer<RiuDraggableOverlayFrame> m_infoBox;
|
||||
QPointer<RiuTextOverlayContentFrame> m_infoBoxTextFrame;
|
||||
};
|
||||
|
||||
@@ -1093,7 +1093,6 @@ void RimGridCrossPlotDataSet::updateLegendIcons()
|
||||
for ( auto curve : m_crossPlotCurves )
|
||||
{
|
||||
curve->determineLegendIcon();
|
||||
curve->setBlackAndWhiteLegendIcons( groupingEnabled() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ set(RESINSIGHT_PATCH_VERSION 1)
|
||||
|
||||
# Opional text with no restrictions
|
||||
#set(RESINSIGHT_VERSION_TEXT "-dev")
|
||||
set(RESINSIGHT_VERSION_TEXT "-RC_04")
|
||||
set(RESINSIGHT_VERSION_TEXT "-RC_05")
|
||||
|
||||
# Optional text
|
||||
# Must be unique and increasing within one combination of major/minor/patch version
|
||||
|
||||
Reference in New Issue
Block a user