mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
These are implementation details only, and should not be part of the stable API. We need the flexibility to change these at any stage without being bound by any API contract.
117 lines
2.5 KiB
Plaintext
117 lines
2.5 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/symbology/qgssmartgroupeditordialog.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsSmartGroupCondition : QWidget
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgssmartgroupeditordialog.h"
|
|
%End
|
|
public:
|
|
QgsSmartGroupCondition( int id, QWidget *parent /TransferThis/ = 0 );
|
|
|
|
QString constraint();
|
|
%Docstring
|
|
returns the constraint key
|
|
:rtype: str
|
|
%End
|
|
|
|
QString parameter();
|
|
%Docstring
|
|
returns the parameter
|
|
:rtype: str
|
|
%End
|
|
|
|
void setConstraint( const QString &constraint );
|
|
%Docstring
|
|
sets the given constraint
|
|
%End
|
|
|
|
void setParameter( const QString ¶m );
|
|
%Docstring
|
|
sets the given param
|
|
%End
|
|
|
|
void hideRemoveButton( bool hide );
|
|
%Docstring
|
|
sets the remove button hidden state to 'hide'
|
|
%End
|
|
|
|
public slots:
|
|
void destruct();
|
|
|
|
signals:
|
|
void removed( int );
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class QgsSmartGroupEditorDialog : QDialog
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgssmartgroupeditordialog.h"
|
|
%End
|
|
public:
|
|
QgsSmartGroupEditorDialog( QgsStyle *style, QWidget *parent /TransferThis/ = 0 );
|
|
|
|
QString smartgroupName();
|
|
%Docstring
|
|
returns the value from mNameLineEdit
|
|
:rtype: str
|
|
%End
|
|
|
|
|
|
QString conditionOperator();
|
|
%Docstring
|
|
returns the AND/OR condition
|
|
:rtype: str
|
|
%End
|
|
|
|
|
|
void setOperator( const QString & );
|
|
%Docstring
|
|
sets the operator AND/OR
|
|
%End
|
|
|
|
void setSmartgroupName( const QString & );
|
|
%Docstring
|
|
sets the smart group Name
|
|
%End
|
|
|
|
public slots:
|
|
|
|
void addCondition();
|
|
%Docstring
|
|
function to create a new ConditionBox and update UI
|
|
%End
|
|
|
|
void removeCondition( int );
|
|
%Docstring
|
|
slot to remove the condition with id int
|
|
%End
|
|
|
|
protected:
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/symbology/qgssmartgroupeditordialog.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|