Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
main.cpp File Reference
#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 (int argc, char *argv[])
 [2]
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

[2]

[3]

[2]

[0]

[0] //! [1]

[1]

Definition at line 11 of file main.cpp.

References app, QTextCursor::atEnd(), cursor, QTextEdit::document, QApplication::exec(), QTextCursor::isNull(), QTextCursor::KeepAnchor, QTextCursor::mergeCharFormat(), QTextCursor::movePosition(), Qt::red, QTextFormat::setForeground(), QTextCursor::Start, QTextEdit::textCursor(), tr, and QTextCursor::WordRight.

+ 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: