QGIS API Documentation  3.6.0-Noosa (5873452)
Public Member Functions | Protected Member Functions | List of all members
QgsOrderByDialog Class Reference

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

#include <qgsorderbydialog.h>

Inheritance diagram for QgsOrderByDialog:
Inheritance graph
[legend]

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.

Since
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.

Parameters
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 
)
overrideprotected

Definition at line 135 of file qgsorderbydialog.cpp.

◆ orderBy()

QgsFeatureRequest::OrderBy QgsOrderByDialog::orderBy ( )

Gets the order by defined in the dialog.

Definition at line 57 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: