mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
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."
60 lines
1.8 KiB
Plaintext
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 *
|
|
************************************************************************/
|