mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -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
@@ -149,9 +149,9 @@ const QString& RimTextAnnotation::text() const
|
||||
void RimTextAnnotation::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
|
||||
{
|
||||
uiOrdering.add( &m_anchorPointXyd );
|
||||
uiOrdering.add( &m_anchorPointPickEnabledButtonField, false );
|
||||
uiOrdering.appendToRow( &m_anchorPointPickEnabledButtonField );
|
||||
uiOrdering.add( &m_labelPointXyd );
|
||||
uiOrdering.add( &m_labelPointPickEnabledButtonField, false );
|
||||
uiOrdering.appendToRow( &m_labelPointPickEnabledButtonField );
|
||||
|
||||
uiOrdering.add( &m_text );
|
||||
|
||||
|
||||
Reference in new issue
Block a user