Class: QgsOrderByDialog

class qgis.gui.QgsOrderByDialog(layer: QgsVectorLayer, parent: QWidget = None)

Bases: PyQt5.QtWidgets.QDialog

Create a new order by dialog. This helps building order by structures.

Parameters:
  • layer – The vector layer for which the order by should be produced
  • parent – The parent widget, optional

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

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter(self, obj: QObject, e: QEvent) → bool
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
orderBy(self) → QgsFeatureRequest.OrderBy

Gets the order by defined in the dialog

paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setOrderBy(self, orderBy: QgsFeatureRequest.OrderBy)

Set the order by to manage

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()