QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
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"
28
29class QgsVectorLayer;
30
46class 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
53
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
Represents a vector layer which manages a vector based dataset.
void setInfo(const QgsMapLayerServerProperties::WmsDimensionInfo &info)
QgsWmsDimensionDialog(QgsVectorLayer *layer, QStringList alreadyDefinedDimensions, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
QgsMapLayerServerProperties::WmsDimensionInfo info() const
Setting to define QGIS Server WMS Dimension.