1
/***************************************************************************
2
* Copyright (C) 2003 by Tim Sutton *
5
* This is a plugin generated from the QGIS plugin template *
7
* This program is free software; you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation; either version 2 of the License, or *
10
* (at your option) any later version. *
11
***************************************************************************/
12
#ifndef QGSNORTHARROWPLUGINGUI_H
13
#define QGSNORTHARROWPLUGINGUI_H
15
#include <ui_pluginguibase.h>
20
class QgsNorthArrowPluginGui : public QDialog, private Ui::QgsNorthArrowPluginGuiBase
24
QgsNorthArrowPluginGui();
25
QgsNorthArrowPluginGui( QWidget* parent = 0, Qt::WFlags fl = 0 );
26
~QgsNorthArrowPluginGui();
29
void on_pbnOK_clicked();
30
void on_pbnCancel_clicked();
33
void rotatePixmap(int theRotationInt);
34
// void paintEvent( QPaintEvent * );//overloads qwidget
35
void resizeEvent(QResizeEvent *); //overloads qwidget
37
//void drawRasterLayer(QString);
38
//void drawVectorrLayer(QString,QString,QString);
39
void rotationChanged(int);
40
void changePlacement(int);
42
void enableNorthArrow(bool);
43
void enableAutomatic(bool);
47
void setRotation(int);
48
void setPlacementLabels(QStringList&);
49
void setPlacement(int);
50
void setEnabled(bool);
51
void setAutomatic(bool);
52
void setAutomaticDisabled();
55
void on_spinAngle_valueChanged( int theInt);
56
void on_sliderRotation_valueChanged( int theInt);