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>.
Loading...
Searching...
No Matches
main.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include <QApplication>
#include <QTextEdit>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

QString tr (const char *text)
 
int main_textblock_formats (int argc, char *argv[])
 

Function Documentation

◆ main_textblock_formats()

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::setTopMargin(), QTextCursor::Start, QTextEdit::textCursor(), and tr.

+ Here is the call graph for this function:

◆ tr()

QString tr ( const char * text)

Definition at line 6 of file main.cpp.

References text, and QCoreApplication::translate().

+ Here is the call graph for this function: