QGIS API Documentation 3.41.0-Master (cea29feecf2)
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:
51 QgsModelGroupBoxDefinitionDialog( const QgsProcessingModelGroupBox &box, QWidget *parent SIP_TRANSFERTHIS = nullptr );
52
56 QgsProcessingModelGroupBox groupBox() const;
57
58 private:
59 QTextEdit *mCommentEdit = nullptr;
60 QgsColorButton *mCommentColorButton = nullptr;
61 QgsProcessingModelGroupBox mBox;
62};
63
64
65#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