diff options
author | Martin Smith <msmith@trolltech.com> | 2009-06-12 11:44:43 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-06-12 11:45:21 (GMT) |
commit | d86ec1c4bec373090d85835f1bec44b025fa2fbc (patch) | |
tree | cea5edf6f4e9ab048ae8d62ada064b5b8ed70b0d /src/gui | |
parent | 643e58248a22e54134c99d2ba70371f7f57b4040 (diff) | |
download | Qt-d86ec1c4bec373090d85835f1bec44b025fa2fbc.zip Qt-d86ec1c4bec373090d85835f1bec44b025fa2fbc.tar.gz Qt-d86ec1c4bec373090d85835f1bec44b025fa2fbc.tar.bz2 |
doc: Fixed several qdoc warnings.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/painting/qdrawutil.cpp | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/src/gui/painting/qdrawutil.cpp b/src/gui/painting/qdrawutil.cpp index 4020593..29b922d 100644 --- a/src/gui/painting/qdrawutil.cpp +++ b/src/gui/painting/qdrawutil.cpp @@ -1046,9 +1046,19 @@ void qDrawItem(QPainter *p, Qt::GUIStyle gs, draw it, similar to \l{http://www.w3.org/TR/css3-background/} {CSS3 border-images}. - \sa qDrawBorderPixmap, Qt::TileRule, QTileRules + \sa Qt::TileRule, QTileRules */ +/*! \fn QMargins::QMargins(int margin) + Constructs a QMargins with the top, left, bottom, and + right margins set to \a margin. +*/ + +/*! \fn QMargins::QMargins(int topMargin, int leftMargin, int bottomMargin, int rightMargin) + Constructs a QMargins with the given \a topMargin, \a leftMargin, + \a bottomMargin, and \a rightMargin. + */ + /*! \class QTileRules \since 4.6 @@ -1056,20 +1066,37 @@ void qDrawItem(QPainter *p, Qt::GUIStyle gs, Holds the rules used to draw a pixmap or image split into nine segments, similar to \l{http://www.w3.org/TR/css3-background/}{CSS3 border-images}. - \sa qDrawBorderPixmap, Qt::TileRule, QMargins + \sa Qt::TileRule, QMargins */ +/*! \fn QTileRules::QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule) + Constructs a QTileRules with the given \a horizontalRule and + \a verticalRule. + */ + +/*! \fn QTileRules::QTileRules(Qt::TileRule rule) + Constructs a QTileRules with the given \a rule used for both + the horizontal rule and the vertical rule. + */ + /*! - \fn qDrawBorderPixmap(QPainter *painter, const QRect &target, const QMargins &margins, const QPixmap &pixmap) + \fn void qDrawBorderPixmap(QPainter *painter, const QRect &target, const QMargins &margins, const QPixmap &pixmap) \since 4.6 + \relates QMargins Draws the given \a pixmap into the given \a target rectangle, using the given \a painter. The pixmap will be split into nine segments and drawn according to the \a margins structure. */ -static inline void qVerticalRepeat(QPainter *painter, const QRect &target, const QPixmap &pixmap, const QRect &source, - void (*drawPixmap)(QPainter*, const QRect&, const QPixmap&, const QRect&)) +static inline void qVerticalRepeat(QPainter *painter, + const QRect &target, + const QPixmap &pixmap, + const QRect &source, + void (*drawPixmap)(QPainter*, + const QRect&, + const QPixmap&, + const QRect&)) { const int x = target.x(); const int width = target.width(); |