Mark some API as non-stable, hide from Python bindings

This commit is contained in:
Nyall Dawson 2018-09-14 14:22:06 +10:00
parent e73f74063e
commit 8f90791bef
2 changed files with 4 additions and 14 deletions

View File

@ -253,19 +253,7 @@ Set the pivot point
.. versionadded:: 3.4
%End
QStringList listForCboPrettyBreaks() const;
%Docstring
Returns the list of breaks used in the prettybreaks mode. Needed to recover this list in saved configuration, or when property window in closed and reopened
.. versionadded:: 3.4
%End
void setListForCboPrettyBreaks( QStringList listForCboPrettyBreaks );
%Docstring
Set the list of breaks used in the prettybreaks mode, which is needed to recover this list in saved configuration, or when property window is closed and reopened
.. versionadded:: 3.4
%End
bool astride() const;
%Docstring

View File

@ -248,15 +248,17 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer
/**
* Returns the list of breaks used in the prettybreaks mode. Needed to recover this list in saved configuration, or when property window in closed and reopened
* \note Not available in Python bindings, not stable API
* \since QGIS 3.4
*/
QStringList listForCboPrettyBreaks() const { return mListForCboPrettyBreaks; }
QStringList listForCboPrettyBreaks() const { return mListForCboPrettyBreaks; } SIP_SKIP
/**
* Set the list of breaks used in the prettybreaks mode, which is needed to recover this list in saved configuration, or when property window is closed and reopened
* \note Not available in Python bindings, not stable API
* \since QGIS 3.4
*/
void setListForCboPrettyBreaks( QStringList listForCboPrettyBreaks ) { mListForCboPrettyBreaks = listForCboPrettyBreaks; }
void setListForCboPrettyBreaks( const QStringList &listForCboPrettyBreaks ) { mListForCboPrettyBreaks = listForCboPrettyBreaks; } SIP_SKIP
/**
* Returns if we want to have a central class astride the pivot value