mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Maintenance issues
* Improve toggling of checked state of sub items Toggling state is only supported for objects in an array. For example, this will ensure that faults are toggled without altering the fault result object. * Use gray instead of black for icons * #9719 Use delete instead of deleteLater to avoid visual artifacts Artifacts are seen in the Property Editor related to obsolete group boxes. This seems to be related to deleteLater(). * Improve text in menu when toggling sub items * #10011 Make sure all grid cases are visible in RFT data source * #10354 Show more info when hovering on curves in summary plot * #10355 Copy model text info in 3D view to clipboard * Make sure cell filter option is propagated to new field Make sure the previous value of m_showFaultsOutsideFilters_obsolete is propagated into m_applyCellFilters * Fix wrong spelling when using of stylesheet color
This commit is contained in:
@@ -1156,8 +1156,8 @@ void RiuQwtPlotWidget::resetPlotAxisHighlighting()
|
||||
QwtAxis::Position::XBottom };
|
||||
|
||||
// Use text color from theme
|
||||
QColor textColor = RiuGuiTheme::getColorByVariableName( "text-color" );
|
||||
QString style = QString( "color: rgb(%1, %2, %3);" ).arg( textColor.red() ).arg( textColor.green() ).arg( textColor.blue() );
|
||||
QColor textColor = RiuGuiTheme::getColorByVariableName( "textColor" );
|
||||
QString style = QString( "color: %1;" ).arg( textColor.name() );
|
||||
|
||||
for ( auto pos : axisPositions )
|
||||
{
|
||||
@@ -1216,7 +1216,11 @@ void RiuQwtPlotWidget::highlightPlotAxes( QwtAxisId axisIdX, QwtAxisId axisIdY )
|
||||
if ( axisId != axisIdX && axisId != axisIdY )
|
||||
{
|
||||
auto axisWidget = m_plot->axisWidget( axisId );
|
||||
axisWidget->setStyleSheet( "color: #D9D9D9" );
|
||||
|
||||
auto color = RiuGuiTheme::getColorByVariableName( "backgroundColor2" );
|
||||
auto colorText = color.name();
|
||||
|
||||
axisWidget->setStyleSheet( QString( "color: %1;" ).arg( colorText ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -577,6 +577,14 @@ void RiuViewer::setInfoText( QString text )
|
||||
m_infoLabel->setText( text );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RiuViewer::infoText() const
|
||||
{
|
||||
return m_infoLabel->text();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -86,9 +86,10 @@ public:
|
||||
RiuViewerToViewInterface* ownerReservoirView();
|
||||
RimViewWindow* ownerViewWindow() const override;
|
||||
|
||||
void showInfoText( bool enable );
|
||||
void showVersionInfo( bool enable );
|
||||
void setInfoText( QString text );
|
||||
void showInfoText( bool enable );
|
||||
void showVersionInfo( bool enable );
|
||||
void setInfoText( QString text );
|
||||
QString infoText() const;
|
||||
|
||||
void hideZScaleCheckbox( bool hide );
|
||||
void showZScaleLabel( bool enable );
|
||||
|
||||
@@ -619,6 +619,7 @@ void RiuViewerCommands::displayContextMenu( QMouseEvent* event )
|
||||
#endif
|
||||
menuBuilder << "RicShowGridStatisticsFeature";
|
||||
menuBuilder << "RicSelectColorResult";
|
||||
menuBuilder << "RicCopyGridStatisticsToClipboardFeature";
|
||||
}
|
||||
|
||||
menuBuilder << "RicExportContourMapToTextFeature";
|
||||
|
||||
Reference in New Issue
Block a user