QGIS API Documentation
3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
src
gui
qgsorderbydialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsorderbydialog.h
3
4
---------------------
5
begin : 20.12.2015
6
copyright : (C) 2015 by Matthias Kuhn
7
email :
[email protected]
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#ifndef QGSORDERBYDIALOG_H
18
#define QGSORDERBYDIALOG_H
19
20
#include <QDialog>
21
#include "
qgis_sip.h
"
22
23
#include "ui_qgsorderbydialogbase.h"
24
#include "
qgsfeaturerequest.h
"
25
#include "
qgshelp.h
"
26
#include "qgis_gui.h"
27
28
class
QgsVectorLayer
;
29
36
class
GUI_EXPORT
QgsOrderByDialog
:
public
QDialog,
private
Ui::OrderByDialogBase
37
{
38
Q_OBJECT
39
40
public
:
41
48
QgsOrderByDialog
(
QgsVectorLayer
*layer, QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
49
53
void
setOrderBy(
const
QgsFeatureRequest::OrderBy
&orderBy );
54
58
QgsFeatureRequest::OrderBy
orderBy();
59
60
protected
:
61
62
bool
eventFilter( QObject *obj, QEvent *e )
override
;
63
64
private
slots:
65
void
onExpressionChanged(
const
QString &expression );
66
void
showHelp();
67
68
private
:
69
73
void
setRow(
int
row,
const
QgsFeatureRequest::OrderByClause
&orderByClause );
74
75
QgsVectorLayer
*mLayer =
nullptr
;
76
77
};
78
79
#endif
// QGSORDERBYDIALOG_H
QgsFeatureRequest::OrderByClause
The OrderByClause class represents an order by clause for a QgsFeatureRequest.
Definition
qgsfeaturerequest.h:110
QgsFeatureRequest::OrderBy
Represents a list of OrderByClauses, with the most important first and the least important last.
Definition
qgsfeaturerequest.h:220
QgsOrderByDialog
This is a dialog to build and manage a list of order by clauses.
Definition
qgsorderbydialog.h:37
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition
qgsvectorlayer.h:401
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsfeaturerequest.h
qgshelp.h
Generated on Sun Nov 10 2024 14:15:43 for QGIS API Documentation by
1.9.8