QGIS API Documentation
3.43.0-Master (23ca9df0ef1)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
3
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
Loading...
Searching...
No Matches
src
gui
processing
qgsprocessingrasteroptionswidgetwrapper.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprocessingrasteroptionswidgetwrapper.h
3
---------------------
4
begin : November 2020
5
copyright : (C) 2020 by Alexander Bruy
6
email : alexander dot bruy at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSPROCESSINGRASTEROPTIONSWIDGETWRAPPER_H
19
#define QGSPROCESSINGRASTEROPTIONSWIDGETWRAPPER_H
20
21
#define SIP_NO_FILE
22
23
#include "
qgsprocessingwidgetwrapper.h
"
24
25
class
QComboBox;
26
class
QLineEdit;
27
class
QgsRasterFormatSaveOptionsWidget
;
28
30
40
class
GUI_EXPORT QgsProcessingRasterOptionsWidgetWrapper :
public
QgsAbstractProcessingParameterWidgetWrapper
,
public
QgsProcessingParameterWidgetFactoryInterface
41
{
42
Q_OBJECT
43
44
public
:
45
QgsProcessingRasterOptionsWidgetWrapper(
const
QgsProcessingParameterDefinition
*parameter =
nullptr
,
QgsProcessingGui::WidgetType
type =
QgsProcessingGui::Standard
, QWidget *parent =
nullptr
);
46
47
// QgsProcessingParameterWidgetFactoryInterface
48
QString
parameterType
()
const override
;
49
QgsAbstractProcessingParameterWidgetWrapper
*
createWidgetWrapper
(
const
QgsProcessingParameterDefinition
*parameter,
QgsProcessingGui::WidgetType
type )
override
;
50
51
// QgsProcessingParameterWidgetWrapper interface
52
QWidget *
createWidget
() override
SIP_FACTORY
;
53
54
protected:
55
void
setWidgetValue( const QVariant &value,
QgsProcessingContext
&context ) override;
56
QVariant widgetValue() const override;
57
58
QStringList compatibleParameterTypes() const override;
59
QStringList compatibleOutputTypes() const override;
60
61
private:
62
QLineEdit *mLineEdit =
nullptr
;
63
QgsRasterFormatSaveOptionsWidget
*mOptionsWidget =
nullptr
;
64
65
friend class TestProcessingGui;
66
};
67
69
70
#endif
// QGSPROCESSINGRASTEROPTIONSWIDGETWRAPPER_H
QgsAbstractProcessingParameterWidgetWrapper
A widget wrapper for Processing parameter value widgets.
Definition
qgsprocessingwidgetwrapper.h:268
QgsAbstractProcessingParameterWidgetWrapper::createWidget
virtual QWidget * createWidget()=0
Creates a new widget which allows customization of the parameter's value.
QgsProcessingContext
Contains information about the context in which a processing algorithm is executed.
Definition
qgsprocessingcontext.h:45
QgsProcessingGui::WidgetType
WidgetType
Types of dialogs which Processing widgets can be created for.
Definition
qgsprocessinggui.h:37
QgsProcessingGui::Standard
@ Standard
Standard algorithm dialog.
Definition
qgsprocessinggui.h:38
QgsProcessingParameterDefinition
Base class for the definition of processing parameters.
Definition
qgsprocessingparameters.h:334
QgsProcessingParameterWidgetFactoryInterface
An interface for Processing widget wrapper factories.
Definition
qgsprocessingwidgetwrapper.h:512
QgsProcessingParameterWidgetFactoryInterface::createWidgetWrapper
virtual QgsAbstractProcessingParameterWidgetWrapper * createWidgetWrapper(const QgsProcessingParameterDefinition *parameter, QgsProcessingGui::WidgetType type)=0
Creates a new widget wrapper for the specified parameter definition.
QgsProcessingParameterWidgetFactoryInterface::parameterType
virtual QString parameterType() const =0
Returns the type string for the parameter type the factory is associated with.
QgsRasterFormatSaveOptionsWidget
A widget to select format-specific raster saving options.
Definition
qgsrasterformatsaveoptionswidget.h:32
SIP_FACTORY
#define SIP_FACTORY
Definition
qgis_sip.h:76
qgsprocessingwidgetwrapper.h
Generated on Tue Feb 25 2025 10:59:24 for QGIS API Documentation by
1.9.8