QGIS API Documentation 3.99.0-Master (0c964c3d988)
Loading...
Searching...
No Matches
qgsmodelgroupboxdefinitionwidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsmodelgroupboxdefinitionwidget.h
3 ----------------------------------------
4 begin : March 2020
5 copyright : (C) 2020 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 QGSPROCESSINGGROUPBBOXDEFINITIONWIDGET_H
20#define QGSPROCESSINGGROUPBBOXDEFINITIONWIDGET_H
21
22#include "qgis_gui.h"
25
26#include <QDialog>
27#include <QWidget>
28
29#define SIP_NO_FILE
30
31class QLineEdit;
32class QCheckBox;
33class QTabWidget;
34class QTextEdit;
35class QgsColorButton;
36class QgsProcessingModelGroupBox;
37
46{
47 Q_OBJECT
48 public:
52 QgsModelGroupBoxDefinitionPanelWidget( const QgsProcessingModelGroupBox &box, QWidget *parent SIP_TRANSFERTHIS = nullptr );
53
57 QgsProcessingModelGroupBox groupBox() const;
58
59 private:
60 QTextEdit *mCommentEdit = nullptr;
61 QgsColorButton *mCommentColorButton = nullptr;
62 QgsProcessingModelGroupBox mBox;
63};
64
65
73class GUI_EXPORT QgsModelGroupBoxDefinitionDialog : public QDialog
74{
75 Q_OBJECT
76 public:
80 QgsModelGroupBoxDefinitionDialog( const QgsProcessingModelGroupBox &box, QWidget *parent SIP_TRANSFERTHIS = nullptr );
81
85 QgsProcessingModelGroupBox groupBox() const;
86
87 private:
89};
90
91
92#endif // QGSPROCESSINGGROUPBBOXDEFINITIONWIDGET_H
A cross platform button subclass for selecting colors.
QgsModelGroupBoxDefinitionDialog(const QgsProcessingModelGroupBox &box, QWidget *parent=nullptr)
Constructor for QgsModelGroupBoxDefinitionWidget, for the specified group box.
QgsProcessingModelGroupBox groupBox() const
Returns a new instance of the group box, using the current settings defined in the dialog.
A widget which allows users to specify the properties of a model group box.
QgsModelGroupBoxDefinitionPanelWidget(const QgsProcessingModelGroupBox &box, QWidget *parent=nullptr)
Constructor for QgsModelGroupBoxDefinitionPanelWidget, for the specified group box.
QgsProcessingModelGroupBox groupBox() const
Returns a new instance of the group box, using the current settings defined in the dialog.
QgsProcessingModelConfigWidget(QWidget *parent=nullptr)
Constructor for QgsProcessingModelConfigWidget().
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:52