~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to plugins/scale_bar/plugingui.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2004-12-21 09:46:27 UTC
  • Revision ID: james.westby@ubuntu.com-20041221094627-r9lb6mlz2o3yp8gn
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2003 by Tim Sutton                                      *
 
3
 *   tim@linfiniti.com                                                     *
 
4
 *                                                                         *
 
5
 *   This is a plugin generated from the QGIS plugin template              *
 
6
 *                                                                         *
 
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 PLUGINGUI_H
 
13
#define PLUGINGUI_H
 
14
 
 
15
#include <pluginguibase.h>
 
16
 
 
17
/**
 
18
@author Peter Brewer
 
19
*/
 
20
class PluginGui : public PluginGuiBase
 
21
{
 
22
Q_OBJECT;
 
23
public:
 
24
    PluginGui();
 
25
    PluginGui( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
 
26
    ~PluginGui();
 
27
    void pbnOK_clicked();
 
28
    void pbnCancel_clicked();
 
29
    void setPlacement(QString);
 
30
    void setPreferredSize(int);
 
31
    void setSnapping(bool);
 
32
    void setEnabled(bool);
 
33
    void setStyle(QString);
 
34
    void setColour(QColor);
 
35
 
 
36
    
 
37
    
 
38
private:
 
39
    
 
40
signals:
 
41
   void drawRasterLayer(QString);
 
42
   void drawVectorrLayer(QString,QString,QString);
 
43
   void changePlacement(QString);
 
44
   void changePreferredSize(int);
 
45
   void changeSnapping(bool);
 
46
   void changeEnabled(bool);
 
47
   void changeStyle(QString);
 
48
   void changeColour(QColor);
 
49
   void refreshCanvas();
 
50
};
 
51
 
 
52
#endif