QGIS API Documentation 3.99.0-Master (c22de0620c0)
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
23#include "ui_qgswmsdimensiondialogbase.h"
24
25#include "qgis_gui.h"
27
28#define SIP_NO_FILE
29
30class QgsVectorLayer;
31
47class GUI_EXPORT QgsWmsDimensionDialog : public QDialog, private Ui::QgsWmsDimensionDialogBase
48{
49 Q_OBJECT
50 public:
51 QgsWmsDimensionDialog( QgsVectorLayer *layer, QStringList alreadyDefinedDimensions, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags() );
52
54
56
57 private slots:
58 void nameChanged( const QString &name );
59 void fieldChanged();
60 void defaultDisplayChanged( int index );
61
62 private:
64 QgsVectorLayer *mLayer = nullptr;
65};
66
67
68#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.