52 #include <QApplication>
144 static const QChar data[4] = { 0x0055, 0x006e, 0x10e3, 0x03a3 };
169 qDebug() <<
"Found character in range [a-f]";
179 if (
str ==
"auto" ||
str ==
"extern"
180 ||
str ==
"static" ||
str ==
"register") {
199 QString str =
"We must be <b>bold</b>, very <b>bold</b>";
203 qDebug() <<
"Found <b> tag at index position" <<
j;
296 str =
QString(
"Decimal 63 is %1 in hexadecimal")
361 while (!
data->isNull()) {
393 static const QChar unicode[] = {
394 0x005A, 0x007F, 0x00A4, 0x0060,
395 0x1009, 0x0020, 0x0020};
561 QString str =
"colour behaviour flavour neighbour";
652 QString csv =
"forename,middlename,surname,phone";
668 QString data =
"forename**middlename**surname**phone";
675 QString line =
"forename\tmiddlename surname \t \t phone";
715 str =
"Some text\n\twith strange whitespace.";
721 str =
"This time, a normal English sentence.";
727 str =
"Now: this sentence fragment.";
789 d =
QString(
"1234.56e-02 Volt" ).toDouble(&
ok);
960 int main(
int argc,
char *argv[])
small capitals from c petite p scientific f u
small capitals from c petite p scientific i
[1]
The QApplication class manages the GUI application's control flow and main settings.
The QChar class provides a 16-bit Unicode character.
QVariant data(int key) const
QGraphicsObject * parent
the parent of the item
static void setDefault(const QLocale &locale)
The QRegularExpression class provides pattern matching using regular expressions.
The QRegularExpressionMatch class provides the results of a matching a QRegularExpression against a s...
The QString class provides a Unicode character string.
QString & prepend(QChar c)
double toDouble(bool *ok=nullptr) const
QString leftJustified(qsizetype width, QChar fill=QLatin1Char(' '), bool trunc=false) const
QString last(qsizetype n) const
qsizetype lastIndexOf(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
int toInt(bool *ok=nullptr, int base=10) const
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QString & fill(QChar c, qsizetype size=-1)
QString & replace(qsizetype i, qsizetype len, QChar after)
qlonglong toLongLong(bool *ok=nullptr, int base=10) const
qulonglong toULongLong(bool *ok=nullptr, int base=10) const
QStringList split(const QString &sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
void truncate(qsizetype pos)
ushort toUShort(bool *ok=nullptr, int base=10) const
uint toUInt(bool *ok=nullptr, int base=10) const
QString rightJustified(qsizetype width, QChar fill=QLatin1Char(' '), bool trunc=false) const
QString section(QChar sep, qsizetype start, qsizetype end=-1, SectionFlags flags=SectionDefault) const
static QString fromRawData(const QChar *, qsizetype size)
QString first(qsizetype n) const
QString simplified() const &
long toLong(bool *ok=nullptr, int base=10) const
const QChar at(qsizetype i) const
float toFloat(bool *ok=nullptr) const
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
short toShort(bool *ok=nullptr, int base=10) const
int compare(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
QString & insert(qsizetype i, QChar c)
QString arg(qlonglong a, int fieldwidth=0, int base=10, QChar fillChar=QLatin1Char(' ')) const
QString toLower() const &
bool contains(QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
static QString number(int, int base=10)
QString sliced(qsizetype pos) const
QString & append(QChar c)
static QString static QString qsizetype indexOf(QChar c, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QString trimmed() const &
QString & setNum(short, int base=10)
ulong toULong(bool *ok=nullptr, int base=10) const
QString & remove(qsizetype i, qsizetype len)
QString toUpper() const &
void resize(qsizetype size)
The QStringList class provides a list of strings.
The QStringView class provides a unified view on UTF-16 strings with a read-only subset of the QStrin...
The QTextStream class provides a convenient interface for reading and writing text.
int main(int argc, char **argv)
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int compareStrings(QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
unsigned long long quint64
GLboolean GLboolean GLboolean b
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat z
GLint GLint GLint GLint GLint x
[0]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLsizei const GLchar *const * path
#define QStringLiteral(str)
QApplication app(argc, argv)
[0]
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent