QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
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 <QWidget>
23#include <QDialog>
25#include "qgis_gui.h"
26
27#define SIP_NO_FILE
28
29class QLineEdit;
30class QCheckBox;
31class QTabWidget;
32class QTextEdit;
33class QgsColorButton;
34class QgsProcessingModelGroupBox;
35
36
44class 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