QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
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 "
qgis.h
"
20
#include "qgis_gui.h"
21
#include "
qgsfeaturerequest.h
"
22
#include "ui_qgsprocessingfeaturesourceoptionsbase.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
:
39
43
QgsProcessingFeatureSourceOptionsWidget( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
44
51
void
setGeometryCheckMethod(
bool
isOverridden,
QgsFeatureRequest::InvalidGeometryCheck
check );
52
58
void
setFeatureLimit(
int
limit );
59
67
QgsFeatureRequest::InvalidGeometryCheck
geometryCheckMethod()
const
;
68
74
bool
isOverridingInvalidGeometryCheck()
const
;
75
81
int
featureLimit()
const
;
82
83
};
84
86
87
#endif // QGSPROCESSINGFEATURESOURCEOPTIONSWIDGET_H
qgsfeaturerequest.h
qgis.h
QgsFeatureRequest::InvalidGeometryCheck
InvalidGeometryCheck
Handling of features with invalid geometries.
Definition:
qgsfeaturerequest.h:122
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition:
qgspanelwidget.h:29
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition:
qgis_sip.h:53
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17