2017-06-07 16:16:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsorderbydialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-21 10:41:35 +01:00
|
|
|
class QgsOrderByDialog : QDialog
|
|
|
|
{
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
This is a dialog to build and manage a list of order by clauses.
|
2017-06-07 16:16:21 +02:00
|
|
|
|
|
|
|
.. versionadded:: 2.14
|
|
|
|
%End
|
|
|
|
|
2015-12-21 10:41:35 +01:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsorderbydialog.h"
|
|
|
|
%End
|
|
|
|
public:
|
2017-06-07 16:16:21 +02:00
|
|
|
|
2017-05-02 07:21:20 +02:00
|
|
|
QgsOrderByDialog( QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0 );
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Create a new order by dialog. This helps building order by structures.
|
2017-06-07 16:16:21 +02:00
|
|
|
|
2018-05-27 16:42:41 +10:00
|
|
|
:param layer: The vector layer for which the order by should be produced
|
2017-12-15 10:36:55 -04:00
|
|
|
:param parent: The parent widget, optional
|
2017-06-07 16:16:21 +02:00
|
|
|
%End
|
2015-12-21 10:41:35 +01:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
void setOrderBy( const QgsFeatureRequest::OrderBy &orderBy );
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Set the order by to manage
|
2017-06-07 16:16:21 +02:00
|
|
|
%End
|
2015-12-21 10:41:35 +01:00
|
|
|
|
2016-01-04 22:51:18 +11:00
|
|
|
QgsFeatureRequest::OrderBy orderBy();
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2018-05-26 18:44:30 +10:00
|
|
|
Gets the order by defined in the dialog
|
2017-06-07 16:16:21 +02:00
|
|
|
%End
|
2016-01-04 22:51:18 +11:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
2017-06-07 16:16:21 +02:00
|
|
|
virtual bool eventFilter( QObject *obj, QEvent *e );
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsorderbydialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|