-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
qgsrangeconfigdlg.h
45 lines (37 loc) · 1.57 KB
/
qgsrangeconfigdlg.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
/***************************************************************************
qgsrangeconfigdlg.h
--------------------------------------
Date : 5.1.2014
Copyright : (C) 2014 Matthias Kuhn
Email : matthias at opengis dot ch
***************************************************************************
* *
* 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 QGSRANGECONFIGDLG_H
#define QGSRANGECONFIGDLG_H
#include "ui_qgsrangeconfigdlgbase.h"
#include "qgseditorconfigwidget.h"
#include "qgis_gui.h"
SIP_NO_FILE
/**
* \ingroup gui
* \class QgsRangeConfigDlg
* \note not available in Python bindings
*/
class GUI_EXPORT QgsRangeConfigDlg : public QgsEditorConfigWidget, private Ui::QgsRangeConfigDlgBase
{
Q_OBJECT
public:
explicit QgsRangeConfigDlg( QgsVectorLayer *vl, int fieldIdx, QWidget *parent );
QVariantMap config() override;
void setConfig( const QVariantMap &config ) override;
protected slots:
void rangeWidgetChanged( int index );
void setPrecision( int precision );
};
#endif // QGSRANGECONFIGDLG_H