/
qgswmtsdimensions.h
50 lines (41 loc) · 1.8 KB
/
qgswmtsdimensions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/***************************************************************************
qgswmtsdimensions.h - selector for WMTS dimensions
-------------------
begin : 2. May 2012
copyright : (C) 2012 by Jürgen Fischer, norBIT GmbH
email: : jef (at) norbit (dot) de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSWMTSDIMENSIONS_H
#define QGSWMTSDIMENSIONS_H
#include "ui_qgswmtsdimensionsbase.h"
#include "qgisgui.h"
#include "qgscontexthelp.h"
#include "qgswmsprovider.h"
#include <QHash>
/*!
* \brief Dialog to select dimension values for WMTS layers
*
* This dialog allows the user to select dimensions values the
* WMTS offers.
*
*/
class QgsWmtsDimensions : public QDialog, private Ui::QgsWmtsDimensionsBase
{
Q_OBJECT
public:
//! Constructor
QgsWmtsDimensions( const QgsWmtsTileLayer &layer, QWidget *parent = 0, Qt::WFlags fl = 0 );
//! Destructor
~QgsWmtsDimensions();
void selectedDimensions( QHash<QString, QString> &dims );
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
};
#endif // QGSWMTSDIMENSIONS_H