Logo Search packages:      
Sourcecode: palapeli version File versions  Download package

void Palapeli::PatternConfiguration::addPropertyParameters ( const QByteArray &  key,
const QVariantList &  parameters 
) [protected, inherited]

Add parameters to this property. It depends on the DataType of the property what these parameters do. For String properties, the parameters are understood as valid values; the input is then restricted to these options (by using a KComboBox instead of a KLineEdit in configuration dialogs). For Int properties, the first parameter is the minimum value (default is 0), and the second parameter is the maximum value (default is 100); any further parameters are discarded. For all other data types, all parameters are discarded.

Parameters:
key the key of the property
parameters the parameters for this property

Definition at line 112 of file pattern-configuration.cpp.

{
      p->m_configurationParameters[key] = parameters;
}


Generated by  Doxygen 1.6.0   Back to index