mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 00:50:15 -05:00
#14362 Allow arbitrary Z-scale factor
Make the Z-scale combo boxes in the toolbar and property editor editable, so any positive scale value can be entered as text. Invalid input is rejected and the previous value is restored. Add keyboard shortcuts Ctrl+Shift+Up and Ctrl+Shift+Down to step the Z-scale of the active view through the predefined scale values.
This commit is contained in:
1 parent
9ccca3e20a
commit
1aa95936fc
12 files changed
+267
-14
No files matched your search
@@ -2206,6 +2206,8 @@ QList<caf::PdmOptionItemInfo> RimEclipseView::calculateValueOptions( const caf::
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEclipseView::defineEditorAttribute( const caf::PdmFieldHandle* field, QString uiConfigName, caf::PdmUiEditorAttribute* attribute )
|
||||
{
|
||||
RimGridView::defineEditorAttribute( field, uiConfigName, attribute );
|
||||
|
||||
if ( field == &m_eclipseCase )
|
||||
{
|
||||
RiuTools::enableUpDownArrowsForComboBox( attribute );
|
||||
|
||||
Reference in new issue
Block a user