QGIS API Documentation  3.24.2-Tisler (13c1a02865)
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 <QWidget>
23 #include <QDialog>
25 #include "qgis_gui.h"
26 
27 #define SIP_NO_FILE
28 
29 class QLineEdit;
30 class QCheckBox;
31 class QTabWidget;
32 class QTextEdit;
33 class QgsColorButton;
34 class QgsProcessingModelGroupBox;
35 
36 
44 class GUI_EXPORT QgsModelGroupBoxDefinitionDialog: public QDialog
45 {
46  Q_OBJECT
47  public:
48 
52  QgsModelGroupBoxDefinitionDialog( const QgsProcessingModelGroupBox &box,
53  QWidget *parent SIP_TRANSFERTHIS = nullptr );
54 
58  QgsProcessingModelGroupBox groupBox() const;
59 
60  private:
61 
62  QTextEdit *mCommentEdit = nullptr;
63  QgsColorButton *mCommentColorButton = nullptr;
64  QgsProcessingModelGroupBox mBox;
65 
66 };
67 
68 
69 #endif // QGSPROCESSINGGROUPBBOXDEFINITIONWIDGET_H
A cross platform button subclass for selecting colors.
A widget which allow users to specify the properties of a model group box.
#define SIP_TRANSFERTHIS
Definition: qgis_sip.h:53