QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
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.
 
QgsFeatureRequest::OrderBy orderBy ()
 Gets the order by defined in the dialog.
 
void setOrderBy (const QgsFeatureRequest::OrderBy &orderBy)
 Set the order by to manage.
 

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.

Definition at line 36 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 27 of file qgsorderbydialog.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 137 of file qgsorderbydialog.cpp.

◆ orderBy()

QgsFeatureRequest::OrderBy QgsOrderByDialog::orderBy ( )

Gets the order by defined in the dialog.

Definition at line 59 of file qgsorderbydialog.cpp.

◆ setOrderBy()

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

Set the order by to manage.

Definition at line 42 of file qgsorderbydialog.cpp.


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