![]() |
Qt 6.x
The Qt SDK
|
#include <QApplication>
#include <QTextEdit>
Go to the source code of this file.
Functions | |
QString | tr (const char *text) |
int | main_textblock_formats (int argc, char *argv[]) |
int main_textblock_formats | ( | int | argc, |
char * | argv[] | ||
) |
[0]
[0]
[1]
[1]
Definition at line 11 of file main.cpp.
References Qt::AlignJustify, Qt::AlignRight, app, cursor, QApplication::exec(), QTextBlockFormat::setAlignment(), QTextFormat::setBackground(), QTextBlockFormat::setBottomMargin(), QTextBlockFormat::setLeftMargin(), QTextBlockFormat::setRightMargin(), QTextBlockFormat::setTextIndent(), QTextBlockFormat::setTopMargin(), QTextCursor::Start, QTextEdit::textCursor(), and tr.
QString tr | ( | const char * | text | ) |
Definition at line 6 of file main.cpp.
References text, and QCoreApplication::translate().