QGIS API Documentation 3.99.0-Master (7d2ca374f2d)
Loading...
Searching...
No Matches
qgsformlabelformatwidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsformlabelformatwidget.h - QgsFormLabelFormatWidget
3
4 ---------------------
5 begin : 22.4.2022
6 copyright : (C) 2022 by Alessandro Pasotti
7 email : elpaso at itopen dot it
8 ***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16#ifndef QGSFORMLABELFORMATWIDGET_H
17#define QGSFORMLABELFORMATWIDGET_H
18
19
20// We don't want to expose this in the public API
21
23
24#include "ui_qgsformlabelformatwidget.h"
25
26#include "qgis_gui.h"
28#include "qgsconditionalstyle.h"
29
30#include <QColor>
31#include <QFont>
32
33#define SIP_NO_FILE
34
42class GUI_EXPORT QgsFormLabelFormatWidget : public QWidget, private Ui::QgsFormLabelFormatWidget
43{
44 Q_OBJECT
45 public:
49 explicit QgsFormLabelFormatWidget( QWidget *parent = nullptr );
50
54 void setLabelStyle( const QgsAttributeEditorElement::LabelStyle &labelStyle );
55
59 QgsAttributeEditorElement::LabelStyle labelStyle() const;
60};
61
63
64#endif // QGSFORMLABELFORMATWIDGET_H