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

📄 qchar.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
📖 第 1 页 / 共 2 页
字号:
.TH QChar 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQChar \- Light-weight Unicode character.SH SYNOPSIS.br.PP\fC#include <qstring.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQChar\fR () ".br.ti -1c.BI "\fBQChar\fR ( char c ) ".br.ti -1c.BI "\fBQChar\fR ( uchar c ) ".br.ti -1c.BI "\fBQChar\fR ( uchar " "c" ", uchar r ) ".br.ti -1c.BI "\fBQChar\fR ( const QChar & c ) ".br.ti -1c.BI "\fBQChar\fR ( ushort rc ) ".br.ti -1c.BI "\fBQChar\fR ( short rc ) ".br.ti -1c.BI "\fBQChar\fR ( uint rc ) ".br.ti -1c.BI "\fBQChar\fR ( int rc ) ".br.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, DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN }".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 }".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 "QChar \fBmirroredChar\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 "operator \fBchar\fR ()const".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 \fBisLetterOrNumber\fR () const".br.ti -1c.BI "bool \fBisDigit\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 RELATED FUNCTION DOCUMENTATION(Note that these are not member functions.).in +1c.ti -1c.BI "int \fBoperator<=\fR (QChar " "c" ", char " "ch" ")".br.ti -1c.BI "int \fBoperator>=\fR (QChar " "c1" ", QChar " "c2" ")".br.ti -1c.BI "int \fBoperator>=\fR (char " "ch" ", QChar " "c" ")".br.ti -1c.BI "int \fBoperator!=\fR (QChar " "c" ", char " "ch" ")".br.ti -1c.BI "int \fBoperator>=\fR (QChar " "c" ", char " "ch" ")".br.ti -1c.BI "int \fBoperator!=\fR (QChar " "c1" ", QChar " "c2" ")".br.ti -1c.BI "int \fBoperator!=\fR (char " "ch" ", QChar " "c" ")".br.ti -1c.BI "int \fBoperator<=\fR (QChar " "c1" ", QChar " "c2" ")".br.ti -1c.BI "int \fBoperator>\fR (char " "ch" ", QChar " "c" ")".br.ti -1c.BI "int \fBoperator<\fR (QChar " "c1" ", QChar " "c2" ")".br.ti -1c.BI "int \fBoperator==\fR (QChar " "c1" ", QChar " "c2" ")".br.ti -1c.BI "int \fBoperator<=\fR (char " "ch" ", QChar " "c" ")".br.ti -1c.BI "int \fBoperator>\fR (QChar " "c1" ", QChar " "c2" ")".br.ti -1c.BI "int \fBoperator<\fR (char " "ch" ", QChar " "c" ")".br.ti -1c.BI "int \fBoperator>\fR (QChar " "c" ", char " "ch" ")".br.ti -1c.BI "int \fBoperator<\fR (QChar " "c" ", char " "ch" ")".br.ti -1c.BI "int \fBoperator==\fR (char " "ch" ", QChar " "c" ")".br.ti -1c.BI "int \fBoperator==\fR (QChar " "c" ", char " "ch" ")".br.in -1c.SH DESCRIPTIONThe QChar class provides a light-weight Unicode character..PPUnicode characters are (so far) 16-bit entities without any markup or structure. This class represents such an entity. It is rather light-weight, so it can be used everywhere. Most compilers treat it approximately like "short int". (In a few years, it may be necessary to make QChar 32-bit, once more than 65536 Unicode code points have been defined and come into use.).PPQChar provides a full complement of testing/classification functions, conversion to and from other formats, from composed to decomposed unicode, and will try to compare and case-convert if you ask it to..PPThe classification functions include functions like those in ctype.h, but operating on the full range of unicode characters. They all return TRUE if the character is a certain type of character, and FALSE otherwise..PPThese functions are: isNull() (returns TRUE if the character is U+0000), isPrint() (TRUE if the character is any sort of printable character, including whitespace), isPunct() (any sort of punctation), isMark() (Unicode Marks), isLetter (letters), isNumber() (any sort of numeric characters), isLetterOrNumber(), and isDigit() (decimal digits). All of these are wrappers around category(), which returns the unicode-defined category of each character..PPQChar further provides direction(), which indicates the "natural" writing direction of this character, joining(), which indicates how this character joins with its neighbors (needed mostly for Arabic) and finally mirrored(), which indicates whether this character needs to be mirrored when it is printed in its unnatural writing direction..PP

⌨️ 快捷键说明

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