QGIS API Documentation
3.99.0-Master (a8f284845db)
Loading...
Searching...
No Matches
src
gui
processing
models
qgsmodeldesignerconfigdockwidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmodeldesignerconfigdockwidget.h
3
----------------------------------------
4
begin : January 2026
5
copyright : (C) 2026 by Nyall Dawson
6
email : nyall dot dawson 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
19
#ifndef QGSPROCESSINGMODELDESIGNERCONFIGDOCKWIDGET_H
20
#define QGSPROCESSINGMODELDESIGNERCONFIGDOCKWIDGET_H
21
22
#include "ui_qgsmodeldesignerconfigwidgetbase.h"
23
24
#include "qgis_gui.h"
25
26
#include <QPointer>
27
28
#define SIP_NO_FILE
29
30
class
QgsProcessingContext
;
31
class
QgsProcessingModelComponent;
32
class
QgsProcessingModelConfigWidget
;
33
class
QgsProcessingParameterWidgetContext
;
34
44
class
GUI_EXPORT
QgsModelDesignerConfigDockWidget
:
public
QWidget,
private
Ui::QgsModelDesignerConfigWidgetBase
45
{
46
Q_OBJECT
47
public
:
51
QgsModelDesignerConfigDockWidget
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
52
60
void
showComponentConfig
( QgsProcessingModelComponent *component,
QgsProcessingContext
&context,
const
QgsProcessingParameterWidgetContext
&widgetContext );
61
62
private
slots:
63
64
void
apply();
65
66
private
:
67
QPointer< QgsProcessingModelConfigWidget > mCurrentWidget;
68
};
69
70
#endif
// QGSPROCESSINGMODELDESIGNERCONFIGDOCKWIDGET_H
QgsModelDesignerConfigDockWidget::QgsModelDesignerConfigDockWidget
QgsModelDesignerConfigDockWidget(QWidget *parent SIP_TRANSFERTHIS=nullptr)
Constructor for QgsModelDesignerConfigDockWidget.
Definition
qgsmodeldesignerconfigdockwidget.cpp:26
QgsModelDesignerConfigDockWidget::showComponentConfig
void showComponentConfig(QgsProcessingModelComponent *component, QgsProcessingContext &context, const QgsProcessingParameterWidgetContext &widgetContext)
Shows the configuration widget for a component in the model.
Definition
qgsmodeldesignerconfigdockwidget.cpp:35
QgsProcessingContext
Contains information about the context in which a processing algorithm is executed.
Definition
qgsprocessingcontext.h:45
QgsProcessingModelConfigWidget
A panel widget that can be shown in the Processing model designer dialog for configuring part of the ...
Definition
qgsmodeldesignerconfigwidget.h:38
QgsProcessingParameterWidgetContext
Contains settings which reflect the context in which a Processing parameter widget is shown.
Definition
qgsprocessingwidgetwrapper.h:119
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:52
Generated on
for QGIS API Documentation by
1.15.0