Class: QgsOrderByDialog¶
A dialog to build and manage a list of order by clauses.
Class Hierarchy¶
Base classes¶
Methods
Gets the order by defined in the dialog |
|
Set the order by to manage |
- class qgis.gui.QgsOrderByDialog[source]¶
Bases:
QDialog
- __init__(layer: QgsVectorLayer | None, parent: QWidget | None = None)
Create a new order by dialog. This helps building order by structures.
- Parameters:
layer (Optional[QgsVectorLayer]) – The vector layer for which the order by should be produced
parent (Optional[QWidget] = None) – The parent widget, optional
- orderBy(self) QgsFeatureRequest.OrderBy [source]¶
Gets the order by defined in the dialog
- Return type:
- setOrderBy(self, orderBy: QgsFeatureRequest.OrderBy)[source]¶
Set the order by to manage
- Parameters:
orderBy (QgsFeatureRequest.OrderBy)