QGIS API Documentation 3.43.0-Master (c67cf405802)
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"
26#include "qgis_gui.h"
27
28class QgsVectorLayer;
29
45class GUI_EXPORT QgsWmsDimensionDialog : public QDialog, private Ui::QgsWmsDimensionDialogBase
46{
47 Q_OBJECT
48 public:
49 QgsWmsDimensionDialog( QgsVectorLayer *layer, QStringList alreadyDefinedDimensions, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags() );
50
52
53 void setInfo( const QgsMapLayerServerProperties::WmsDimensionInfo &info );
54
55 private slots:
56 void nameChanged( const QString &name );
57 void fieldChanged();
58 void defaultDisplayChanged( int index );
59
60 private:
62 QgsVectorLayer *mLayer = nullptr;
63};
64
65
66#endif // QGSWMSDIMENSIONDIALOG_H
Represents a vector layer which manages a vector based dataset.
A dialog that provides an interface for WMS/OAPIF (WFS3) dimensions configuration.
Setting to define QGIS Server WMS Dimension.