QGIS API Documentation 3.99.0-Master (a8f284845db)
Loading...
Searching...
No Matches
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
31class QgsProcessingModelComponent;
34
44class 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(QWidget *parent SIP_TRANSFERTHIS=nullptr)
Constructor for QgsModelDesignerConfigDockWidget.
void showComponentConfig(QgsProcessingModelComponent *component, QgsProcessingContext &context, const QgsProcessingParameterWidgetContext &widgetContext)
Shows the configuration widget for a component in the model.
Contains information about the context in which a processing algorithm is executed.
A panel widget that can be shown in the Processing model designer dialog for configuring part of the ...
Contains settings which reflect the context in which a Processing parameter widget is shown.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:52