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 <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]
[Adding a resource]
[Adding a resource]
[Inserting an image with a cursor]
[Inserting an image with a cursor]
[Inserting an image using HTML]
[Inserting an image using HTML]
Definition at line 11 of file main.cpp.
References app, QTextEdit::append(), cursor, QApplication::exec(), QImage::Format_RGB32, QTextDocument::ImageResource, qRgb(), QTextEdit::setDocument(), QTextImageFormat::setName(), and tr.
QString tr | ( | const char * | text | ) |
Definition at line 6 of file main.cpp.
References text, and QCoreApplication::translate().