Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QApplication>
#include <QTextBlock>
#include <QTextEdit>
Go to the source code of this file.
Functions | |
QString | tr (const char *text) |
int | main (int argc, char *argv[]) |
[2] | |
int main | ( | int | argc, |
char * | argv[] ) |
[2]
[3]
[2]
[0]
[0] //! [1]
[1] //! [2]
[2]
Definition at line 12 of file main.cpp.
References app, QTextBlock::begin(), QTextFragment::charFormat(), QTextFragment::contains(), cursor, QApplication::exec(), QTextFragment::isValid(), it, QTextCursor::KeepAnchor, QTextFragment::length(), QTextFragment::position(), QTextCursor::setCharFormat(), QTextEdit::setDocument(), QTextImageFormat::setName(), QTextCursor::setPosition(), QTextFormat::toImageFormat(), and tr.
QString tr | ( | const char * | text | ) |
Definition at line 7 of file main.cpp.
References text, and QCoreApplication::translate().