Changes between Version 32 and Version 33 of TaggingPresets


Ignore:
Timestamp:
2010-10-03T12:08:02+02:00 (15 years ago)
Author:
jttt
Comment:

description of required attribute

Legend:

Unmodified
Added
Removed
Modified
  • TaggingPresets

    v32 v33  
    7171Attribute entry and selection dialog boxes:
    7272 '''<text>'''::
    73    A text edit field to enter any arbitrary string from the user. ''key'' is mandatory, ''text'' and ''default'' is optional
     73   A text edit field to enter any arbitrary string from the user. ''key'' is mandatory, ''text'', ''default'' and ''required'' is optional
    7474 '''<combo>'''::
    75    Displays a multiple choice combo box. ''key'' and ''values'' are mandatory and ''text'', ''default'' and ''readonly'' is optional.
     75   Displays a multiple choice combo box. ''key'' and ''values'' are mandatory and ''text'', ''default'', ''readonly'' and ''required'' is optional.
    7676   If readonly is not set, combo boxes can be edited as if they were text fields (additional to the drop down menu). Readonly
    7777   combo boxes can only contain one of the specified values.
    7878 '''<check>'''::
    79    A checkbox which the user can only select or deselect. The ''key'' attribute is mandatory. ''text'' and ''default'' is optional.
     79   A checkbox which the user can only select or deselect. The ''key'' attribute is mandatory. ''text'', ''default'' and ''required'' is optional.
    8080Set a key value pair:
    8181 '''<key>'''::
     
    120120 '''use_last_as_default="true"'''::
    121121   For combo boxes or text fields the last value is used as default.
     122 '''required="true"'''::
     123   Preset is not valid unless value for this key is entered. Used by PropertiesDialog to show list of presets for selected object.
     124
    122125
    123126To support translations, all textual elements may be used in translated form. E.g. "de.name" would represent the name in case German language support is loaded.