Skip to content
Permalink
Browse files

since information

  • Loading branch information
signedav committed Dec 20, 2019
1 parent 1f1a3fe commit ea912a170c7602f2317303227ca0469ac4ed2426
@@ -140,11 +140,15 @@ according to the settings in the ``config``
Flags flags() const;
%Docstring
Returns the flags

.. versionadded:: 3.12
%End

void setFlags( const Flags &flags );
%Docstring
Sets the ``flags``

.. versionadded:: 3.12
%End

};
@@ -340,13 +340,17 @@ provide them (eg. RelationReference).
Load used sample values into the sample value area.
Only the used ones. Without available values, even if the
formatter can provide them (eg. RelationReference).

.. versionadded:: 3.12
%End

void loadAllUsedValues();
%Docstring
Load all unique values from the set layer into the sample area.
Only the used ones. Without available values, even if the
formatter can provide them (eg. RelationReference).

.. versionadded:: 3.12
%End

void autosave();
@@ -80,7 +80,11 @@ class CORE_EXPORT QgsFieldFormatter

virtual ~QgsFieldFormatter() = default;

//! Abilities of the formatter
/**
* Flags for the abilities of the formatter
*
* \since QGIS 3.12
*/
enum Flag
{
CanProvideAvailableValues = 1 //!< Can provide possible values
@@ -160,11 +164,15 @@ class CORE_EXPORT QgsFieldFormatter

/**
* Returns the flags
*
* \since QGIS 3.12
*/
Flags flags() const { return mFlags; }

/**
* Sets the \a flags
*
* \since QGIS 3.12
*/
void setFlags( const Flags &flags );

@@ -341,13 +341,17 @@ class GUI_EXPORT QgsExpressionBuilderWidget : public QWidget, private Ui::QgsExp
* Load used sample values into the sample value area.
* Only the used ones. Without available values, even if the
* formatter can provide them (eg. RelationReference).
*
* \since QGIS 3.12
*/
void loadSampleUsedValues();

/**
* Load all unique values from the set layer into the sample area.
* Only the used ones. Without available values, even if the
* formatter can provide them (eg. RelationReference).
*
* \since QGIS 3.12
*/
void loadAllUsedValues();

0 comments on commit ea912a1

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