-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqgsdecorationscalebardialog.h
42 lines (35 loc) · 1.49 KB
/
qgsdecorationscalebardialog.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
/***************************************************************************
* Copyright (C) 2003 by Tim Sutton *
* *
* This is a plugin generated from the QGIS plugin template *
* *
* 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 QGSSCALEBARPLUGINGUI_H
#define QGSSCALEBARPLUGINGUI_H
#include "ui_qgsdecorationscalebardialog.h"
#include <QDialog>
#include "qgis_app.h"
class QgsDecorationScaleBar;
/**
@author Peter Brewer
*/
class APP_EXPORT QgsDecorationScaleBarDialog : public QDialog, private Ui::QgsDecorationScaleBarDialog
{
Q_OBJECT
public:
QgsDecorationScaleBarDialog( QgsDecorationScaleBar &deco, int units, QWidget *parent = nullptr );
~QgsDecorationScaleBarDialog();
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void apply();
protected:
QgsDecorationScaleBar &mDeco;
};
#endif