2017-11-01 21:14:34 +01:00
|
|
|
/************************************************************************
|
|
|
|
* 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
|
2017-11-01 21:14:34 +01:00
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsaggregatetoolbutton.h"
|
|
|
|
%End
|
|
|
|
public:
|
2017-11-02 10:20:49 +01:00
|
|
|
|
2017-11-01 21:14:34 +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
|
2017-11-01 21:14:34 +01:00
|
|
|
|
|
|
|
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
|
2017-11-01 21:14:34 +01:00
|
|
|
|
|
|
|
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.
|
2017-11-01 21:14:34 +01:00
|
|
|
%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
|
|
|
|
|
2017-11-01 21:14:34 +01:00
|
|
|
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.
|
2017-11-01 21:14:34 +01:00
|
|
|
%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.
|
2017-11-01 21:14:34 +01:00
|
|
|
%End
|
2017-11-02 10:20:49 +01:00
|
|
|
|
2017-11-01 21:14:34 +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
|
2017-11-01 21:14:34 +01:00
|
|
|
|
|
|
|
signals:
|
2017-11-02 10:20:49 +01:00
|
|
|
|
2017-11-01 21:14:34 +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
|
|
|
|
|
2017-11-01 21:14:34 +01:00
|
|
|
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
|
2017-11-01 21:14:34 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsaggregatetoolbutton.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|