diff options
Diffstat (limited to 'src/widgets/kernel')
23 files changed, 45 insertions, 9 deletions
diff --git a/src/widgets/kernel/qaction.cpp b/src/widgets/kernel/qaction.cpp index a65869a903..61be508d39 100644 --- a/src/widgets/kernel/qaction.cpp +++ b/src/widgets/kernel/qaction.cpp @@ -196,7 +196,7 @@ void QActionPrivate::setShortcutEnabled(bool enable, QShortcutMap &map) action that can be inserted into widgets. \ingroup mainwindow-classes - + \inmodule QtWidgets \omit * parent and widget are different diff --git a/src/widgets/kernel/qactiongroup.cpp b/src/widgets/kernel/qactiongroup.cpp index 25ff59947c..0397883009 100644 --- a/src/widgets/kernel/qactiongroup.cpp +++ b/src/widgets/kernel/qactiongroup.cpp @@ -106,6 +106,7 @@ void QActionGroupPrivate::_q_actionHovered() \brief The QActionGroup class groups actions together. \ingroup mainwindow-classes + \inmodule QtWidgets In some situations it is useful to group QAction objects together. For example, if you have a \gui{Left Align} action, a \gui{Right diff --git a/src/widgets/kernel/qapplication.cpp b/src/widgets/kernel/qapplication.cpp index b87c0c9d8a..07035e927f 100644 --- a/src/widgets/kernel/qapplication.cpp +++ b/src/widgets/kernel/qapplication.cpp @@ -205,6 +205,8 @@ QApplicationPrivate::~QApplicationPrivate() \brief The QApplication class manages the GUI application's control flow and main settings. + \inmodule QtWidgets + QApplication contains the main event loop, where all events from the window system and other sources are processed and dispatched. It also handles the application's initialization, finalization, and provides session @@ -4198,6 +4200,8 @@ bool QApplicationPrivate::notify_helper(QObject *receiver, QEvent * e) \class QSessionManager \brief The QSessionManager class provides access to the session manager. + \inmodule QtWidgets + A session manager in a desktop environment (in which Qt GUI applications live) keeps track of a session, which is a group of running applications, each of which has a particular state. The state of an application contains diff --git a/src/widgets/kernel/qboxlayout.cpp b/src/widgets/kernel/qboxlayout.cpp index dd69f3a7be..059c59fa1c 100644 --- a/src/widgets/kernel/qboxlayout.cpp +++ b/src/widgets/kernel/qboxlayout.cpp @@ -452,6 +452,7 @@ void QBoxLayoutPrivate::calcHfw(int w) vertically. \ingroup geomanagement + \inmodule QtWidgets QBoxLayout takes the space it gets (from its parent layout or from the parentWidget()), divides it up into a row of boxes, and makes @@ -1231,6 +1232,7 @@ QBoxLayout::Direction QBoxLayout::direction() const \brief The QHBoxLayout class lines up widgets horizontally. \ingroup geomanagement + \inmodule QtWidgets This class is used to construct horizontal box layout objects. See QBoxLayout for details. @@ -1293,6 +1295,7 @@ QHBoxLayout::~QHBoxLayout() \brief The QVBoxLayout class lines up widgets vertically. \ingroup geomanagement + \inmodule QtWidgets This class is used to construct vertical box layout objects. See QBoxLayout for details. diff --git a/src/widgets/kernel/qdesktopwidget.qdoc b/src/widgets/kernel/qdesktopwidget.qdoc index f71155e117..4d63e2f466 100644 --- a/src/widgets/kernel/qdesktopwidget.qdoc +++ b/src/widgets/kernel/qdesktopwidget.qdoc @@ -31,6 +31,7 @@ \ingroup advanced \ingroup desktop + \inmodule QtWidgets Systems with more than one graphics card and monitor can manage the physical screen space available either as multiple desktops, or as a diff --git a/src/widgets/kernel/qformlayout.cpp b/src/widgets/kernel/qformlayout.cpp index 5c43acfe0a..6430472462 100644 --- a/src/widgets/kernel/qformlayout.cpp +++ b/src/widgets/kernel/qformlayout.cpp @@ -1007,7 +1007,7 @@ QStyle* QFormLayoutPrivate::getStyle() const \brief The QFormLayout class manages forms of input widgets and their associated labels. \ingroup geomanagement - + \inmodule QtWidgets QFormLayout is a convenience layout class that lays out its children in a two-column form. The left column consists of labels diff --git a/src/widgets/kernel/qgesture.cpp b/src/widgets/kernel/qgesture.cpp index 92f4c9cfc6..12a0eaf45a 100644 --- a/src/widgets/kernel/qgesture.cpp +++ b/src/widgets/kernel/qgesture.cpp @@ -52,6 +52,7 @@ QT_BEGIN_NAMESPACE \class QGesture \since 4.6 \ingroup gestures + \inmodule QtWidgets \brief The QGesture class represents a gesture, containing properties that describe the corresponding user input. @@ -220,6 +221,7 @@ QGesture::GestureCancelPolicy QGesture::gestureCancelPolicy() const \since 4.6 \brief The QPanGesture class describes a panning gesture made by the user. \ingroup gestures + \inmodule QtWidgets \image pangesture.png @@ -336,6 +338,7 @@ void QPanGesture::setAcceleration(qreal value) \brief The QPinchGesture class describes a pinch gesture made by the user. \ingroup touch \ingroup gestures + \inmodule QtWidgets A pinch gesture is a form of touch user input in which the user typically touches two points on the input device with a thumb and finger, before moving @@ -600,6 +603,7 @@ void QPinchGesture::setRotationAngle(qreal value) \since 4.6 \brief The QSwipeGesture class describes a swipe gesture made by the user. \ingroup gestures + \inmodule QtWidgets \image swipegesture.png @@ -706,6 +710,7 @@ void QSwipeGesture::setSwipeAngle(qreal value) \since 4.6 \brief The QTapGesture class describes a tap gesture made by the user. \ingroup gestures + \inmodule QtWidgets For an overview of gesture handling in Qt and information on using gestures in your applications, see the \l{Gestures Programming} document. @@ -742,6 +747,7 @@ void QTapGesture::setPosition(const QPointF &value) \brief The QTapAndHoldGesture class describes a tap-and-hold (aka LongTap) gesture made by the user. \ingroup gestures + \inmodule QtWidgets For an overview of gesture handling in Qt and information on using gestures in your applications, see the \l{Gestures Programming} document. @@ -807,6 +813,7 @@ int QTapAndHoldGesturePrivate::Timeout = 700; // in ms \since 4.6 \ingroup events \ingroup gestures + \inmodule QtWidgets \brief The QGestureEvent class provides the description of triggered gestures. diff --git a/src/widgets/kernel/qgesturerecognizer.cpp b/src/widgets/kernel/qgesturerecognizer.cpp index 887617569d..98f8b0a758 100644 --- a/src/widgets/kernel/qgesturerecognizer.cpp +++ b/src/widgets/kernel/qgesturerecognizer.cpp @@ -53,6 +53,7 @@ QT_BEGIN_NAMESPACE \since 4.6 \brief The QGestureRecognizer class provides the infrastructure for gesture recognition. \ingroup gestures + \inmodule QtWidgets Gesture recognizers are responsible for creating and managing QGesture objects and monitoring input events sent to QWidget and QGraphicsObject subclasses. diff --git a/src/widgets/kernel/qgridlayout.cpp b/src/widgets/kernel/qgridlayout.cpp index 3fafb62444..9168346e30 100644 --- a/src/widgets/kernel/qgridlayout.cpp +++ b/src/widgets/kernel/qgridlayout.cpp @@ -980,7 +980,7 @@ QRect QGridLayoutPrivate::cellRect(int row, int col) const \brief The QGridLayout class lays out widgets in a grid. \ingroup geomanagement - + \inmodule QtWidgets QGridLayout takes the space made available to it (by its parent layout or by the parentWidget()), divides it up into rows and diff --git a/src/widgets/kernel/qguiplatformplugin.cpp b/src/widgets/kernel/qguiplatformplugin.cpp index 708859d811..09a364c150 100644 --- a/src/widgets/kernel/qguiplatformplugin.cpp +++ b/src/widgets/kernel/qguiplatformplugin.cpp @@ -116,8 +116,8 @@ QGuiPlatformPlugin *qt_guiPlatformPlugin() QGuiPlatformPlugin can be used to integrate Qt applications in a platform built on top of Qt. The application developer should not know or use the plugin, it is only used by Qt internaly. - But full platform that are built on top of Qt may provide a plugin so 3rd party Qt application - running in the platform are integrated. + But full platforms that are built on top of Qt may provide a plugin so 3rd party Qt applications + running on the platform are integrated. */ /* diff --git a/src/widgets/kernel/qicon.cpp b/src/widgets/kernel/qicon.cpp index 73f8a2a360..e1ba8d4306 100644 --- a/src/widgets/kernel/qicon.cpp +++ b/src/widgets/kernel/qicon.cpp @@ -467,7 +467,7 @@ Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loaderV2, \ingroup painting \ingroup shared - + \inmodule QtWidgets A QIcon can generate smaller, larger, active, and disabled pixmaps from the set of pixmaps it is given. Such pixmaps are used by Qt diff --git a/src/widgets/kernel/qiconengine.cpp b/src/widgets/kernel/qiconengine.cpp index 8d71e4055a..52e8cfd384 100644 --- a/src/widgets/kernel/qiconengine.cpp +++ b/src/widgets/kernel/qiconengine.cpp @@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE \brief The QIconEngine class provides an abstract base class for QIcon renderers. \ingroup painting + \inmodule QtWidgets \bold {Use QIconEngineV2 instead.} @@ -145,6 +146,8 @@ void QIconEngine::addFile(const QString &/*fileName*/, const QSize &/*size*/, QI \brief The QIconEngineV2 class provides an abstract base class for QIcon renderers. \ingroup painting + \inmodule QtWidgets + \since 4.3 An icon engine renders \l{QIcon}s. With icon engines, you can @@ -194,6 +197,8 @@ void QIconEngine::addFile(const QString &/*fileName*/, const QSize &/*size*/, QI \class QIconEngineV2::AvailableSizesArgument \since 4.5 + \inmodule QtWidgets + This struct represents arguments to virtual_hook() function when \a id parameter is QIconEngineV2::AvailableSizesHook. diff --git a/src/widgets/kernel/qiconengineplugin.cpp b/src/widgets/kernel/qiconengineplugin.cpp index e1389ae726..2775fb201d 100644 --- a/src/widgets/kernel/qiconengineplugin.cpp +++ b/src/widgets/kernel/qiconengineplugin.cpp @@ -49,6 +49,7 @@ QT_BEGIN_NAMESPACE \brief The QIconEnginePlugin class provides an abstract base for custom QIconEngine plugins. \ingroup plugins + \inmodule QtWidgets \bold {Use QIconEnginePluginV2 instead.} @@ -109,6 +110,8 @@ QIconEnginePlugin::~QIconEnginePlugin() \brief The QIconEnginePluginV2 class provides an abstract base for custom QIconEngineV2 plugins. \ingroup plugins + \inmodule QtWidgets + \since 4.3 Icon engine plugins produces \l{QIconEngine}s for \l{QIcon}s; an diff --git a/src/widgets/kernel/qinputcontext.cpp b/src/widgets/kernel/qinputcontext.cpp index 05ed9369f6..7724773478 100644 --- a/src/widgets/kernel/qinputcontext.cpp +++ b/src/widgets/kernel/qinputcontext.cpp @@ -78,6 +78,7 @@ QT_BEGIN_NAMESPACE \brief The QInputContext class abstracts the input method dependent data and composing state. \ingroup i18n + \inmodule QtWidgets An input method is responsible for inputting complex text that cannot be inputted via simple keymap. It converts a sequence of input diff --git a/src/widgets/kernel/qlayout.cpp b/src/widgets/kernel/qlayout.cpp index 68c1dd9c67..ebf9cf6cae 100644 --- a/src/widgets/kernel/qlayout.cpp +++ b/src/widgets/kernel/qlayout.cpp @@ -76,6 +76,7 @@ static int menuBarHeightForWidth(QWidget *menubar, int w) \brief The QLayout class is the base class of geometry managers. \ingroup geomanagement + \inmodule QtWidgets This is an abstract base class inherited by the concrete classes QBoxLayout, QGridLayout, QFormLayout, and QStackedLayout. diff --git a/src/widgets/kernel/qlayoutitem.cpp b/src/widgets/kernel/qlayoutitem.cpp index e3857454ad..5fcda5dfea 100644 --- a/src/widgets/kernel/qlayoutitem.cpp +++ b/src/widgets/kernel/qlayoutitem.cpp @@ -88,6 +88,7 @@ QSizePolicy::operator QVariant() const QLayout manipulates. \ingroup geomanagement + \inmodule QtWidgets This is used by custom layouts. @@ -118,6 +119,8 @@ QSizePolicy::operator QVariant() const \ingroup geomanagement \brief The QSpacerItem class provides blank space in a layout. + \inmodule QtWidgets + Normally, you don't need to use this class directly. Qt's built-in layout managers provide the following functions for manipulating empty space in layouts: @@ -145,6 +148,8 @@ QSizePolicy::operator QVariant() const \ingroup geomanagement \brief The QWidgetItem class is a layout item that represents a widget. + \inmodule QtWidgets + Normally, you don't need to use this class directly. Qt's built-in layout managers provide the following functions for manipulating widgets in layouts: diff --git a/src/widgets/kernel/qsizepolicy.qdoc b/src/widgets/kernel/qsizepolicy.qdoc index f3e5e9f5e8..e4d1cc137c 100644 --- a/src/widgets/kernel/qsizepolicy.qdoc +++ b/src/widgets/kernel/qsizepolicy.qdoc @@ -31,6 +31,7 @@ and vertical resizing policy. \ingroup geomanagement + \inmodule QtWidgets The size policy of a widget is an expression of its willingness to be resized in various ways, and affects how the widget is treated diff --git a/src/widgets/kernel/qsound.cpp b/src/widgets/kernel/qsound.cpp index 255ff5d86d..c6ab9809fb 100644 --- a/src/widgets/kernel/qsound.cpp +++ b/src/widgets/kernel/qsound.cpp @@ -106,7 +106,7 @@ public: \brief The QSound class provides access to the platform audio facilities. \ingroup multimedia - + \inmodule QtWidgets Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file. This is most diff --git a/src/widgets/kernel/qstackedlayout.cpp b/src/widgets/kernel/qstackedlayout.cpp index c75f430fb8..950db2178c 100644 --- a/src/widgets/kernel/qstackedlayout.cpp +++ b/src/widgets/kernel/qstackedlayout.cpp @@ -65,6 +65,7 @@ public: only one widget is visible at a time. \ingroup geomanagement + \inmodule QtWidgets QStackedLayout can be used to create a user interface similar to the one provided by QTabWidget. There is also a convenience diff --git a/src/widgets/kernel/qtooltip.cpp b/src/widgets/kernel/qtooltip.cpp index f880243a7e..fb1b67922d 100644 --- a/src/widgets/kernel/qtooltip.cpp +++ b/src/widgets/kernel/qtooltip.cpp @@ -73,7 +73,7 @@ QT_BEGIN_NAMESPACE widget. \ingroup helpsystem - + \inmodule QtWidgets The tip is a short piece of text reminding the user of the widget's function. It is drawn immediately below the given diff --git a/src/widgets/kernel/qwhatsthis.cpp b/src/widgets/kernel/qwhatsthis.cpp index 2032b4add7..11b4f0cd84 100644 --- a/src/widgets/kernel/qwhatsthis.cpp +++ b/src/widgets/kernel/qwhatsthis.cpp @@ -78,7 +78,7 @@ QT_BEGIN_NAMESPACE widget, i.e. answering the question "What's This?". \ingroup helpsystem - + \inmodule QtWidgets "What's This?" help is part of an application's online help system, and provides users with information about the diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 981defeb07..af5e2ef065 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -511,6 +511,7 @@ void QWidget::setAutoFillBackground(bool enabled) \brief The QWidget class is the base class of all user interface objects. \ingroup basicwidgets + \inmodule QtWidgets The widget is the atom of the user interface: it receives mouse, keyboard and other events from the window system, and paints a representation of diff --git a/src/widgets/kernel/qwidgetaction.cpp b/src/widgets/kernel/qwidgetaction.cpp index 03acb7836b..a2c2477922 100644 --- a/src/widgets/kernel/qwidgetaction.cpp +++ b/src/widgets/kernel/qwidgetaction.cpp @@ -55,6 +55,7 @@ QT_BEGIN_NAMESPACE as toolbars. \ingroup mainwindow-classes + \inmodule QtWidgets Most actions in an application are represented as items in menus or buttons in toolbars. However sometimes more complex widgets are |