QGIS/python/gui/symbology/qgssmartgroupeditordialog.sip

117 lines
2.5 KiB
Plaintext
Raw Normal View History

2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/gui/symbology/qgssmartgroupeditordialog.h *
2017-06-08 15:30:38 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsSmartGroupCondition : QWidget
{
2017-06-08 15:30:38 +02:00
%TypeHeaderCode
2017-06-08 15:30:38 +02:00
#include "qgssmartgroupeditordialog.h"
%End
public:
2017-06-08 15:30:38 +02:00
QgsSmartGroupCondition( int id, QWidget *parent /TransferThis/ = 0 );
QString constraint();
2017-06-08 15:30:38 +02:00
%Docstring
returns the constraint key
:rtype: str
%End
QString parameter();
2017-06-08 15:30:38 +02:00
%Docstring
returns the parameter
:rtype: str
%End
void setConstraint( const QString &constraint );
2017-06-08 15:30:38 +02:00
%Docstring
sets the given constraint
%End
void setParameter( const QString &param );
2017-06-08 15:30:38 +02:00
%Docstring
sets the given param
%End
void hideRemoveButton( bool hide );
2017-06-08 15:30:38 +02:00
%Docstring
sets the remove button hidden state to 'hide'
%End
public slots:
void destruct();
signals:
void removed( int );
2017-06-08 15:30:38 +02:00
protected:
};
2017-06-08 15:30:38 +02:00
class QgsSmartGroupEditorDialog : QDialog
{
2017-06-08 15:30:38 +02:00
%TypeHeaderCode
2017-06-08 15:30:38 +02:00
#include "qgssmartgroupeditordialog.h"
%End
public:
2017-06-08 15:30:38 +02:00
QgsSmartGroupEditorDialog( QgsStyle *style, QWidget *parent /TransferThis/ = 0 );
QString smartgroupName();
2017-06-08 15:30:38 +02:00
%Docstring
returns the value from mNameLineEdit
:rtype: str
%End
QString conditionOperator();
2017-06-08 15:30:38 +02:00
%Docstring
returns the AND/OR condition
:rtype: str
%End
2017-06-08 15:30:38 +02:00
void setOperator( const QString & );
%Docstring
sets the operator AND/OR
%End
2017-06-08 15:30:38 +02:00
void setSmartgroupName( const QString & );
%Docstring
sets the smart group Name
%End
public slots:
void addCondition();
2017-06-08 15:30:38 +02:00
%Docstring
function to create a new ConditionBox and update UI
%End
void removeCondition( int );
2017-06-08 15:30:38 +02:00
%Docstring
slot to remove the condition with id int
%End
2017-06-08 15:30:38 +02:00
protected:
};
2017-06-08 15:30:38 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
2017-08-06 13:39:03 +02:00
* src/gui/symbology/qgssmartgroupeditordialog.h *
2017-06-08 15:30:38 +02:00
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/