Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QIMPenCharSet class maintains a set of related characters. More...
#include <QIMPenCharSet>
This class is under development and is subject to change.
The QIMPenCharSet class maintains a set of related characters.
This enum describes the types of characters contained in a QIMPenCharSet
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.
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |