QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
gui
qgsmaplayerrefreshsettingswidget.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsmaplayerrefreshsettingswidget.h
3
------------------------------
4
begin : August 2023
5
copyright : (C) 2023 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
#ifndef QGSMAPLAYERREFRESHSETTINGSWIDGET_H
19
#define QGSMAPLAYERREFRESHSETTINGSWIDGET_H
20
21
#include "ui_qgslayerrefreshwidgetbase.h"
22
#include "qgis_gui.h"
23
#include <QPointer>
24
25
#define SIP_NO_FILE
26
27
class
QgsMapLayer
;
28
37
class
GUI_EXPORT
QgsMapLayerRefreshSettingsWidget
:
public
QWidget,
private
Ui::QgsLayerRefreshWidgetBase
38
{
39
Q_OBJECT
40
public
:
44
QgsMapLayerRefreshSettingsWidget
( QWidget *parent =
nullptr
,
QgsMapLayer
*layer =
nullptr
);
45
46
public
slots:
47
51
void
setLayer(
QgsMapLayer
*layer );
52
56
void
saveToLayer();
57
61
void
syncToLayer();
62
63
private
slots:
64
65
void
updateHelp();
66
67
private
:
68
QPointer<QgsMapLayer> mLayer;
69
};
70
#endif
// QGSMAPLAYERREFRESHSETTINGSWIDGET_H
QgsMapLayerRefreshSettingsWidget
A widget for configuring the automatic refresh settings for map layers.
Definition
qgsmaplayerrefreshsettingswidget.h:38
QgsMapLayer
Base class for all map layer types.
Definition
qgsmaplayer.h:76
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8