⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qchar.3qt

📁 tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件
💻 3QT
字号:
.TH QChar 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQChar \- A Unicode character.SH SYNOPSIS.br.PP\fC#include <qstring.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "enum \fBCategory\fR { NoCategory, Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, Number_Letter, Number_Other, Separator_Space, Separator_Line, Separator_Paragraph, Other_Control, Other_Format, Other_Surrogate, Other_PrivateUse, Other_NotAssigned, Letter_Uppercase, Letter_Lowercase, Letter_Titlecase, Letter_Modifier, Letter_Other, Punctuation_Connector, Punctuation_Dask, Punctuation_Open, Punctuation_Close, Punctuation_InitialQuote, Punctuation_FinalQuote, Punctuation_Other, Symbol_Math, Symbol_Currency, Symbol_Modifier, Symbol_Other }".br.ti -1c.BI "enum \fBDirection\fR { DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, DirWS, DirON }".br.ti -1c.BI "enum \fBDecomposition\fR { Single, Canonical, Font, NoBreak, Initial, Medial, Final, Isolated, Circle, Super, Sub, Vertical, Wide, Narrow, Small, Square, Compat, Fraction }".br.ti -1c.BI "enum \fBJoining\fR { OtherJoining, Dual, Right, Center, Unknown }".br.ti -1c.BI "bool \fBisNull\fR () const".br.ti -1c.BI "bool \fBisPrint\fR () const".br.ti -1c.BI "bool \fBisPunct\fR () const".br.ti -1c.BI "bool \fBisSpace\fR () const".br.ti -1c.BI "bool \fBisMark\fR () const".br.ti -1c.BI "bool \fBisLetter\fR () const".br.ti -1c.BI "bool \fBisNumber\fR () const".br.ti -1c.BI "bool \fBisDigit\fR () const".br.ti -1c.BI "int \fBdigitValue\fR () const".br.ti -1c.BI "QChar \fBlower\fR () const".br.ti -1c.BI "QChar \fBupper\fR () const".br.ti -1c.BI "Category \fBcategory\fR () const".br.ti -1c.BI "Direction \fBdirection\fR () const".br.ti -1c.BI "Joining \fBjoining\fR () const".br.ti -1c.BI "bool \fBmirrored\fR () const".br.ti -1c.BI "QString \fBdecomposition\fR () const".br.ti -1c.BI "Decomposition \fBdecompositionTag\fR () const".br.ti -1c.BI "char \fBlatin1\fR () const".br.ti -1c.BI "ushort \fBunicode\fR () const".br.ti -1c.BI "uchar& \fBcell\fR ()".br.ti -1c.BI "uchar& \fBrow\fR ()".br.ti -1c.BI "uchar \fBcell\fR () const".br.ti -1c.BI "uchar \fBrow\fR () const".br.in -1c.SS "Static Public Members".in +1c.ti -1c.BI "bool \fBnetworkOrdered\fR ()".br.in -1c.SH DESCRIPTIONA Unicode character..PPA QChar is a simple 16-bit value representing a Unicode character. Most C++ compilers will process them much as they would a "short int"..PPQChar values are normally used in combination with QString..PPThey can be trivially constructed from:.IP "\fCchar\fR" 1cthe char is assumed to be a Latin-1 character, for example QChar('Q') is the Unicode character U0051 and QChar('t') is the Unicode character U0074..IP "\fCshort\fR" 1cthe MSB is the high-order byte (row) of the Unicode character, for example QChar(ushort(0x6817)) is the Unicode character U6817 meaning \fIkuri\fR - chestnut tree - in Japanese..IP "\fCchar, char\fR" 1cthe characters are LSB and MSB respectively, for example QChar(0x25,0x04) is the Unicode character U0425 which is the Cyrillic letter YA which looks like a mirrored R..PP.SH MEMBER FUNCTION DOCUMENTATION.SH "QString QChar::decomposition () const"Decomposes a character into its parts. Returns QString::null if no decomposition exists..SH "int QChar::digitValue () const"Returns the numeric value of the digit, or -1 if the character is not a digit..SH "bool QChar::isDigit () const"Returns whether the character is a decimal digit (Number_DecimalDigit)..SH "bool QChar::isLetter () const"Returns whether the character is a letter (Letter_* categories)..SH "bool QChar::isMark () const"Returns whether the character is a mark (Mark_* categories)..SH "bool QChar::isNumber () const"Returns whether the character is a number (of any sort - Number_* categories)..PPSee also: isDigit()..SH "bool QChar::isPrint () const"Returns whether the character is a printable character. This is and character of category Cc or Cn. Note that this gives no indication of whether the character is available in some font..SH "bool QChar::isPunct () const"Returns whether the character is puntuation (Punctuation_* categories)..SH "bool QChar::isSpace () const"Returns whether the character is a separator character (Separator_* categories)..SH "QChar QChar::lower () const"Returns the lowercase equivalent if the character is uppercase, or the character itself otherwise..SH "bool QChar::mirrored () const"Returns whether the character is a mirrored character (one that should be reversed if the text direction is reversed)..SH "ushort QChar::unicode () const"Returns the numeric Unicode value equal to the QChar. Normally, you should use QChar objects as they are equivalent, but for some low-level tasks (eg. indexing into an array of Unicode information), this function is useful..SH "QChar QChar::upper () const"Returns the uppercase equivalent if the character is lowercase,or the character itself otherwise..SH "SEE ALSO".BR http://www.troll.no/qt/qchar.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -