File tree Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -157,16 +157,14 @@ class QgsTransformEffect : QgsPaintEffect
157
157
158
158
void setRotation( const double rotation );
159
159
%Docstring
160
- Sets the transform rotation.
161
- \param rotation degrees to rotate, clockwise
162
- .. seealso:: rotation
160
+ Sets the transform ``rotation``, in degrees clockwise.
161
+ .. seealso:: rotation()
163
162
%End
164
163
165
164
double rotation() const;
166
165
%Docstring
167
- Returns the transform rotation.
168
- :return: rotation in degrees clockwise
169
- .. seealso:: setRotation
166
+ Returns the transform rotation, in degrees clockwise.
167
+ .. seealso:: setRotation()
170
168
:rtype: float
171
169
%End
172
170
Original file line number Diff line number Diff line change @@ -149,15 +149,15 @@ class CORE_EXPORT QgsTransformEffect : public QgsPaintEffect
149
149
*/
150
150
double scaleY () const { return mScaleY ; }
151
151
152
- /* * Sets the transform rotation.
153
- * \param rotation degrees to rotate, clockwise
154
- * \see rotation
152
+ /* *
153
+ * Sets the transform \a rotation, in degrees clockwise.
154
+ * \see rotation()
155
155
*/
156
156
void setRotation ( const double rotation ) { mRotation = rotation; }
157
157
158
- /* * Returns the transform rotation.
159
- * \returns rotation in degrees clockwise
160
- * \see setRotation
158
+ /* *
159
+ * Returns the transform rotation, in degrees clockwise.
160
+ * \see setRotation()
161
161
*/
162
162
double rotation () const { return mRotation ; }
163
163
Original file line number Diff line number Diff line change @@ -577,6 +577,7 @@ QgsTransformWidget::QgsTransformWidget( QWidget *parent )
577
577
<< QgsUnitTypes::RenderPoints << QgsUnitTypes::RenderInches );
578
578
mSpinTranslateX ->setClearValue ( 0 );
579
579
mSpinTranslateY ->setClearValue ( 0 );
580
+ mRotationSpinBox ->setClearValue ( 0 );
580
581
mSpinShearX ->setClearValue ( 0 );
581
582
mSpinShearY ->setClearValue ( 0 );
582
583
mSpinScaleX ->setClearValue ( 100.0 );
Original file line number Diff line number Diff line change 117
117
<property name =" suffix" >
118
118
<string > °</string >
119
119
</property >
120
+ <property name =" minimum" >
121
+ <double >-360.000000000000000</double >
122
+ </property >
120
123
<property name =" maximum" >
121
124
<double >360.000000000000000</double >
122
125
</property >
You can’t perform that action at this time.
0 commit comments