Skip to content
Permalink
Browse files

Add QgsRangeFieldFormatter to bindings

  • Loading branch information
elpaso committed Feb 2, 2018
1 parent 8ae65b3 commit 287f82286be0d6c380f7931b544d531101180d49
Showing with 43 additions and 0 deletions.
  1. +1 −0 python/core/core_auto.sip
  2. +42 −0 python/core/fieldformatter/qgsrangefieldformatter.sip.in
@@ -287,6 +287,7 @@
%Include geometry/qgswkbtypes.sip
%Include ./3d/qgs3drendererregistry.sip
%Include ./3d/qgsabstract3drenderer.sip
%Include fieldformatter/qgsrangefieldformatter.sip
%Include fieldformatter/qgsdatetimefieldformatter.sip
%Include fieldformatter/qgsfallbackfieldformatter.sip
%Include fieldformatter/qgskeyvaluefieldformatter.sip
@@ -0,0 +1,42 @@
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/fieldformatter/qgsrangefieldformatter.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/


class QgsRangeFieldFormatter : QgsFieldFormatter
{
%Docstring
Field formatter for a range (double) field with precision and locale

.. versionadded:: 3.0
%End

%TypeHeaderCode
#include "qgsrangefieldformatter.h"
%End
public:

QgsRangeFieldFormatter();
%Docstring
Default constructor of field formatter for a range (double)field.
%End

virtual QString id() const;


virtual QString representValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;


};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/fieldformatter/qgsrangefieldformatter.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

0 comments on commit 287f822

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