equal
deleted
inserted
replaced
82 } |
82 } |
83 |
83 |
84 |
84 |
85 /*! |
85 /*! |
86 \qmlclass GradientStop QDeclarativeGradientStop |
86 \qmlclass GradientStop QDeclarativeGradientStop |
|
87 \ingroup qml-basic-visual-elements |
87 \since 4.7 |
88 \since 4.7 |
88 \brief The GradientStop item defines the color at a position in a Gradient |
89 \brief The GradientStop item defines the color at a position in a Gradient |
89 |
90 |
90 \sa Gradient |
91 \sa Gradient |
91 */ |
92 */ |
103 grad->doUpdate(); |
104 grad->doUpdate(); |
104 } |
105 } |
105 |
106 |
106 /*! |
107 /*! |
107 \qmlclass Gradient QDeclarativeGradient |
108 \qmlclass Gradient QDeclarativeGradient |
|
109 \ingroup qml-basic-visual-elements |
108 \since 4.7 |
110 \since 4.7 |
109 \brief The Gradient item defines a gradient fill. |
111 \brief The Gradient item defines a gradient fill. |
110 |
112 |
111 A gradient is defined by two or more colors, which will be blended seemlessly. The |
113 A gradient is defined by two or more colors, which will be blended seemlessly. The |
112 colors are specified at their position in the range 0.0 - 1.0 via |
114 colors are specified at their position in the range 0.0 - 1.0 via |
150 } |
152 } |
151 |
153 |
152 |
154 |
153 /*! |
155 /*! |
154 \qmlclass Rectangle QDeclarativeRectangle |
156 \qmlclass Rectangle QDeclarativeRectangle |
|
157 \ingroup qml-basic-visual-elements |
155 \since 4.7 |
158 \since 4.7 |
156 \brief The Rectangle item allows you to add rectangles to a scene. |
159 \brief The Rectangle item allows you to add rectangles to a scene. |
157 \inherits Item |
160 \inherits Item |
158 |
161 |
159 A Rectangle is painted using a solid fill (color) and an optional border. |
162 A Rectangle is painted using a solid fill (color) and an optional border. |
175 \image declarative-rect.png |
178 \image declarative-rect.png |
176 */ |
179 */ |
177 |
180 |
178 int QDeclarativeRectanglePrivate::doUpdateSlotIdx = -1; |
181 int QDeclarativeRectanglePrivate::doUpdateSlotIdx = -1; |
179 |
182 |
180 /*! |
|
181 \internal |
|
182 \class QDeclarativeRectangle |
|
183 \brief The QDeclarativeRectangle class provides a rectangle item that you can add to a QDeclarativeView. |
|
184 */ |
|
185 QDeclarativeRectangle::QDeclarativeRectangle(QDeclarativeItem *parent) |
183 QDeclarativeRectangle::QDeclarativeRectangle(QDeclarativeItem *parent) |
186 : QDeclarativeItem(*(new QDeclarativeRectanglePrivate), parent) |
184 : QDeclarativeItem(*(new QDeclarativeRectanglePrivate), parent) |
187 { |
185 { |
188 } |
186 } |
189 |
187 |