QGIS/python/gui/qgsorderbydialog.sip
2017-06-08 08:52:02 +02:00

60 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsorderbydialog.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsOrderByDialog : QDialog
{
%Docstring
This is a dialog to build and manage a list of order by clauses.
.. versionadded:: 2.14
%End
%TypeHeaderCode
#include "qgsorderbydialog.h"
%End
public:
QgsOrderByDialog( QgsVectorLayer *layer, QWidget *parent /TransferThis/ = 0 );
%Docstring
Create a new order by dialog. This helps building order by structures.
\param layer The vector layer for which the order by should be produced
\param parent The parent widget, optional
%End
void setOrderBy( const QgsFeatureRequest::OrderBy &orderBy );
%Docstring
Set the order by to manage
%End
QgsFeatureRequest::OrderBy orderBy();
%Docstring
Get the order by defined in the dialog
:rtype: QgsFeatureRequest.OrderBy
%End
protected:
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 *
************************************************************************/