Skip to content
Permalink
Browse files

Dox++

  • Loading branch information
nyalldawson committed Jan 7, 2020
1 parent bc997f0 commit 545edcf1489e4e003fff5f04a9c308e854060b3d
@@ -163,7 +163,7 @@ in order to recreate this formatter in its current state.
%Docstring
Writes the format to an XML ``element``.

.. seealso:: :py:func:`readXml`
.. seealso:: :py:func:`QgsNumericFormatRegistry.createFromXml`
%End

};
@@ -67,6 +67,9 @@ A widget which allow control over the properties of a :py:class:`QgsBasicNumeric
public:

QgsBasicNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsBasicNumericFormatWidget, initially showing the specified ``format``.
%End
~QgsBasicNumericFormatWidget();

virtual void setFormat( QgsNumericFormat *format );
@@ -93,6 +96,9 @@ A widget which allow control over the properties of a :py:class:`QgsBearingNumer
public:

QgsBearingNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsBearingNumericFormatWidget, initially showing the specified ``format``.
%End
~QgsBearingNumericFormatWidget();

virtual void setFormat( QgsNumericFormat *format );
@@ -120,6 +126,9 @@ A widget which allow control over the properties of a :py:class:`QgsCurrencyNume
public:

QgsCurrencyNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsCurrencyNumericFormatWidget, initially showing the specified ``format``.
%End
~QgsCurrencyNumericFormatWidget();

virtual void setFormat( QgsNumericFormat *format );
@@ -147,6 +156,9 @@ A widget which allow control over the properties of a :py:class:`QgsPercentageNu
public:

QgsPercentageNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsPercentageNumericFormatWidget, initially showing the specified ``format``.
%End
~QgsPercentageNumericFormatWidget();

virtual void setFormat( QgsNumericFormat *format );
@@ -175,6 +187,9 @@ A widget which allow control over the properties of a :py:class:`QgsScientificNu
public:

QgsScientificNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsScientificNumericFormatWidget, initially showing the specified ``format``.
%End
~QgsScientificNumericFormatWidget();

virtual void setFormat( QgsNumericFormat *format );
@@ -191,7 +191,7 @@ class CORE_EXPORT QgsNumericFormat

/**
* Writes the format to an XML \a element.
* \see readXml()
* \see QgsNumericFormatRegistry::createFromXml()
*/
void writeXml( QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context ) const;

@@ -19,7 +19,7 @@
#include "qgis.h"
#include "qgsnumericformatwidget.h"


///@cond PRIVATE
class QgsBasicNumericFormatConfigurationWidgetFactory : public QgsNumericFormatConfigurationWidgetFactory
{
public:
@@ -69,7 +69,7 @@ class QgsScientificNumericFormatConfigurationWidgetFactory : public QgsNumericFo
return new QgsScientificNumericFormatWidget( format );
}
};

///@endcond

QgsNumericFormatGuiRegistry::QgsNumericFormatGuiRegistry()
{
@@ -80,6 +80,9 @@ class GUI_EXPORT QgsBasicNumericFormatWidget : public QgsNumericFormatWidget, pr

public:

/**
* Constructor for QgsBasicNumericFormatWidget, initially showing the specified \a format.
*/
QgsBasicNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent SIP_TRANSFERTHIS = nullptr );
~QgsBasicNumericFormatWidget() override;

@@ -109,6 +112,9 @@ class GUI_EXPORT QgsBearingNumericFormatWidget : public QgsNumericFormatWidget,

public:

/**
* Constructor for QgsBearingNumericFormatWidget, initially showing the specified \a format.
*/
QgsBearingNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent SIP_TRANSFERTHIS = nullptr );
~QgsBearingNumericFormatWidget() override;

@@ -139,6 +145,9 @@ class GUI_EXPORT QgsCurrencyNumericFormatWidget : public QgsNumericFormatWidget,

public:

/**
* Constructor for QgsCurrencyNumericFormatWidget, initially showing the specified \a format.
*/
QgsCurrencyNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent SIP_TRANSFERTHIS = nullptr );
~QgsCurrencyNumericFormatWidget() override;

@@ -169,6 +178,9 @@ class GUI_EXPORT QgsPercentageNumericFormatWidget : public QgsNumericFormatWidge

public:

/**
* Constructor for QgsPercentageNumericFormatWidget, initially showing the specified \a format.
*/
QgsPercentageNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent SIP_TRANSFERTHIS = nullptr );
~QgsPercentageNumericFormatWidget() override;

@@ -200,6 +212,9 @@ class GUI_EXPORT QgsScientificNumericFormatWidget : public QgsNumericFormatWidge

public:

/**
* Constructor for QgsScientificNumericFormatWidget, initially showing the specified \a format.
*/
QgsScientificNumericFormatWidget( const QgsNumericFormat *format, QWidget *parent SIP_TRANSFERTHIS = nullptr );
~QgsScientificNumericFormatWidget() override;

0 comments on commit 545edcf

Please sign in to comment.
You can’t perform that action at this time.