QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
processing
qgsprocessingfeaturesourceoptionswidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprocessingfeaturesourceoptionswidget.h
3
----------------------------------
4
Date : March 2020
5
Copyright : (C) 2020 Nyall Dawson
6
Email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSPROCESSINGFEATURESOURCEOPTIONSWIDGET_H
17
#define QGSPROCESSINGFEATURESOURCEOPTIONSWIDGET_H
18
19
#include "ui_qgsprocessingfeaturesourceoptionsbase.h"
20
21
#include "
qgis.h
"
22
#include "qgis_gui.h"
23
24
#define SIP_NO_FILE
25
27
34
class
GUI_EXPORT QgsProcessingFeatureSourceOptionsWidget :
public
QgsPanelWidget
,
private
Ui::QgsProcessingFeatureSourceOptionsBase
35
{
36
Q_OBJECT
37
38
public
:
42
QgsProcessingFeatureSourceOptionsWidget( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
43
47
void
setLayer(
QgsVectorLayer
*layer );
48
55
void
setGeometryCheckMethod(
bool
isOverridden,
Qgis::InvalidGeometryCheck
check );
56
62
void
setFeatureLimit(
int
limit );
63
69
void
setFilterExpression(
const
QString &expression );
70
78
Qgis::InvalidGeometryCheck
geometryCheckMethod()
const
;
79
85
bool
isOverridingInvalidGeometryCheck()
const
;
86
92
int
featureLimit()
const
;
93
99
QString filterExpression()
const
;
100
};
101
103
104
#endif
// QGSPROCESSINGFEATURESOURCEOPTIONSWIDGET_H
Qgis::InvalidGeometryCheck
InvalidGeometryCheck
Methods for handling of features with invalid geometries.
Definition
qgis.h:2423
QgsPanelWidget
Base class for any widget that can be shown as an inline panel.
Definition
qgspanelwidget.h:32
QgsVectorLayer
Represents a vector layer which manages a vector based dataset.
Definition
qgsvectorlayer.h:414
qgis.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:52
Generated on
for QGIS API Documentation by
1.17.0