mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Prepare for release
Always create plots using Qwt Always create plot for command "New Summary Plot" #9103 : Fix missing updates in multiselect field update operation Add Open Summary Plot Editor Trigger missing load of data Enable data source display for first realization of an ensemble Always show legend text Set version to 2022.06.0-RC-02
This commit is contained in:
@@ -488,6 +488,33 @@ void PdmUiItem::setUiReadOnly( bool isReadOnly, const QString& uiConfigName /*=
|
||||
m_configItemInfos[uiConfigName].m_isReadOnly = isReadOnly;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool PdmUiItem::notifyAllFieldsInMultiFieldChangedEvents( const QString& uiConfigName /*= "" */ ) const
|
||||
{
|
||||
const PdmUiItemInfo* conInfo = configInfo( uiConfigName );
|
||||
const PdmUiItemInfo* defInfo = defaultInfo();
|
||||
const PdmUiItemInfo* sttInfo = m_staticItemInfo;
|
||||
|
||||
if ( conInfo && !( conInfo->m_notifyAllFieldsInMultiFieldChangedEvents == -1 ) )
|
||||
return conInfo->m_notifyAllFieldsInMultiFieldChangedEvents;
|
||||
if ( defInfo && !( defInfo->m_notifyAllFieldsInMultiFieldChangedEvents == -1 ) )
|
||||
return defInfo->m_notifyAllFieldsInMultiFieldChangedEvents;
|
||||
if ( sttInfo && !( sttInfo->m_notifyAllFieldsInMultiFieldChangedEvents == -1 ) )
|
||||
return sttInfo->m_notifyAllFieldsInMultiFieldChangedEvents;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void PdmUiItem::setNotifyAllFieldsInMultiFieldChangedEvents( bool enable, const QString& uiConfigName /*= "" */ )
|
||||
{
|
||||
m_configItemInfos[uiConfigName].m_notifyAllFieldsInMultiFieldChangedEvents = enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -71,6 +71,7 @@ public:
|
||||
, m_isReadOnly( -1 )
|
||||
, m_labelAlignment( LEFT )
|
||||
, m_isCustomContextMenuEnabled( -1 )
|
||||
, m_notifyAllFieldsInMultiFieldChangedEvents( -1 )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -105,6 +106,7 @@ private:
|
||||
int m_isReadOnly; ///< UiItem should be insensitive, or read only. -1 means not set.
|
||||
LabelPosType m_labelAlignment;
|
||||
int m_isCustomContextMenuEnabled;
|
||||
int m_notifyAllFieldsInMultiFieldChangedEvents;
|
||||
};
|
||||
|
||||
//==================================================================================================
|
||||
@@ -278,6 +280,9 @@ public:
|
||||
bool isUiReadOnly( const QString& uiConfigName = "" ) const;
|
||||
void setUiReadOnly( bool isReadOnly, const QString& uiConfigName = "" );
|
||||
|
||||
bool notifyAllFieldsInMultiFieldChangedEvents( const QString& uiConfigName = "" ) const;
|
||||
void setNotifyAllFieldsInMultiFieldChangedEvents( bool enable, const QString& uiConfigName = "" );
|
||||
|
||||
PdmUiItemInfo::LabelPosType uiLabelPosition( const QString& uiConfigName = "" ) const;
|
||||
void setUiLabelPosition( PdmUiItemInfo::LabelPosType alignment, const QString& uiConfigName = "" );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user