QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
gui
symbology
qgssymbolanimationsettingswidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgssymbolanimationsettingswidget.h
3
---------------------
4
begin : April 2022
5
copyright : (C) 2022 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSSYMBOLANIMATIONSETTINGSWIDGET_H
17
#define QGSSYMBOLANIMATIONSETTINGSWIDGET_H
18
19
#include "ui_qgssymbolanimationsettingswidgetbase.h"
20
21
#include "qgis_gui.h"
22
#include "
qgis_sip.h
"
23
#include "
qgspanelwidget.h
"
24
25
#include <QDialog>
26
27
class
QgsSymbolAnimationSettings
;
28
29
35
class
GUI_EXPORT
QgsSymbolAnimationSettingsWidget
:
public
QgsPanelWidget
,
private
Ui::QgsSymbolAnimationSettingsWidgetBase
36
{
37
Q_OBJECT
38
public
:
39
41
QgsSymbolAnimationSettingsWidget
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
);
42
48
void
setAnimationSettings(
const
QgsSymbolAnimationSettings
&settings );
49
55
QgsSymbolAnimationSettings
animationSettings()
const
;
56
57
private
:
58
59
bool
mBlockUpdates =
false
;
60
61
};
62
68
class
GUI_EXPORT
QgsSymbolAnimationSettingsDialog
:
public
QDialog
69
{
70
Q_OBJECT
71
public
:
72
74
QgsSymbolAnimationSettingsDialog
( QWidget *parent
SIP_TRANSFERTHIS
=
nullptr
, Qt::WindowFlags f = Qt::WindowFlags() );
75
81
void
setAnimationSettings(
const
QgsSymbolAnimationSettings
&settings );
82
88
QgsSymbolAnimationSettings
animationSettings()
const
;
89
90
private
:
91
92
QgsSymbolAnimationSettingsWidget
*mWidget =
nullptr
;
93
94
};
95
96
#endif // QGSSYMBOLANIMATIONSETTINGSWIDGET_H
QgsPanelWidget
Base class for any widget that can be shown as a inline panel.
Definition:
qgspanelwidget.h:29
qgis_sip.h
QgsSymbolAnimationSettingsDialog
A dialog for customising animation settings for a symbol.
Definition:
qgssymbolanimationsettingswidget.h:68
QgsSymbolAnimationSettingsWidget
A widget for customising animation settings for a symbol.
Definition:
qgssymbolanimationsettingswidget.h:35
QgsSymbolAnimationSettings
Contains settings relating to symbol animation.
Definition:
qgssymbol.h:39
qgspanelwidget.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition:
qgis_sip.h:53
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17