Fix qdoc link warnings after moving a few examples to manual tests
Change-Id: I81a6e9d52e858c3f733d4c527c70408772813b56 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 71f156fff07f6c876941096134f6ee4ac90a9309) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2d83c9d026
commit
cd54a5e837
@ -116,8 +116,7 @@
|
|||||||
\section1 The MainWindow Class
|
\section1 The MainWindow Class
|
||||||
|
|
||||||
The \c MainWindow class is a standard QMainWindow subclass, as
|
The \c MainWindow class is a standard QMainWindow subclass, as
|
||||||
found in many of the other examples (e.g.,
|
found in many of the other examples. Here, we'll
|
||||||
\l{mainwindows/application}{Application}). Here, we'll
|
|
||||||
concentrate on the parts of the code that are related to plugins.
|
concentrate on the parts of the code that are related to plugins.
|
||||||
|
|
||||||
\snippet tools/plugandpaint/app/mainwindow.cpp 4
|
\snippet tools/plugandpaint/app/mainwindow.cpp 4
|
||||||
|
@ -297,7 +297,7 @@
|
|||||||
callbacks, you'd have to find five different names and keep track
|
callbacks, you'd have to find five different names and keep track
|
||||||
of the types yourself.
|
of the types yourself.
|
||||||
|
|
||||||
\sa QLCDNumber, QObject::connect(), {Digital Clock Example},
|
\sa QLCDNumber, QObject::connect()
|
||||||
{Tetrix Example}
|
{Tetrix Example}
|
||||||
|
|
||||||
\section1 Signals And Slots With Default Arguments
|
\section1 Signals And Slots With Default Arguments
|
||||||
|
@ -1120,7 +1120,7 @@ void QItemSelectionModelPrivate::_q_modelDestroyed()
|
|||||||
\l{QItemSelectionModel::hasSelection()}{hasSelection}, and
|
\l{QItemSelectionModel::hasSelection()}{hasSelection}, and
|
||||||
\l{QItemSelectionModel::currentIndex()}{currentIndex} are meta-object properties.
|
\l{QItemSelectionModel::currentIndex()}{currentIndex} are meta-object properties.
|
||||||
|
|
||||||
\sa {Model/View Programming}, QAbstractItemModel, {Chart Example}
|
\sa {Model/View Programming}, QAbstractItemModel
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -4,3 +4,11 @@
|
|||||||
//! [0]
|
//! [0]
|
||||||
statusBar()->addWidget(new MyReadWriteIndication);
|
statusBar()->addWidget(new MyReadWriteIndication);
|
||||||
//! [0]
|
//! [0]
|
||||||
|
|
||||||
|
//! [1]
|
||||||
|
statusBar()->showMessage(tr("Ready"));
|
||||||
|
//! [1]
|
||||||
|
|
||||||
|
//! [2]
|
||||||
|
statusBar()->showMessage(tr("Ready"), 2000);
|
||||||
|
//! [2]
|
||||||
|
@ -2311,10 +2311,8 @@
|
|||||||
\section1 Related Examples
|
\section1 Related Examples
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li \l{itemviews/dirview}{Dir View}
|
|
||||||
\li \l{itemviews/spinboxdelegate}{Spin Box Delegate}
|
\li \l{itemviews/spinboxdelegate}{Spin Box Delegate}
|
||||||
\li \l{itemviews/pixelator}{Pixelator}
|
\li \l{itemviews/pixelator}{Pixelator}
|
||||||
\li \l{itemviews/simpletreemodel}{Simple Tree Model}
|
\li \l{itemviews/simpletreemodel}{Simple Tree Model}
|
||||||
\li \l{itemviews/chart}{Chart}
|
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
@ -263,8 +263,8 @@
|
|||||||
\section1 How to Write A Custom Layout Manager
|
\section1 How to Write A Custom Layout Manager
|
||||||
|
|
||||||
An alternative to manual layout is to write your own layout manager by
|
An alternative to manual layout is to write your own layout manager by
|
||||||
subclassing QLayout. The \l{layouts/borderlayout}{Border Layout} and
|
subclassing QLayout. The
|
||||||
\l{layouts/flowlayout}{Flow Layout} examples show how to do this.
|
\l{layouts/flowlayout}{Flow Layout} example shows how to do this.
|
||||||
|
|
||||||
Here we present an example in detail. The \c CardLayout class is inspired
|
Here we present an example in detail. The \c CardLayout class is inspired
|
||||||
by the Java layout manager of the same name. It lays out the items (widgets
|
by the Java layout manager of the same name. It lays out the items (widgets
|
||||||
|
@ -318,7 +318,7 @@ void QAbstractItemViewPrivate::_q_delegateSizeHintChanged(const QModelIndex &ind
|
|||||||
\l{QWidget::update()}{update()} as all painting operations take place on the
|
\l{QWidget::update()}{update()} as all painting operations take place on the
|
||||||
viewport.
|
viewport.
|
||||||
|
|
||||||
\sa {View Classes}, {Model/View Programming}, QAbstractItemModel, {Chart Example}
|
\sa {View Classes}, {Model/View Programming}, QAbstractItemModel
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -1188,7 +1188,7 @@ int QTableViewPrivate::heightHintForIndex(const QModelIndex &index, int hint, QS
|
|||||||
operations between x-coordinates and column indexes.
|
operations between x-coordinates and column indexes.
|
||||||
|
|
||||||
\sa QTableWidget, {View Classes}, QAbstractItemModel, QAbstractItemView,
|
\sa QTableWidget, {View Classes}, QAbstractItemModel, QAbstractItemView,
|
||||||
{Chart Example}, {Pixelator Example}, {Table Model Example}
|
{Pixelator Example}, {Table Model Example}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -124,8 +124,7 @@ QT_BEGIN_NAMESPACE
|
|||||||
that can be taken for views that are intended to display items with equal heights
|
that can be taken for views that are intended to display items with equal heights
|
||||||
is to set the \l uniformRowHeights property to true.
|
is to set the \l uniformRowHeights property to true.
|
||||||
|
|
||||||
\sa QListView, QTreeWidget, {View Classes}, QAbstractItemModel, QAbstractItemView,
|
\sa QListView, QTreeWidget, {View Classes}, QAbstractItemModel, QAbstractItemView
|
||||||
{Dir View Example}
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -57,14 +57,13 @@ static int menuBarHeightForWidth(QWidget *menubar, int w)
|
|||||||
resized to zero size if there is too little space. To support
|
resized to zero size if there is too little space. To support
|
||||||
children whose heights depend on their widths, implement
|
children whose heights depend on their widths, implement
|
||||||
hasHeightForWidth() and heightForWidth(). See the
|
hasHeightForWidth() and heightForWidth(). See the
|
||||||
\l{layouts/borderlayout}{Border Layout} and
|
\l{layouts/flowlayout}{Flow Layout} example for
|
||||||
\l{layouts/flowlayout}{Flow Layout} examples for
|
|
||||||
more information about implementing custom layout managers.
|
more information about implementing custom layout managers.
|
||||||
|
|
||||||
Geometry management stops when the layout manager is deleted.
|
Geometry management stops when the layout manager is deleted.
|
||||||
|
|
||||||
\sa QLayoutItem, {Layout Management}, {Basic Layouts Example},
|
\sa QLayoutItem, {Layout Management}, {Basic Layouts Example},
|
||||||
{Border Layout Example}, {Flow Layout Example}
|
{Flow Layout Example}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -221,9 +221,6 @@ private:
|
|||||||
The scroller uses the global QAbstractAnimation timer to generate its QScrollEvents. This
|
The scroller uses the global QAbstractAnimation timer to generate its QScrollEvents. This
|
||||||
can be changed with QScrollerProperties::FrameRate on a per-QScroller basis.
|
can be changed with QScrollerProperties::FrameRate on a per-QScroller basis.
|
||||||
|
|
||||||
The \l {Dir View Example} shows one way to use a QScroller with a QTreeView.
|
|
||||||
An example in the \c scroller examples directory also demonstrates QScroller.
|
|
||||||
|
|
||||||
Even though this kinetic scroller has a large number of settings available via
|
Even though this kinetic scroller has a large number of settings available via
|
||||||
QScrollerProperties, we recommend that you leave them all at their default, platform optimized
|
QScrollerProperties, we recommend that you leave them all at their default, platform optimized
|
||||||
values. Before changing them you can experiment with the \c plot example in
|
values. Before changing them you can experiment with the \c plot example in
|
||||||
|
@ -1286,7 +1286,7 @@ void QDockWidgetPrivate::setWindowState(bool floating, bool unplug, const QRect
|
|||||||
possible to drag the dock widget when undocking. Starting the drag will undock
|
possible to drag the dock widget when undocking. Starting the drag will undock
|
||||||
the dock widget, but a second drag will be needed to move the dock widget itself.
|
the dock widget, but a second drag will be needed to move the dock widget itself.
|
||||||
|
|
||||||
\sa QMainWindow, {Dock Widgets Example}
|
\sa QMainWindow
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -381,7 +381,7 @@ void QFontComboBoxPrivate::_q_currentChanged(const QString &text)
|
|||||||
|
|
||||||
\image windowsvista-fontcombobox.png Screenshot of QFontComboBox on Windows Vista
|
\image windowsvista-fontcombobox.png Screenshot of QFontComboBox on Windows Vista
|
||||||
|
|
||||||
\sa QComboBox, QFont, QFontInfo, QFontMetrics, QFontDatabase, {Character Map Example}
|
\sa QComboBox, QFont, QFontInfo, QFontMetrics, QFontDatabase
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -69,7 +69,7 @@ public:
|
|||||||
Incidentally, QLCDNumber is the very oldest part of Qt, tracing
|
Incidentally, QLCDNumber is the very oldest part of Qt, tracing
|
||||||
its roots back to a BASIC program on the \l{Sinclair Spectrum}{Sinclair Spectrum}.
|
its roots back to a BASIC program on the \l{Sinclair Spectrum}{Sinclair Spectrum}.
|
||||||
|
|
||||||
\sa QLabel, QFrame, {Digital Clock Example}, {Tetrix Example}
|
\sa QLabel, QFrame, {Tetrix Example}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -281,7 +281,7 @@ void QMainWindowPrivate::init()
|
|||||||
of the toolbars and dock widgets that are stored.
|
of the toolbars and dock widgets that are stored.
|
||||||
|
|
||||||
\sa QMenuBar, QToolBar, QStatusBar, QDockWidget,
|
\sa QMenuBar, QToolBar, QStatusBar, QDockWidget,
|
||||||
{Qt Widgets - Application Example}, {Dock Widgets Example},
|
{Qt Widgets - Application Example},
|
||||||
{MDI Example}, {Menus Example}
|
{MDI Example}, {Menus Example}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -151,12 +151,12 @@ QRect QStatusBarPrivate::messageRect() const
|
|||||||
|
|
||||||
Use the showMessage() slot to display a \e temporary message:
|
Use the showMessage() slot to display a \e temporary message:
|
||||||
|
|
||||||
\snippet mainwindows/dockwidgets/mainwindow.cpp 8
|
\snippet code/src_gui_widgets_qstatusbar.cpp 1
|
||||||
|
|
||||||
To remove a temporary message, use the clearMessage() slot, or set
|
To remove a temporary message, use the clearMessage() slot, or set
|
||||||
a time limit when calling showMessage(). For example:
|
a time limit when calling showMessage(). For example:
|
||||||
|
|
||||||
\snippet mainwindows/dockwidgets/mainwindow.cpp 3
|
\snippet code/src_gui_widgets_qstatusbar.cpp 2
|
||||||
|
|
||||||
Use the currentMessage() function to retrieve the temporary
|
Use the currentMessage() function to retrieve the temporary
|
||||||
message currently shown. The QStatusBar class also provide the
|
message currently shown. The QStatusBar class also provide the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user