mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
New checkbox icons as svgs and adjusted background colors.
This commit is contained in:
committed by
Magne Sjaastad
parent
cf1487c2f3
commit
440767d876
@@ -73,14 +73,10 @@ void PdmUiLineEditor::updateLineEditFromReadOnlyState( QLineEdit* lineEdit, bool
|
||||
if ( isReadOnly )
|
||||
{
|
||||
lineEdit->setReadOnly( true );
|
||||
lineEdit->setStyleSheet( "QLineEdit {"
|
||||
"color: #808080;"
|
||||
"background-color: #F0F0F0;}" );
|
||||
}
|
||||
else
|
||||
{
|
||||
lineEdit->setReadOnly( false );
|
||||
lineEdit->setStyleSheet( "" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -72,14 +72,10 @@ void caf::PdmUiPickableLineEditor::configureAndUpdateUi( const QString& uiConfig
|
||||
if ( m_attribute.enablePicking )
|
||||
{
|
||||
m_attribute.pickEventHandler->registerAsPickEventHandler();
|
||||
m_lineEdit->setStyleSheet( "QLineEdit {"
|
||||
"color: #000000;"
|
||||
"background-color: #FFDCFF;}" );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_attribute.pickEventHandler->unregisterAsPickEventHandler();
|
||||
m_lineEdit->setStyleSheet( "" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user