QGIS/python/PyQt6/gui/auto_generated/qgsscalemethodwidget.sip.in
Nyall Dawson 12a1be86f2 Expose "at equator" scale method in widget
When this method is selected, we show a warning icon with an
explanatory tooltip:

"This method will calculate misleading scales when the map extent
is not close to the equator, however it ensures that the scale
remains constant and does not change as the map is panned."
2025-03-30 18:03:30 +10:00

60 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsscalemethodwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsScaleMethodWidget : QWidget
{
%Docstring(signature="appended")
A widget which which lets the user select from scale calculation methods.
.. versionadded:: 3.44
%End
%TypeHeaderCode
#include "qgsscalemethodwidget.h"
%End
public:
QgsScaleMethodWidget( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsScaleMethodWidget, with the specified ``parent`` widget
%End
Qgis::ScaleCalculationMethod scaleMethod() const;
%Docstring
Returns the selected scale method.
.. seealso:: :py:func:`setBlendMode`
%End
void setScaleMethod( Qgis::ScaleCalculationMethod method );
%Docstring
Sets the selected blend mode.
.. seealso:: :py:func:`blendMode`
%End
signals:
void methodChanged();
%Docstring
Emitted when the selected method is changed.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsscalemethodwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/