New checkbox icons as svgs and adjusted background colors.

This commit is contained in:
Ruben Thoms
2020-09-28 15:48:18 +02:00
committed by Magne Sjaastad
parent cf1487c2f3
commit 440767d876
12 changed files with 137 additions and 15 deletions

View File

@@ -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( "" );
}
}

View File

@@ -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( "" );
}
}