QIMPenChar Class Reference
|
Constant | Value | Description |
---|---|---|
QIMPenChar::System | 0x01 | The character is a system character, and should be turned off rather than deleted when disabled |
QIMPenChar::Deleted | 0x02 | The character is a system character that has been disabled. |
QIMPenChar::CombineRight | 0x04 | The character is aligned to the right when combining characters to create some interantional characters like áâä, etc.. |
QIMPenChar::Data | 0x08 | Kept in order to read old files |
This enum is used to refer to several special characters used by Qtopia. It includes modifiers like the shift and control keys, as well as system spefic values used to indicate actions to the system like SymbolPopup.
Constant | Value | Description | ||
---|---|---|---|---|
QIMPenChar::ModeBase | 0x4000 | Base value for all Modes | ||
QIMPenChar::Caps | 0x4001 | Shift | ||
QIMPenChar::Shortcut | 0x4002 | Used by the system | ||
QIMPenChar::CapsLock | 0x4003 | Caps lock | ||
QIMPenChar::Punctuation | 0x4004 | Used by the system | ||
QIMPenChar::Symbol | 0x4005 | Used by the system | ||
QIMPenChar::NextWord | 0x4007 | Used by the system | ||
QIMPenChar::WordPopup | 0x4008 | Used by the system | ||
QIMPenChar::SymbolPopup | 0x4009 | Used by the system | ||
QIMPenChar::ModePopup | 0x400A | Used by the system enum | Value | |
ModeBase | 0x4000 | |||
Caps | 0x4001 | |||
Shortcut | 0x4002 | |||
CapsLock | 0x4003 | |||
Punctuation | 0x4004 | |||
Symbol | 0x4005 | |||
NextWord | 0x4007 | |||
WordPopup | 0x4008 | |||
SymbolPopup | 0x4009 | |||
ModePopup | 0x400A |
Constructs an empty QIMPenChar.
Constructs a copy of the given character.
Destroys this character and cleans up.
Adds stroke to the character
Return the bounding rect of this character. It may have sides with negative coords since its origin is where the user started drawing the character.
Clears the data of this character.
Clear flag f for this character.
Return true if this character has no strokes, otherwise return false.
Return the key for this character.
See also setKey() and repCharacter().
Return an indicator of the closeness of this character to pen. Lower value is better.
Returns the name of this character. This is usually the unicode of the character. However, the following special keys have the following names:
Key Code | Name |
---|---|
Qt::Key_Escape | "[Esc]" |
Qt::Key_Tab | "[Tab]" |
Qt::Key_Backspace | "[BackSpace]" |
Qt::Key_Return | "[Return]" |
QIMPenChar::Caps | "[Uppercase]" |
QIMPenChar::CapsLock | "[Caps Lock]" |
QIMPenChar::Shortcut | "[Shortcut]" |
QIMPenChar::Punctuation | "[Punctuation]" |
QIMPenChar::Symbol | "[Symbol]" |
QIMPenChar::NextWord | "[Next Word]" |
QIMPenChar::WordPopup | "[Word Menu]" |
QIMPenChar::SymbolPopup | "[Symbol Menu]" |
QIMPenChar::ModePopup | "[Mode Menu]" |
Returns the list of penStrokes for this character.
Returns the QChar this character represents.
See also key() and setRepCharacter().
Set flag f for this character.
If code is in the set of qimpen_specialKeys, sets the key code for the character to code and clear the unicode value. Otherwise does nothing.
See also key().
Sets the unicode for the character to code and clears the key value.
See also repCharacter().
Returns the starting point of the first stroke of this character.
See also strokeLength(), addStroke(), strokeCount(), and isEmpty().
Returns the number of strokes in this character.
Returns the length of stroke n. Returns 0 if this character has less then n strokes.
Return true if flag f is set for this character, otherwise return false.
Assigns a copy of the given character to this character and returns a refernece to this character.
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