QGIS API Documentation
3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
src
gui
vector
qgswmsdimensiondialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgswmsdimensiondialog.h
3
------------------
4
begin : August 20, 2019
5
copyright : (C) 2019 by René-Luc D'Hont
6
email : rldhont at 3liz 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 QGSWMSDIMENSIONDIALOG_H
19
#define QGSWMSDIMENSIONDIALOG_H
20
21
// We don't want to expose this in the public API
22
#define SIP_NO_FILE
23
24
#include "ui_qgswmsdimensiondialogbase.h"
25
26
#include "qgis_gui.h"
27
#include "
qgsmaplayerserverproperties.h
"
28
29
class
QgsVectorLayer
;
30
46
class
GUI_EXPORT
QgsWmsDimensionDialog
:
public
QDialog,
private
Ui::QgsWmsDimensionDialogBase
47
{
48
Q_OBJECT
49
public
:
50
QgsWmsDimensionDialog
(
QgsVectorLayer
*layer, QStringList alreadyDefinedDimensions, QWidget *parent =
nullptr
, Qt::WindowFlags f = Qt::WindowFlags() );
51
52
QgsMapLayerServerProperties::WmsDimensionInfo
info
()
const
;
53
54
void
setInfo
(
const
QgsMapLayerServerProperties::WmsDimensionInfo
&
info
);
55
56
private
slots:
57
void
nameChanged(
const
QString &name );
58
void
fieldChanged();
59
void
defaultDisplayChanged(
int
index );
60
61
private
:
63
QgsVectorLayer
*mLayer =
nullptr
;
64
};
65
66
67
#endif
// QGSWMSDIMENSIONDIALOG_H
QgsVectorLayer
Represents a vector layer which manages a vector based dataset.
Definition
qgsvectorlayer.h:406
QgsWmsDimensionDialog::setInfo
void setInfo(const QgsMapLayerServerProperties::WmsDimensionInfo &info)
Definition
qgswmsdimensiondialog.cpp:82
QgsWmsDimensionDialog::QgsWmsDimensionDialog
QgsWmsDimensionDialog(QgsVectorLayer *layer, QStringList alreadyDefinedDimensions, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
Definition
qgswmsdimensiondialog.cpp:28
QgsWmsDimensionDialog::info
QgsMapLayerServerProperties::WmsDimensionInfo info() const
Definition
qgswmsdimensiondialog.cpp:121
qgsmaplayerserverproperties.h
QgsServerWmsDimensionProperties::WmsDimensionInfo
Setting to define QGIS Server WMS Dimension.
Definition
qgsmaplayerserverproperties.h:163
Generated on
for QGIS API Documentation by
1.15.0