QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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 
28 class QgsVectorLayer;
29 
44 class GUI_EXPORT QgsWmsDimensionDialog: public QDialog, private Ui::QgsWmsDimensionDialogBase
45 {
46  Q_OBJECT
47  public:
48  QgsWmsDimensionDialog( QgsVectorLayer *layer, QStringList alreadyDefinedDimensions, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags() );
49 
51 
52  void setInfo( const QgsMapLayerServerProperties::WmsDimensionInfo &info );
53 
54  private slots:
55  void nameChanged( const QString &name );
56  void fieldChanged();
57  void defaultDisplayChanged( int index );
58 
59  private:
61  QgsVectorLayer *mLayer = nullptr;
62 };
63 
64 
65 #endif // QGSWMSDIMENSIONDIALOG_H
qgsmaplayerserverproperties.h
QgsServerWmsDimensionProperties::WmsDimensionInfo
Setting to define QGIS Server WMS Dimension.
Definition: qgsmaplayerserverproperties.h:156
QgsWmsDimensionDialog
The QgsWmsDimensionDialog class provides an interface for WMS/OAPIF (WFS3) dimensions configuration A...
Definition: qgswmsdimensiondialog.h:44
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition: qgsvectorlayer.h:391