diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-16 15:49:43 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-02-20 11:59:13 +0100 |
commit | 5b3b7c4f85179d63aa901b66d26da3c2f88be3ca (patch) | |
tree | 05d75d46848c394889fb7e26667315f53821ac54 /src | |
parent | 273202689fcddd5ae8af9596f46f03fc5fa6a6fa (diff) | |
download | qttools-5b3b7c4f85179d63aa901b66d26da3c2f88be3ca.tar.gz |
Qt Designer/QtUiTools examples: Drop 'Example' from titles
Task-number: QTBUG-110447
Pick-to: 6.5
Change-Id: Ia9c06560f15dfee58a8a441c3791785827b70913
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/designer/src/designer/doc/src/designer-examples.qdoc | 2 | ||||
-rw-r--r-- | src/designer/src/designer/doc/src/designer-manual.qdoc | 13 | ||||
-rw-r--r-- | src/uiplugin/customwidget.qdoc | 4 | ||||
-rw-r--r-- | src/uitools/doc/src/qtuitools-examples.qdoc | 2 | ||||
-rw-r--r-- | src/uitools/quiloader.cpp | 2 |
5 files changed, 11 insertions, 12 deletions
diff --git a/src/designer/src/designer/doc/src/designer-examples.qdoc b/src/designer/src/designer/doc/src/designer-examples.qdoc index 199c46db7..e362b9674 100644 --- a/src/designer/src/designer/doc/src/designer-examples.qdoc +++ b/src/designer/src/designer/doc/src/designer-examples.qdoc @@ -20,7 +20,7 @@ \li \l{arthurplugin}{Arthur Plugin} \li \l{calculatorbuilder}{Calculator Builder}\raisedaster \li \l{calculatorform}{Calculator Form}\raisedaster - \li \l{calculatorform_mi}{Calculator Form Example/Multiple Inheritance Example}\raisedaster + \li \l{calculatorform_mi}{Calculator Form/Multiple Inheritance}\raisedaster \li \l{customwidgetplugin}{Custom Widget Plugin}\raisedaster \li \l{taskmenuextension}{Task Menu Extension}\raisedaster \li \l{containerextension}{Container Extension}\raisedaster diff --git a/src/designer/src/designer/doc/src/designer-manual.qdoc b/src/designer/src/designer/doc/src/designer-manual.qdoc index 4cd7a819f..b32bb6b2b 100644 --- a/src/designer/src/designer/doc/src/designer-manual.qdoc +++ b/src/designer/src/designer/doc/src/designer-manual.qdoc @@ -1750,7 +1750,7 @@ pixmap property in the property editor. \endlist To demonstrate, we create a simple Calculator Form application. It is based on the - original \l{Calculator Form Example}{Calculator Form} example. + original \l{Calculator Form} example. The application consists of one source file, \c main.cpp and a UI file. @@ -1827,8 +1827,7 @@ pixmap property in the property editor. interface and other objects in your application. The generated \c{Ui::CalculatorForm} structure is a member of the class. - This approach is used in the \l{Calculator Form Example}{Calculator Form} - example. + This approach is used in the \l{Calculator Form} example. To ensure that we can use the user interface, we need to include the header file that \c uic generates before referring to \c{Ui::CalculatorForm}: @@ -2009,7 +2008,7 @@ pixmap property in the property editor. \snippet manual/doc_src_designer-manual.cpp 1 The QUiLoader::load() function is invoked as shown in this code from the - \l{Text Finder Example}{Text Finder} example: + \l{Text Finder} example: \snippet ../uitools/textfinder/textfinder.cpp 4 @@ -2090,7 +2089,7 @@ pixmap property in the property editor. \snippet autoconnection/imagedialog.h 0 Another example of automatic signal and slot connection would be the - \l{Text Finder Example}{Text Finder} with its \c{on_findButton_clicked()} + \l{Text Finder} with its \c{on_findButton_clicked()} slot. We use QMetaObject's system to enable signal and slot connections: @@ -2671,7 +2670,7 @@ pixmap property in the property editor. \section2 A Simple Plugin - The \l{Custom Widget Plugin Example} demonstrates a simple \QD plugin. + The \l{Custom Widget Plugin} demonstrates a simple \QD plugin. The project file for a plugin must specify the headers and sources for both the custom widget and the plugin interface. Typically, this file only @@ -2778,7 +2777,7 @@ pixmap property in the property editor. For more information on using custom widgets in \QD, refer to the \l{customwidgetplugin}{Custom Widget Plugin} and - \l{taskmenuextension}{Task Menu Extension Example} examples for more + \l{taskmenuextension}{Task Menu Extension} examples for more information about using custom widgets in \QD. Also, you can use the QDesignerCustomWidgetCollectionInterface class to combine several custom widgets into a single library. diff --git a/src/uiplugin/customwidget.qdoc b/src/uiplugin/customwidget.qdoc index 5127e52ae..5d401d480 100644 --- a/src/uiplugin/customwidget.qdoc +++ b/src/uiplugin/customwidget.qdoc @@ -19,7 +19,7 @@ When implementing a custom widget you must subclass QDesignerCustomWidgetInterface to expose your widget to \QD. For example, this is the declaration for the plugin used in the - \l{Custom Widget Plugin Example}{Custom Widget Plugin example} that + \l{Custom Widget Plugin} example that enables an analog clock custom widget to be used by \QD: \snippet customwidgetplugin/customwidgetplugin.h 0 @@ -205,7 +205,7 @@ Using this macro ensures that the symbols are retained on those platforms, and has no side effects on other platforms. - For example, the \l{customwidgetplugin}{Custom Widget Plugin Example} + For example, the \l{customwidgetplugin}{Custom Widget Plugin} example exports a custom widget class with the following declaration: \snippet customwidgetplugin/analogclock.h 0 diff --git a/src/uitools/doc/src/qtuitools-examples.qdoc b/src/uitools/doc/src/qtuitools-examples.qdoc index 90cf190e6..14ed9989b 100644 --- a/src/uitools/doc/src/qtuitools-examples.qdoc +++ b/src/uitools/doc/src/qtuitools-examples.qdoc @@ -19,7 +19,7 @@ /* \list - \li \l{Text Finder Example}\raisedaster + \li \l{Text Finder}\raisedaster \endlist Examples marked with an asterisk (*) are fully documented. diff --git a/src/uitools/quiloader.cpp b/src/uitools/quiloader.cpp index a06d4717b..0c0e07b6d 100644 --- a/src/uitools/quiloader.cpp +++ b/src/uitools/quiloader.cpp @@ -601,7 +601,7 @@ void QUiLoaderPrivate::setupWidgetMap() const a form or creating a custom widget. For a complete example using the QUiLoader class, see the - \l{Calculator Builder Example}. + \l{Calculator Builder}. \sa {Qt UI Tools}, QFormBuilder */ |