<parameter name="icon" value="ModuleMesh.png"/>
<parameter name="version" value="@VERSION@"/>
<!-- Other module preferences -->
+ <parameter name="default_grp_color" value="255, 170, 0"/>
<parameter name="node_color" value="255, 0, 0"/>
<parameter name="fill_color" value="0, 170, 255|-100"/>
<parameter name="wireframe_color" value="0, 170, 255"/>
setPreferenceProperty( grpGroup, "columns", 2 );
addPreference( tr( "PREF_GRP_NAMES" ), grpGroup, LightApp_Preferences::Color, "SMESH", "group_name_color" );
+ addPreference( tr( "PREF_GRP_DEF_COLOR" ), grpGroup, LightApp_Preferences::Color, "SMESH", "default_grp_color" );
int size0d = addPreference(tr("PREF_SIZE_0D"), elemGroup,
LightApp_Preferences::IntSpin, "SMESH", "elem0d_size");
if( !isAutoColor )
{
int r = 0, g = 0, b = 0;
- SMESH::GetColor( "SMESH", "fill_color", r, g, b, QColor( 0, 170, 255 ) );
+ SMESH::GetColor( "SMESH", "default_grp_color", r, g, b, QColor( 255, 170, 0 ) );
aQColor.setRgb( r, g, b );
}
else
<source>PREF_GRP_NAMES</source>
<translation>Names color</translation>
</message>
+ <message>
+ <source>PREF_GRP_DEF_COLOR</source>
+ <translation>Default color</translation>
+ </message>
<message>
<source>PREF_GROUP_PRECISION</source>
<translation>Precision</translation>
<source>PREF_GRP_NAMES</source>
<translation>Couleur des noms</translation>
</message>
+ <message>
+ <source>PREF_GRP_DEF_COLOR</source>
+ <translation>Couleur par défaut</translation>
+ </message>
<message>
<source>PREF_GROUP_PRECISION</source>
<translation>Précision</translation>