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

📄 qchar.3qt

📁 Linux 下的图形编程环境。
💻 3QT
📖 第 1 页 / 共 2 页
字号:
.PPSee also QString, QCharRef and About Unicode.SS "Member Type Documentation".SH "QChar::Category"This enum maps the Unicode character categories. The currently known categories are: .TP\fCNoCategory\fR - used when Qt is dazed and confused and cannot make sense of anything..TP\fCMark_NonSpacing\fR - (Mn) -.TP\fCMark_SpacingCombining\fR - (Mc) -.TP\fCMark_Enclosing\fR - (Me) -.TP\fCNumber_DecimalDigit\fR - (Nd) -.TP\fCNumber_Letter\fR - (Nl) -.TP\fCNumber_Other\fR - (No) -.TP\fCSeparator_Space\fR - (Zs) -.TP\fCSeparator_Line\fR - (Zl) -.TP\fCSeparator_Paragraph\fR - (Zp) -.TP\fCOther_Control\fR - (Cc) -.TP\fCOther_Format\fR - (Cf) -.TP\fCOther_Surrogate\fR - (Cs) -.TP\fCOther_PrivateUse\fR - (Co) -.TP\fCOther_NotAssigned\fR - (Cn) -.TP\fCLetter_Uppercase\fR - (Lu) -.TP\fCLetter_Lowercase\fR - (Ll) -.TP\fCLetter_Titlecase\fR - (Lt) -.TP\fCLetter_Modifier\fR - (Lm) -.TP\fCLetter_Other\fR - (Lo) -.TP\fCPunctuation_Connector\fR - (Pc) -.TP\fCPunctuation_Dask\fR - (Pd) -.TP\fCPunctuation_Open\fR - (Ps) -.TP\fCPunctuation_Close\fR - (Pe) -.TP\fCPunctuation_InitialQuote\fR - (Pi) -.TP\fCPunctuation_FinalQuote\fR - (Pf) -.TP\fCPunctuation_Other\fR - (Po) -.TP\fCSymbol_Math\fR - (Sm) -.TP\fCSymbol_Currency\fR - (Sc) -.TP\fCSymbol_Modifier\fR - (Sk) -.TP\fCSymbol_Other\fR - (So) -.IP.SH "QChar::Decomposition"This enum type defines the Unicode decomposition attributes. See the Unicode Standard for a description of the values..SH "QChar::Direction"This enum type defines the Unicode direction attributes. See the Unicode Standard for a description of the values..PPIn order to conform to C/C++ naming conventions "Dir" is prepended to the codes used in The Unicode Standard..SH "QChar::Joining"This enum type defines the Unicode decomposition attributes. See the Unicode Standard for a description of the values..SH MEMBER FUNCTION DOCUMENTATION.SH "QChar::QChar ()"Constructs a null QChar (one that isNull())..SH "QChar::QChar ( char c )"Constructs a QChar corresponding to ASCII/Latin1 character \fIc.\fR.SH "QChar::QChar ( const QChar & c )"Constructs a copy of \fIc.\fR This is a deep copy, if such a light-weight object can be said to have deep copies..SH "QChar::QChar ( int rc )"Constructs a QChar for the character with Unicode code point \fIrc.\fR.SH "QChar::QChar ( short rc )"Constructs a QChar for the character with Unicode code point \fIrc.\fR.SH "QChar::QChar ( uchar c )"Constructs a QChar corresponding to ASCII/Latin1 character \fIc.\fR.SH "QChar::QChar ( uchar c, uchar r )"Constructs a QChar for Unicode cell \fIc\fR in row \fIr.\fR.SH "QChar::QChar ( uint rc )"Constructs a QChar for the character with Unicode code point \fIrc.\fR.SH "QChar::QChar ( ushort rc )"Constructs a QChar for the character with Unicode code point \fIrc.\fR.SH "QChar::operator char () const"Returns the Latin1 character equivalent to the QChar, or 0. This is mainly useful for non-internationalized software..PPSee also unicode()..SH "QChar::Category QChar::category() const"Returns the character category..PPSee also Category..SH "uchar QChar::cell () const"Returns the cell (least significant byte) of the Unicode character..SH "uchar& QChar::cell ()"Returns a reference to the cell (least significant byte) of the Unicode character..SH "QString QChar::decomposition () const"Decomposes a character into its parts. Returns QString::null if no decomposition exists..SH "QChar::Decomposition QChar::decompositionTag() const"Returns the tag defining the composition of the character. Returns QChar::Single 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 "QChar::Direction QChar::direction() const"Returns the characters directionality..PPSee also Direction..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::isLetterOrNumber () const"Returns whether the character is a letter or number (Letter_* or Number_* categories)..SH "bool QChar::isMark () const"Returns whether the character is a mark (Mark_* categories)..SH "bool QChar::isNull () const"Returns TRUE if the characters is the unicode character 0x0000, ie. ASCII NUL..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 any character not 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 punctuation (Punctuation_* categories)..SH "bool QChar::isSpace () const"Returns whether the character is a separator character (Separator_* categories)..SH "QChar::Joining QChar::joining() const"This function is not supported (it may change to use Unicode character classes)..PPReturns information about the joining properties of the character (needed for arabic)..SH "char QChar::latin1 () const"Returns a latin-1 copy of this character, if this character is in the latin-1 character set. If not, this function returns 0..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 "QChar QChar::mirroredChar () const"Returns the mirrored char if this character is a mirrored char, the char itself otherwise..SH "bool QChar::networkOrdered () \fC[static]\fR"Returns TRUE if this character is in network byte order (MSB first), and FALSE if it is not. This is a platform-dependent property, so we strongly advise against using this function in portable code..SH "uchar QChar::row () const"Returns the row (most significant byte) of the Unicode character..SH "uchar& QChar::row ()"Returns a reference to the row (most significant byte) of the Unicode character..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 RELATED FUNCTION DOCUMENTATION.SH "int operator<= (QChar c, char ch)"Returns TRUE if the numeric Unicode value of \fIc\fR is less than or equal to that of the ASCII/Latin1 character \fIch.\fR.SH "int operator>= (QChar c1, QChar c2)"Returns TRUE if the numeric Unicode value of \fIc1\fR is greater than that of \fIc2,\fR or they are the same Unicode character..SH "int operator>= (char ch, QChar c)"Returns TRUE if the numeric Unicode value of the ASCII/Latin1 character \fIch\fR is greater than or equal to that of \fIc.\fR.SH "int operator!= (QChar c, char ch)"Returns TRUE if \fIc\fR is not the ASCII/Latin1 character \fIch.\fR.SH "int operator>= (QChar c, char ch)"Returns TRUE if the numeric Unicode value of \fIc\fR is greater than or equal to that of the ASCII/Latin1 character \fIch.\fR.SH "int operator!= (QChar c1, QChar c2)"Returns TRUE if \fIc1\fR and \fIc2\fR are not the same Unicode character..SH "int operator!= (char ch, QChar c)"Returns TRUE if \fIc\fR is not the ASCII/Latin1 character \fIch.\fR.SH "int operator<= (QChar c1, QChar c2)"Returns TRUE if the numeric Unicode value of \fIc1\fR is less than that of \fIc2,\fR or they are the same Unicode character..SH "int operator> (char ch, QChar c)"Returns TRUE if the numeric Unicode value of the ASCII/Latin1 character \fIch\fR is greater than that of \fIc.\fR.SH "int operator< (QChar c1, QChar c2)"Returns TRUE if the numeric Unicode value of \fIc1\fR is less than that of \fIc2.\fR.SH "int operator== (QChar c1, QChar c2)"Returns TRUE if \fIc1\fR and \fIc2\fR are the same Unicode character..SH "int operator<= (char ch, QChar c)"Returns TRUE if the numeric Unicode value of the ASCII/Latin1 character \fIch\fR is less than or equal to that of \fIc.\fR.SH "int operator> (QChar c1, QChar c2)"Returns TRUE if the numeric Unicode value of \fIc1\fR is greater than that of \fIc2.\fR.SH "int operator< (char ch, QChar c)"Returns TRUE if the numeric Unicode value of the ASCII/Latin1 character \fIch\fR is less than that of \fIc.\fR.SH "int operator> (QChar c, char ch)"Returns TRUE if the numeric Unicode value of \fIc\fR is greater than that of the ASCII/Latin1 character \fIch.\fR.SH "int operator< (QChar c, char ch)"Returns TRUE if the numeric Unicode value of \fIc\fR is less than that of the ASCII/Latin1 character \fIch.\fR.SH "int operator== (char ch, QChar c)"Returns TRUE if \fIc\fR is the ASCII/Latin1 character \fIch.\fR.SH "int operator== (QChar c, char ch)"Returns TRUE if \fIc\fR is the ASCII/Latin1 character \fIch.\fR.SH "SEE ALSO".BR http://doc.trolltech.com/qchar.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qchar.3qt) and the Qtversion (2.3.0).

⌨️ 快捷键说明

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