diff options
Diffstat (limited to 'doc/src/widgets/qtdesigner-app-tutorial.qdoc')
-rw-r--r-- | doc/src/widgets/qtdesigner-app-tutorial.qdoc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/src/widgets/qtdesigner-app-tutorial.qdoc b/doc/src/widgets/qtdesigner-app-tutorial.qdoc index edabb72f5e..06fcd438cf 100644 --- a/doc/src/widgets/qtdesigner-app-tutorial.qdoc +++ b/doc/src/widgets/qtdesigner-app-tutorial.qdoc @@ -31,8 +31,7 @@ \title Creating a Qt Widget Based Application This tutorial describes how to use \QC to create a small Qt application, - Text Finder. It is a simplified version of the Qt UI Tools - \l{http://qt-project.org/doc/qt-5.0/qtuitools/textfinder.html}{Text Finder + Text Finder. It is a simplified version of the Qt UI Tools \l{Text Finder example}. The application user interface is constructed from Qt widgets by using \QD. The application logic is written in C++ by using the code editor. @@ -198,7 +197,7 @@ \endlist For more information about designing forms with \QD, see the - \l{http://qt-project.org/doc/qt-5.0/qtdesigner/qtdesigner-manual.html}{Qt Designer Manual}. + \l{Qt Designer Manual}. \section2 Completing the Header File @@ -232,8 +231,7 @@ \li Add code to load a text file using QFile, read it with QTextStream, and then display it on \c{textEdit} with - \l{http://qt-project.org/doc/qt-5.0/qtwidgets/qtextedit.html#plainText-prop} - {setPlainText()}. + \l{QTextEdit::setPlainText()}. This is illustrated by the following code snippet: \snippet textfinder/textfinder.cpp 0 @@ -244,9 +242,7 @@ \snippet textfinder/textfinder.cpp 1 \li For the \c{on_findButton_clicked()} slot, add code to extract the - search string and use the - \l{http://qt-project.org/doc/qt-5.0/qtwidgets/qtextedit.html#find}{find()} - function + search string and use the \l{QTextEdit::find()} function to look for the search string within the text file. This is illustrated by the following code snippet: |