mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8345 Summary Plot Manager : Several improvements
Add checkboxes for individual plots for vectors/addresses and creation of multiplots. Moved code into RicSummaryPlotBuilder. Allow UiComboBoxEditor to disable autocomplete. Create plot using Enter key without modifiers.
This commit is contained in:
@@ -281,6 +281,11 @@ void PdmUiComboBoxEditor::configureAndUpdateUi( const QString& uiConfigName )
|
||||
{
|
||||
m_comboBox->setEditable( true );
|
||||
|
||||
if ( !m_attributes.enableAutoComplete )
|
||||
{
|
||||
m_comboBox->setCompleter( nullptr );
|
||||
}
|
||||
|
||||
m_comboBox->lineEdit()->setPlaceholderText( m_attributes.placeholderText );
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@ public:
|
||||
minimumContentsLength = 8;
|
||||
maximumMenuContentsLength = 40;
|
||||
enableEditableContent = false;
|
||||
enableAutoComplete = true;
|
||||
minimumWidth = -1;
|
||||
iconSize = QSize( 14, 14 );
|
||||
notifyWhenTextIsEdited = false;
|
||||
@@ -73,6 +74,7 @@ public:
|
||||
// Set to <= 0 to ignore and use AdjustToContentsOnFirstShow instead
|
||||
int maximumMenuContentsLength;
|
||||
bool enableEditableContent;
|
||||
bool enableAutoComplete;
|
||||
int minimumWidth;
|
||||
QString placeholderText;
|
||||
QString nextButtonText;
|
||||
|
||||
Reference in New Issue
Block a user