![]() |
Qt 6.x
The Qt SDK
|
Typedefs | |
| using | CharAttributeFunction = void(*)(QChar::Script script, const char16_t *text, qsizetype from, qsizetype len, QCharAttributes *attributes) |
| typedef int | MymrCharClass |
| typedef unsigned long | KhmerCharClass |
Enumerations | |
| enum | Form { Invalid = 0x0 , UnknownForm = Invalid , Consonant , Nukta , Halant , Matra , VowelMark , StressMark , IndependentVowel , LengthMark , Control , Other } |
| enum | TibetanForm { TibetanOther , TibetanHeadConsonant , TibetanSubjoinedConsonant , TibetanSubjoinedVowel , TibetanVowel } |
| enum | MymrCharClassValues { Mymr_CC_RESERVED = 0 , Mymr_CC_CONSONANT = 1 , Mymr_CC_CONSONANT2 = 2 , Mymr_CC_NGA = 3 , Mymr_CC_YA = 4 , Mymr_CC_RA = 5 , Mymr_CC_WA = 6 , Mymr_CC_HA = 7 , Mymr_CC_IND_VOWEL = 8 , Mymr_CC_ZERO_WIDTH_NJ_MARK = 9 , Mymr_CC_VIRAMA = 10 , Mymr_CC_PRE_VOWEL = 11 , Mymr_CC_BELOW_VOWEL = 12 , Mymr_CC_ABOVE_VOWEL = 13 , Mymr_CC_POST_VOWEL = 14 , Mymr_CC_SIGN_ABOVE = 15 , Mymr_CC_SIGN_BELOW = 16 , Mymr_CC_SIGN_AFTER = 17 , Mymr_CC_ZERO_WIDTH_J_MARK = 18 , Mymr_CC_COUNT = 19 } |
| enum | MymrCharClassFlags { Mymr_CF_CLASS_MASK = 0x0000FFFF , Mymr_CF_CONSONANT = 0x01000000 , Mymr_CF_MEDIAL = 0x02000000 , Mymr_CF_IND_VOWEL = 0x04000000 , Mymr_CF_DEP_VOWEL = 0x08000000 , Mymr_CF_DOTTED_CIRCLE = 0x10000000 , Mymr_CF_VIRAMA = 0x20000000 , Mymr_CF_POS_BEFORE = 0x00080000 , Mymr_CF_POS_BELOW = 0x00040000 , Mymr_CF_POS_ABOVE = 0x00020000 , Mymr_CF_POS_AFTER = 0x00010000 , Mymr_CF_POS_MASK = 0x000f0000 , Mymr_CF_AFTER_KINZI = 0x00100000 } |
| enum | MymrChar { Mymr_C_SIGN_ZWNJ = 0x200C , Mymr_C_SIGN_ZWJ = 0x200D , Mymr_C_DOTTED_CIRCLE = 0x25CC , Mymr_C_RA = 0x101B , Mymr_C_YA = 0x101A , Mymr_C_NGA = 0x1004 , Mymr_C_VOWEL_E = 0x1031 , Mymr_C_VIRAMA = 0x1039 } |
| enum | { Mymr_xx = Mymr_CC_RESERVED , Mymr_c1 = Mymr_CC_CONSONANT | Mymr_CF_CONSONANT | Mymr_CF_POS_BELOW , Mymr_c2 = Mymr_CC_CONSONANT2 | Mymr_CF_CONSONANT , Mymr_ng = Mymr_CC_NGA | Mymr_CF_CONSONANT | Mymr_CF_POS_ABOVE , Mymr_ya = Mymr_CC_YA | Mymr_CF_CONSONANT | Mymr_CF_MEDIAL | Mymr_CF_POS_AFTER | Mymr_CF_AFTER_KINZI , Mymr_ra = Mymr_CC_RA | Mymr_CF_CONSONANT | Mymr_CF_MEDIAL | Mymr_CF_POS_BEFORE , Mymr_wa = Mymr_CC_WA | Mymr_CF_CONSONANT | Mymr_CF_MEDIAL | Mymr_CF_POS_BELOW , Mymr_ha = Mymr_CC_HA | Mymr_CF_CONSONANT | Mymr_CF_MEDIAL | Mymr_CF_POS_BELOW , Mymr_id = Mymr_CC_IND_VOWEL | Mymr_CF_IND_VOWEL , Mymr_vi = Mymr_CC_VIRAMA | Mymr_CF_VIRAMA | Mymr_CF_POS_ABOVE | Mymr_CF_DOTTED_CIRCLE , Mymr_dl = Mymr_CC_PRE_VOWEL | Mymr_CF_DEP_VOWEL | Mymr_CF_POS_BEFORE | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_AFTER_KINZI , Mymr_db = Mymr_CC_BELOW_VOWEL | Mymr_CF_DEP_VOWEL | Mymr_CF_POS_BELOW | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_AFTER_KINZI , Mymr_da = Mymr_CC_ABOVE_VOWEL | Mymr_CF_DEP_VOWEL | Mymr_CF_POS_ABOVE | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_AFTER_KINZI , Mymr_dr = Mymr_CC_POST_VOWEL | Mymr_CF_DEP_VOWEL | Mymr_CF_POS_AFTER | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_AFTER_KINZI , Mymr_sa = Mymr_CC_SIGN_ABOVE | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_POS_ABOVE | Mymr_CF_AFTER_KINZI , Mymr_sb = Mymr_CC_SIGN_BELOW | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_POS_BELOW | Mymr_CF_AFTER_KINZI , Mymr_sp = Mymr_CC_SIGN_AFTER | Mymr_CF_DOTTED_CIRCLE | Mymr_CF_AFTER_KINZI } |
| enum | KhmerCharClassValues { CC_RESERVED = 0 , CC_CONSONANT = 1 , CC_CONSONANT2 = 2 , CC_CONSONANT3 = 3 , CC_ZERO_WIDTH_NJ_MARK = 4 , CC_CONSONANT_SHIFTER = 5 , CC_ROBAT = 6 , CC_COENG = 7 , CC_DEPENDENT_VOWEL = 8 , CC_SIGN_ABOVE = 9 , CC_SIGN_AFTER = 10 , CC_ZERO_WIDTH_J_MARK = 11 , CC_COUNT = 12 } |
| enum | KhmerCharClassFlags { CF_CLASS_MASK = 0x0000FFFF , CF_CONSONANT = 0x01000000 , CF_SPLIT_VOWEL = 0x02000000 , CF_DOTTED_CIRCLE = 0x04000000 , CF_COENG = 0x08000000 , CF_SHIFTER = 0x10000000 , CF_ABOVE_VOWEL = 0x20000000 , CF_POS_BEFORE = 0x00080000 , CF_POS_BELOW = 0x00040000 , CF_POS_ABOVE = 0x00020000 , CF_POS_AFTER = 0x00010000 , CF_POS_MASK = 0x000f0000 } |
| enum | KhmerChar { C_SIGN_ZWNJ = 0x200C , C_SIGN_ZWJ = 0x200D , C_RO = 0x179A , C_VOWEL_AA = 0x17B6 , C_SIGN_NIKAHIT = 0x17C6 , C_VOWEL_E = 0x17C1 , C_COENG = 0x17D2 } |
| enum | { _xx = CC_RESERVED , _sa = CC_SIGN_ABOVE | CF_DOTTED_CIRCLE | CF_POS_ABOVE , _sp = CC_SIGN_AFTER | CF_DOTTED_CIRCLE| CF_POS_AFTER , _c1 = CC_CONSONANT | CF_CONSONANT , _c2 = CC_CONSONANT2 | CF_CONSONANT , _c3 = CC_CONSONANT3 | CF_CONSONANT , _rb = CC_ROBAT | CF_POS_ABOVE | CF_DOTTED_CIRCLE , _cs = CC_CONSONANT_SHIFTER | CF_DOTTED_CIRCLE | CF_SHIFTER , _dl = CC_DEPENDENT_VOWEL | CF_POS_BEFORE | CF_DOTTED_CIRCLE , _db = CC_DEPENDENT_VOWEL | CF_POS_BELOW | CF_DOTTED_CIRCLE , _da = CC_DEPENDENT_VOWEL | CF_POS_ABOVE | CF_DOTTED_CIRCLE | CF_ABOVE_VOWEL , _dr = CC_DEPENDENT_VOWEL | CF_POS_AFTER | CF_DOTTED_CIRCLE , _co = CC_COENG | CF_COENG | CF_DOTTED_CIRCLE , _va = _da | CF_SPLIT_VOWEL , _vr = _dr | CF_SPLIT_VOWEL } |
| enum | KhmerCharClassesRange { KhmerFirstChar = 0x1780 , KhmerLastChar = 0x17df } |
Variables | |
| static const unsigned char | indicForms [0xe00-0x900] |
| static const unsigned char | tibetanForm [0x80] |
| static const MymrCharClass | mymrCharClasses [] |
| static const signed char | mymrStateTable [][Mymr_CC_COUNT] |
| static const KhmerCharClass | khmerCharClasses [] |
| static const signed char | khmerStateTable [][CC_COUNT] |
| const CharAttributeFunction | charAttributeFunction [] |
| using QUnicodeTools::Tailored::CharAttributeFunction = typedef void (*)(QChar::Script script, const char16_t *text, qsizetype from, qsizetype len, QCharAttributes *attributes) |
Definition at line 810 of file qunicodetools.cpp.
| typedef unsigned long QUnicodeTools::Tailored::KhmerCharClass |
Definition at line 2029 of file qunicodetools.cpp.
| typedef int QUnicodeTools::Tailored::MymrCharClass |
Definition at line 1774 of file qunicodetools.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| Mymr_xx | |
| Mymr_c1 | |
| Mymr_c2 | |
| Mymr_ng | |
| Mymr_ya | |
| Mymr_ra | |
| Mymr_wa | |
| Mymr_ha | |
| Mymr_id | |
| Mymr_vi | |
| Mymr_dl | |
| Mymr_db | |
| Mymr_da | |
| Mymr_dr | |
| Mymr_sa | |
| Mymr_sb | |
| Mymr_sp | |
Definition at line 1752 of file qunicodetools.cpp.
| anonymous enum |
| Enumerator | |
|---|---|
| _xx | |
| _sa | |
| _sp | |
| _c1 | |
| _c2 | |
| _c3 | |
| _rb | |
| _cs | |
| _dl | |
| _db | |
| _da | |
| _dr | |
| _co | |
| _va | |
| _vr | |
Definition at line 2004 of file qunicodetools.cpp.
| Enumerator | |
|---|---|
| Invalid | |
| UnknownForm | |
| Consonant | |
| Nukta | |
| Halant | |
| Matra | |
| VowelMark | |
| StressMark | |
| IndependentVowel | |
| LengthMark | |
| Control | |
| Other | |
Definition at line 813 of file qunicodetools.cpp.
| Enumerator | |
|---|---|
| C_SIGN_ZWNJ | |
| C_SIGN_ZWJ | |
| C_RO | |
| C_VOWEL_AA | |
| C_SIGN_NIKAHIT | |
| C_VOWEL_E | |
| C_COENG | |
Definition at line 1987 of file qunicodetools.cpp.
| Enumerator | |
|---|---|
| KhmerFirstChar | |
| KhmerLastChar | |
Definition at line 2061 of file qunicodetools.cpp.
| Enumerator | |
|---|---|
| CF_CLASS_MASK | |
| CF_CONSONANT | |
| CF_SPLIT_VOWEL | |
| CF_DOTTED_CIRCLE | |
| CF_COENG | |
| CF_SHIFTER | |
| CF_ABOVE_VOWEL | |
| CF_POS_BEFORE | |
| CF_POS_BELOW | |
| CF_POS_ABOVE | |
| CF_POS_AFTER | |
| CF_POS_MASK | |
Definition at line 1966 of file qunicodetools.cpp.
Definition at line 1949 of file qunicodetools.cpp.
| Enumerator | |
|---|---|
| Mymr_C_SIGN_ZWNJ | |
| Mymr_C_SIGN_ZWJ | |
| Mymr_C_DOTTED_CIRCLE | |
| Mymr_C_RA | |
| Mymr_C_YA | |
| Mymr_C_NGA | |
| Mymr_C_VOWEL_E | |
| Mymr_C_VIRAMA | |
Definition at line 1740 of file qunicodetools.cpp.
Definition at line 1716 of file qunicodetools.cpp.
Definition at line 1693 of file qunicodetools.cpp.
| Enumerator | |
|---|---|
| TibetanOther | |
| TibetanHeadConsonant | |
| TibetanSubjoinedConsonant | |
| TibetanSubjoinedVowel | |
| TibetanVowel | |
Definition at line 1573 of file qunicodetools.cpp.
|
inlinestatic |
Definition at line 1240 of file qunicodetools.cpp.
References Consonant, Control, indicForms, and Other.
|
static |
Definition at line 2310 of file qunicodetools.cpp.
References charAttributeFunction, i, items, position(), QChar::Script_Common, and QChar::Script_Khmer.
Referenced by QUnicodeTools::initCharAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2072 of file qunicodetools.cpp.
References C_SIGN_ZWJ, C_SIGN_ZWNJ, CC_RESERVED, CC_ZERO_WIDTH_J_MARK, CC_ZERO_WIDTH_NJ_MARK, khmerCharClasses, KhmerFirstChar, and KhmerLastChar.
Referenced by khmer_nextSyllableBoundary().
Here is the caller graph for this function:
|
static |
Definition at line 1794 of file qunicodetools.cpp.
References ch, Mymr_C_SIGN_ZWJ, Mymr_C_SIGN_ZWNJ, Mymr_CC_RESERVED, Mymr_CC_ZERO_WIDTH_J_MARK, Mymr_CC_ZERO_WIDTH_NJ_MARK, and mymrCharClasses.
Referenced by myanmar_nextSyllableBoundary().
Here is the caller graph for this function:
|
static |
Definition at line 1266 of file qunicodetools.cpp.
References Consonant, Control, form, Halant, IDEBUG, IndependentVowel, Invalid, LengthMark, Matra, newState(), Nukta, Other, pos, Q_FALLTHROUGH, QChar::Script_Bengali, QChar::Script_Kannada, QChar::Script_Malayalam, QChar::Script_Sinhala, QChar::Script_Tamil, state, StressMark, and VowelMark.
Referenced by indicAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1370 of file qunicodetools.cpp.
References assert, QCharAttributes::graphemeBoundary, i, indic_nextSyllableBoundary(), and text.
Here is the call graph for this function:
|
static |
Definition at line 2192 of file qunicodetools.cpp.
References CF_CLASS_MASK, CF_CONSONANT, getKhmerCharClass(), KHDEBUG, khmerStateTable, pos, and state.
Referenced by khmerAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2218 of file qunicodetools.cpp.
References assert, QCharAttributes::graphemeBoundary, i, khmer_nextSyllableBoundary(), Q_UNUSED, and text.
Here is the call graph for this function:
|
static |
Definition at line 1858 of file qunicodetools.cpp.
References getMyanmarCharClass(), MMDEBUG, Mymr_CF_CLASS_MASK, Mymr_CF_DOTTED_CIRCLE, mymrStateTable, pos, and state.
Referenced by myanmarAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1884 of file qunicodetools.cpp.
References assert, QCharAttributes::graphemeBoundary, i, QCharAttributes::lineBreak, myanmar_nextSyllableBoundary(), Q_UNUSED, and text.
Here is the call graph for this function:
|
static |
Definition at line 1546 of file qunicodetools.cpp.
References assert, Q_UNUSED, QChar::Script_Thai, and text.
|
static |
Definition at line 1627 of file qunicodetools.cpp.
References newState(), pos, state, tibetan_form, TibetanHeadConsonant, TibetanOther, TibetanSubjoinedConsonant, TibetanSubjoinedVowel, and TibetanVowel.
Referenced by tibetanAttributes().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1671 of file qunicodetools.cpp.
References assert, QCharAttributes::graphemeBoundary, i, Q_UNUSED, text, and tibetan_nextSyllableBoundary().
Here is the call graph for this function:| const CharAttributeFunction QUnicodeTools::Tailored::charAttributeFunction[] |
Definition at line 2241 of file qunicodetools.cpp.
Referenced by getCharAttributes().
|
static |
Definition at line 828 of file qunicodetools.cpp.
Referenced by form().
|
static |
Definition at line 2051 of file qunicodetools.cpp.
Referenced by getKhmerCharClass().
|
static |
Definition at line 2151 of file qunicodetools.cpp.
Referenced by khmer_nextSyllableBoundary().
|
static |
Definition at line 1777 of file qunicodetools.cpp.
Referenced by getMyanmarCharClass().
|
static |
Definition at line 1808 of file qunicodetools.cpp.
Referenced by myanmar_nextSyllableBoundary().
|
static |
Definition at line 1582 of file qunicodetools.cpp.