mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
Refactor LayoutOptions to improve readability
* Make it possible to use designated initializer list - remove default constructor - move static member to outer scope * Add helper function to add field on same row
This commit is contained in:
1 parent
860f086af6
commit
678a368361
30 files changed
+198
-204
No files matched your search
@@ -802,10 +802,10 @@ void RimSummaryTimeAxisProperties::defineUiOrdering( QString uiConfigName, caf::
|
||||
timeGroup->add( &m_timeMode );
|
||||
if ( m_timeMode() == DATE )
|
||||
{
|
||||
timeGroup->add( &m_visibleDateRangeMax, true );
|
||||
timeGroup->add( &m_visibleTimeRangeMax, false );
|
||||
timeGroup->add( &m_visibleDateRangeMin, true );
|
||||
timeGroup->add( &m_visibleTimeRangeMin, false );
|
||||
timeGroup->add( &m_visibleDateRangeMax );
|
||||
timeGroup->appendToRow( &m_visibleTimeRangeMax );
|
||||
timeGroup->add( &m_visibleDateRangeMin );
|
||||
timeGroup->appendToRow( &m_visibleTimeRangeMin );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user