summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2012-06-13 21:45:44 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-28 06:21:46 +0200
commit50eed2d068138e30d508f8b230cfaaeb116e659c (patch)
tree766786bdcbfd024376f3b1c5594150b20e30d438 /src/gui/painting
parent894e9ce66dcb85b9af4e5bded492fda33c59c435 (diff)
Get started with patching up the Qt GUI docs
Primary goal, make the front page of the Qt GUI module a bit more clarifying and avoid downstream references inside the Qt GUI docs. Change-Id: Icbcfbb64b93963add889bf83711daa9575885c02 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qbackingstore.cpp1
-rw-r--r--src/gui/painting/qbrush.cpp5
-rw-r--r--src/gui/painting/qcolor.cpp1
-rw-r--r--src/gui/painting/qmatrix.cpp1
-rw-r--r--src/gui/painting/qpagedpaintdevice.cpp1
-rw-r--r--src/gui/painting/qpaintengine.cpp2
-rw-r--r--src/gui/painting/qpainter.cpp3
-rw-r--r--src/gui/painting/qpainterpath.cpp3
-rw-r--r--src/gui/painting/qpdfwriter.cpp1
-rw-r--r--src/gui/painting/qpen.cpp1
-rw-r--r--src/gui/painting/qpolygon.cpp2
-rw-r--r--src/gui/painting/qregion.cpp1
-rw-r--r--src/gui/painting/qtransform.cpp1
13 files changed, 23 insertions, 0 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp
index 14694769a9..88be97b717 100644
--- a/src/gui/painting/qbackingstore.cpp
+++ b/src/gui/painting/qbackingstore.cpp
@@ -68,6 +68,7 @@ public:
/*!
\class QBackingStore
\since 5.0
+ \inmodule QtGui
\brief The QBackingStore class provides the drawing area for top-level windows.
*/
diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp
index 6ee28a42b9..32686c5a31 100644
--- a/src/gui/painting/qbrush.cpp
+++ b/src/gui/painting/qbrush.cpp
@@ -261,6 +261,7 @@ struct QBrushDataPointerDeleter
\class QBrush
\ingroup painting
\ingroup shared
+ \inmodule QtGui
\brief The QBrush class defines the fill pattern of shapes drawn
by QPainter.
@@ -1171,6 +1172,7 @@ QDataStream &operator>>(QDataStream &s, QBrush &b)
\class QGradient
\ingroup painting
\ingroup shared
+ \inmodule QtGui
\brief The QGradient class is used in combination with QBrush to
specify gradient fills.
@@ -1526,6 +1528,7 @@ bool QGradient::operator==(const QGradient &gradient) const
/*!
\class QLinearGradient
\ingroup painting
+ \inmodule QtGui
\brief The QLinearGradient class is used in combination with QBrush to
specify a linear gradient brush.
@@ -1705,6 +1708,7 @@ void QLinearGradient::setFinalStop(const QPointF &stop)
/*!
\class QRadialGradient
\ingroup painting
+ \inmodule QtGui
\brief The QRadialGradient class is used in combination with QBrush to
specify a radial gradient brush.
@@ -2087,6 +2091,7 @@ void QRadialGradient::setFocalPoint(const QPointF &focalPoint)
/*!
\class QConicalGradient
\ingroup painting
+ \inmodule QtGui
\brief The QConicalGradient class is used in combination with QBrush to
specify a conical gradient brush.
diff --git a/src/gui/painting/qcolor.cpp b/src/gui/painting/qcolor.cpp
index c45136e1d8..61a218df83 100644
--- a/src/gui/painting/qcolor.cpp
+++ b/src/gui/painting/qcolor.cpp
@@ -58,6 +58,7 @@ QT_BEGIN_NAMESPACE
\ingroup painting
\ingroup appearance
+ \inmodule QtGui
A color is normally specified in terms of RGB (red, green, and
diff --git a/src/gui/painting/qmatrix.cpp b/src/gui/painting/qmatrix.cpp
index 5b2ccbd056..1ab6e66481 100644
--- a/src/gui/painting/qmatrix.cpp
+++ b/src/gui/painting/qmatrix.cpp
@@ -59,6 +59,7 @@ QT_BEGIN_NAMESPACE
\obsolete
\ingroup painting
+ \inmodule QtGui
A matrix specifies how to translate, scale, shear or rotate the
coordinate system, and is typically used when rendering graphics.
diff --git a/src/gui/painting/qpagedpaintdevice.cpp b/src/gui/painting/qpagedpaintdevice.cpp
index 7195ab8394..dc05bc3dee 100644
--- a/src/gui/painting/qpagedpaintdevice.cpp
+++ b/src/gui/painting/qpagedpaintdevice.cpp
@@ -82,6 +82,7 @@ static const struct {
/*!
\class QPagedPaintDevice
+ \inmodule QtGui
\brief The QPagedPaintDevice class is a represents a paintdevice that supports
multiple pages.
diff --git a/src/gui/painting/qpaintengine.cpp b/src/gui/painting/qpaintengine.cpp
index 4af2651ce8..3233338eda 100644
--- a/src/gui/painting/qpaintengine.cpp
+++ b/src/gui/painting/qpaintengine.cpp
@@ -56,6 +56,7 @@ QT_BEGIN_NAMESPACE
/*!
\class QTextItem
+ \inmodule QtGui
\brief The QTextItem class provides all the information required to draw
text in a custom paint engine.
@@ -146,6 +147,7 @@ QFont QTextItem::font() const
/*!
\class QPaintEngine
\ingroup painting
+ \inmodule QtGui
\brief The QPaintEngine class provides an abstract definition of how
QPainter draws to a given device on a given platform.
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index f49b4d92b1..6c361bfbca 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -926,6 +926,7 @@ void QPainterPrivate::updateState(QPainterState *newState)
\brief The QPainter class performs low-level painting on widgets and
other paint devices.
+ \inmodule QtGui
\ingroup painting
\reentrant
@@ -7764,6 +7765,7 @@ void QPainterState::init(QPainter *p) {
/*!
\class QPaintEngineState
\since 4.1
+ \inmodule QtGui
\brief The QPaintEngineState class provides information about the
active paint engine's current state.
@@ -8306,6 +8308,7 @@ void QPainter::drawPixmapFragments(const PixmapFragment *fragments, int fragment
/*!
\since 4.7
\class QPainter::PixmapFragment
+ \inmodule QtGui
\brief This class is used in conjunction with the
QPainter::drawPixmapFragments() function to specify how a pixmap, or
diff --git a/src/gui/painting/qpainterpath.cpp b/src/gui/painting/qpainterpath.cpp
index f249fe1f4a..823ced7757 100644
--- a/src/gui/painting/qpainterpath.cpp
+++ b/src/gui/painting/qpainterpath.cpp
@@ -166,6 +166,7 @@ static void qt_debug_path(const QPainterPath &path)
\class QPainterPath
\ingroup painting
\ingroup shared
+ \inmodule QtGui
\brief The QPainterPath class provides a container for painting operations,
enabling graphical shapes to be constructed and reused.
@@ -349,6 +350,7 @@ static void qt_debug_path(const QPainterPath &path)
/*!
\class QPainterPath::Element
+ \inmodule QtGui
\brief The QPainterPath::Element class specifies the position and
type of a subpath.
@@ -2477,6 +2479,7 @@ void qt_path_stroke_cubic_to(qfixed c1x, qfixed c1y,
\since 4.1
\class QPainterPathStroker
\ingroup painting
+ \inmodule QtGui
\brief The QPainterPathStroker class is used to generate fillable
outlines for a given painter path.
diff --git a/src/gui/painting/qpdfwriter.cpp b/src/gui/painting/qpdfwriter.cpp
index f9a969c166..e3bddb7466 100644
--- a/src/gui/painting/qpdfwriter.cpp
+++ b/src/gui/painting/qpdfwriter.cpp
@@ -67,6 +67,7 @@ public:
/*! \class QPdfWriter
+ \inmodule QtGui
\brief The QPdfWriter class is a class to generate PDFs
that can be used as a paint device.
diff --git a/src/gui/painting/qpen.cpp b/src/gui/painting/qpen.cpp
index 9d03f7591c..bfea2c59ae 100644
--- a/src/gui/painting/qpen.cpp
+++ b/src/gui/painting/qpen.cpp
@@ -52,6 +52,7 @@ typedef QPenPrivate QPenData;
/*!
\class QPen
+ \inmodule QtGui
\ingroup painting
\ingroup shared
diff --git a/src/gui/painting/qpolygon.cpp b/src/gui/painting/qpolygon.cpp
index 38f70d9e2a..d3d90ff6d2 100644
--- a/src/gui/painting/qpolygon.cpp
+++ b/src/gui/painting/qpolygon.cpp
@@ -88,6 +88,7 @@ static void qt_polygon_isect_line(const QPointF &p1, const QPointF &p2, const QP
\class QPolygon
\brief The QPolygon class provides a vector of points using
integer precision.
+ \inmodule QtGui
\reentrant
@@ -481,6 +482,7 @@ QDebug operator<<(QDebug dbg, const QPolygon &a)
\class QPolygonF
\brief The QPolygonF class provides a vector of points using
floating point precision.
+ \inmodule QtGui
\reentrant
\ingroup painting
diff --git a/src/gui/painting/qregion.cpp b/src/gui/painting/qregion.cpp
index 357380e2d8..cea9f74d90 100644
--- a/src/gui/painting/qregion.cpp
+++ b/src/gui/painting/qregion.cpp
@@ -57,6 +57,7 @@ QT_BEGIN_NAMESPACE
\class QRegion
\brief The QRegion class specifies a clip region for a painter.
+ \inmodule QtGui
\ingroup painting
\ingroup shared
diff --git a/src/gui/painting/qtransform.cpp b/src/gui/painting/qtransform.cpp
index 924a444805..94f9acac45 100644
--- a/src/gui/painting/qtransform.cpp
+++ b/src/gui/painting/qtransform.cpp
@@ -96,6 +96,7 @@ QT_BEGIN_NAMESPACE
\brief The QTransform class specifies 2D transformations of a coordinate system.
\since 4.3
\ingroup painting
+ \inmodule QtGui
A transformation specifies how to translate, scale, shear, rotate
or project the coordinate system, and is typically used when