mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-28 00:05:04 -04:00
Remove addSmartGroup from Python bindings -- it causes a crash in sip
and CANNOT be made functional
This commit is contained in:
parent
adc31bb8a0
commit
c41af120a0
@ -85,14 +85,6 @@ Adds a new tag and returns the tag's id
|
|||||||
:return: returns an int, which is the DB id of the new tag created, 0 if the tag couldn't be created
|
:return: returns an int, which is the DB id of the new tag created, 0 if the tag couldn't be created
|
||||||
%End
|
%End
|
||||||
|
|
||||||
int addSmartgroup( const QString &name, const QString &op, const QgsSmartConditionMap &conditions );
|
|
||||||
%Docstring
|
|
||||||
Adds a new smartgroup to the database and returns the id
|
|
||||||
|
|
||||||
:param name: is the name of the new Smart Group to be added
|
|
||||||
:param op: is the operator between the conditions; AND/OR as QString
|
|
||||||
:param conditions: are the smart group conditions
|
|
||||||
%End
|
|
||||||
|
|
||||||
QStringList tags() const;
|
QStringList tags() const;
|
||||||
%Docstring
|
%Docstring
|
||||||
|
@ -135,8 +135,10 @@ class CORE_EXPORT QgsStyle : public QObject
|
|||||||
* \param name is the name of the new Smart Group to be added
|
* \param name is the name of the new Smart Group to be added
|
||||||
* \param op is the operator between the conditions; AND/OR as QString
|
* \param op is the operator between the conditions; AND/OR as QString
|
||||||
* \param conditions are the smart group conditions
|
* \param conditions are the smart group conditions
|
||||||
|
*
|
||||||
|
* \note Not available from Python bindings
|
||||||
*/
|
*/
|
||||||
int addSmartgroup( const QString &name, const QString &op, const QgsSmartConditionMap &conditions );
|
int addSmartgroup( const QString &name, const QString &op, const QgsSmartConditionMap &conditions ) SIP_SKIP;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of all tags in the style database
|
* Returns a list of all tags in the style database
|
||||||
|
Loading…
x
Reference in New Issue
Block a user