QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | Protected Member Functions | List of all members
QgsOrderByDialog Class Reference

#include <qgsorderbydialog.h>

Inheritance diagram for QgsOrderByDialog:
Inheritance graph

Public Member Functions

 QgsOrderByDialog (QgsVectorLayer *layer, QWidget *parent=nullptr)
 Create a new order by dialog. More...
QgsFeatureRequest::OrderBy orderBy ()
 Gets the order by defined in the dialog. More...
void setOrderBy (const QgsFeatureRequest::OrderBy &orderBy)
 Set the order by to manage. More...

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *e) override

Detailed Description

This is a dialog to build and manage a list of order by clauses.

QGIS 2.14

Definition at line 37 of file qgsorderbydialog.h.

Constructor & Destructor Documentation

◆ QgsOrderByDialog()

QgsOrderByDialog::QgsOrderByDialog ( QgsVectorLayer layer,
QWidget *  parent = nullptr 

Create a new order by dialog.

This helps building order by structures.

layerThe vector layer for which the order by should be produced
parentThe parent widget, optional

Definition at line 26 of file qgsorderbydialog.cpp.

Member Function Documentation

◆ eventFilter()

bool QgsOrderByDialog::eventFilter ( QObject *  obj,
QEvent *  e 

Definition at line 136 of file qgsorderbydialog.cpp.

◆ orderBy()

QgsFeatureRequest::OrderBy QgsOrderByDialog::orderBy ( )

Gets the order by defined in the dialog.

Definition at line 58 of file qgsorderbydialog.cpp.

◆ setOrderBy()

void QgsOrderByDialog::setOrderBy ( const QgsFeatureRequest::OrderBy orderBy)

Set the order by to manage.

Definition at line 41 of file qgsorderbydialog.cpp.

The documentation for this class was generated from the following files: