-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqgsdecorationnortharrowdialog.h
44 lines (36 loc) · 1.68 KB
/
qgsdecorationnortharrowdialog.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
/***************************************************************************
* 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 QGSNORTHARROWPLUGINGUI_H
#define QGSNORTHARROWPLUGINGUI_H
#include "ui_qgsdecorationnortharrowdialog.h"
#include "qgis_app.h"
class QgsDecorationNorthArrow;
class APP_EXPORT QgsDecorationNorthArrowDialog : public QDialog, private Ui::QgsDecorationNorthArrowDialog
{
Q_OBJECT
public:
QgsDecorationNorthArrowDialog( QgsDecorationNorthArrow &deco, QWidget *parent = nullptr );
~QgsDecorationNorthArrowDialog();
private:
void rotatePixmap( int rotationInt );
void resizeEvent( QResizeEvent * ) override; //overloads qwidget
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void on_spinAngle_valueChanged( int spinAngle );
void on_sliderRotation_valueChanged( int rotationValue );
void apply();
protected:
QgsDecorationNorthArrow &mDeco;
};
#endif