mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Extends color expression help to mention HEX color notation
and color name Which seems to be possible to use as well
This commit is contained in:
parent
b3e8d82190
commit
c1eedc79b9
@ -86,12 +86,12 @@ QgsPropertyDefinition::QgsPropertyDefinition( const QString& name, const QString
|
||||
|
||||
case ColorWithAlpha:
|
||||
mTypes = DataTypeString;
|
||||
mHelpText = QObject::tr( "string [<b>r,g,b,a</b>] as int 0-255" );
|
||||
mHelpText = QObject::tr( "string [<b>r,g,b,a</b>] as int 0-255 or #<b>RRGGBBAA</b> as hex or <b>color</b> as color's name" );
|
||||
break;
|
||||
|
||||
case ColorNoAlpha:
|
||||
mTypes = DataTypeString;
|
||||
mHelpText = QObject::tr( "string [<b>r,g,b</b>] as int 0-255" );
|
||||
mHelpText = QObject::tr( "string [<b>r,g,b</b>] as int 0-255 or #<b>RRGGBB</b> as hex or <b>color</b> as color's name" );
|
||||
break;
|
||||
|
||||
case PenJoinStyle:
|
||||
|
@ -809,12 +809,12 @@ QString QgsDataDefinedButton::unitsMmMuPercentDesc()
|
||||
|
||||
QString QgsDataDefinedButton::colorNoAlphaDesc()
|
||||
{
|
||||
return tr( "string [<b>r,g,b</b>] as int 0-255" );
|
||||
return tr( "string [<b>r,g,b</b>] as int 0-255 or #<b>RRGGBB</b> as hex or <b>color</b> as color's name" );
|
||||
}
|
||||
|
||||
QString QgsDataDefinedButton::colorAlphaDesc()
|
||||
{
|
||||
return tr( "string [<b>r,g,b,a</b>] as int 0-255" );
|
||||
return tr( "string [<b>r,g,b,a</b>] as int 0-255 or #<b>RRGGBBAA</b> as hex or <b>color</b> as color's name" );
|
||||
}
|
||||
|
||||
QString QgsDataDefinedButton::textHorzAlignDesc()
|
||||
|
Loading…
x
Reference in New Issue
Block a user