QIMPenCharSet Class Reference
|
Constant | Value | Description |
---|---|---|
QIMPenCharSet::Unknown | 0x00 | |
QIMPenCharSet::Lower | 0x01 | Lower case letters |
QIMPenCharSet::Upper | 0x02 | Upper case letters |
QIMPenCharSet::Combining | 0x04 | Letters formed by combining two parts (characters with umlauts, accents etc..) |
QIMPenCharSet::Numeric | 0x08 | |
QIMPenCharSet::Punctuation | 0x10 | |
QIMPenCharSet::Symbol | 0x20 | |
QIMPenCharSet::Shortcut | 0x40 |
See also setType() and type().
Construsts a default QIMPenCharSet() with title "abc", type Unknown, and a 0 stroke maximum.
Construct and load a characters set from file fn.
Delete this character set and clean up.
Add a character ch to this set. QIMPenCharSet will delete this character when it is no longer needed.
Returns the item at index position i in the list. i must be a valid index position in the list.
Returns the list of characters in this QIMPenCharSet
Clear all data.
Returns the number of QIMPenChars in this QIMPenCharSet
Returns the human readable description of this QIMPenCharSet
See also setDescription().
Move the character ch down the list of QIMPenChar.
Returns the filename used to save this character set.
See also setFilename().
Returns true if this QIMPenCharSet contains no QIMPenChar, otherwise returns false.
Load a character set from file fn, checking both system and user directories. Returns true if at least one file is opened with no errors. If there characters in both the user and system files, entries in the user file override those in the system file.
Find the best matches for ch in this character set.
Returns the highest number of strokes any character in this QIMPenCharSet has had. Note: This is guaranteed to be at least as high as the current maximum number of strokes, but can be higher if the previous highest stroke character is deleted.
Remove a character by reference ch from this set. QIMPenCharSet will delete this character.
Save this character set. Returns true if the file was saved successfully, and false if there were any errors encountered while saving.
Sets the human readable description of this QIMPenCharSet
See also description().
Sets the filename fn to be used to save this character set.
See also filename().
Sets the title of this character set. Note: in early versions this dictates the type as well
See also title() and setType().
Sets the type of this character set (eg "abc", "ABC", "123" or "Combining");
See also type() and setTitle().
Returns the title of this QIMPenCharSet
See also setTitle().
returns the Type for this QIMPenCharSet
Move the character ch up the list of QIMPenChar.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com