mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-10 00:04:23 -04:00
71 lines
2.3 KiB
Plaintext
71 lines
2.3 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/numericformats/qgsnumericformatselectorwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsNumericFormatSelectorWidget : QgsPanelWidget
|
|
{
|
|
%Docstring(signature="appended")
|
|
A widget which allows choice of numeric formats and the properties of them.
|
|
|
|
.. versionadded:: 3.12
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsnumericformatselectorwidget.h"
|
|
%End
|
|
public:
|
|
|
|
QgsNumericFormatSelectorWidget( QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for QgsNumericFormatSelectorWidget with the specified ``parent`` widget.
|
|
%End
|
|
|
|
~QgsNumericFormatSelectorWidget();
|
|
|
|
void setFormat( const QgsNumericFormat *format );
|
|
%Docstring
|
|
Sets the format to show in the widget.
|
|
%End
|
|
|
|
QgsNumericFormat *format() const /TransferBack/;
|
|
%Docstring
|
|
Returns a new format object representing the settings currently configured in the widget.
|
|
|
|
The caller takes ownership of the returned object.
|
|
%End
|
|
|
|
void registerExpressionContextGenerator( QgsExpressionContextGenerator *generator );
|
|
%Docstring
|
|
Register an expression context ``generator`` class that will be used to retrieve
|
|
an expression context for the widget when required.
|
|
|
|
Ownership is not transferred, and the ``generator`` must exist for the lifetime of this widget.
|
|
|
|
.. versionadded:: 3.40
|
|
%End
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
%Docstring
|
|
Emitted whenever the format configured55 in the widget is changed.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/numericformats/qgsnumericformatselectorwidget.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|