1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/numericformats/qgsnumericformatselectorwidget.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl 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
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.pl again *
************************************************************************/
|