QGIS/python/gui/auto_generated/qgsaggregatetoolbutton.sip.in

83 lines
2.3 KiB
Plaintext
Raw Normal View History

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsaggregatetoolbutton.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsAggregateToolButton : QToolButton
{
%Docstring
2017-11-02 10:20:49 +01:00
2017-12-15 10:36:55 -04:00
Offers a toolbutton to choose between different aggregate functions.
Functions are filtered based on the type.
2017-11-02 10:20:49 +01:00
2017-11-21 08:32:53 +01:00
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsaggregatetoolbutton.h"
%End
public:
2017-11-02 10:20:49 +01:00
QgsAggregateToolButton();
2017-11-02 10:20:49 +01:00
%Docstring
2017-12-15 10:36:55 -04:00
Constructor
2017-11-02 10:20:49 +01:00
%End
void setType( QVariant::Type type );
2017-11-02 10:20:49 +01:00
%Docstring
2017-12-15 10:36:55 -04:00
Based on the ``type`` of underlying data, some aggregates will be available or not.
2017-11-02 10:20:49 +01:00
%End
QVariant::Type type() const;
%Docstring
2017-12-15 10:36:55 -04:00
Based on the ``type`` of underlying data, some aggregates will be available or not.
%End
void setActive( bool active );
2017-11-02 10:20:49 +01:00
%Docstring
2017-12-15 10:36:55 -04:00
When this flag is false, the aggregate will be deactivated. I.e. no aggregate is chosen.
2017-11-02 10:20:49 +01:00
%End
bool active() const;
%Docstring
2017-12-15 10:36:55 -04:00
When this flag is false, the aggregate will be deactivated. I.e. no aggregate is chosen.
%End
QString aggregate() const;
%Docstring
2017-12-15 10:36:55 -04:00
The function name of the selected aggregate or a Null String if none is chosen.
%End
2017-11-02 10:20:49 +01:00
void setAggregate( const QString &aggregate );
2017-11-02 10:20:49 +01:00
%Docstring
2017-12-15 10:36:55 -04:00
The function name of the selected aggregate or a Null String if none is chosen.
2017-11-02 10:20:49 +01:00
%End
signals:
2017-11-02 10:20:49 +01:00
void aggregateChanged();
2017-11-02 10:20:49 +01:00
%Docstring
2017-12-15 10:36:55 -04:00
The function name of the selected aggregate has changed.
2017-11-02 10:20:49 +01:00
%End
void activeChanged();
2017-11-02 10:20:49 +01:00
%Docstring
2017-12-15 10:36:55 -04:00
A function has been selected or deselected.
2017-11-02 10:20:49 +01:00
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsaggregatetoolbutton.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/