~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/plugins/geoprocessing/qgsdlgpgbuffer.h

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    begin                : Jan 21, 2004
7
7
    copyright            : (C) 2004 by Gary E.Sherman
8
8
    email                : sherman at mrcc.com
9
 
  
 
9
 
10
10
 ***************************************************************************/
11
11
 
12
12
/***************************************************************************
17
17
 *   (at your option) any later version.                                   *
18
18
 *                                                                         *
19
19
 ***************************************************************************/
20
 
 /*  $Id: qgsdlgpgbuffer.h 4990 2006-03-09 22:50:13Z telwertowski $ */
 
20
/*  $Id$ */
21
21
#ifndef QGSDLGPGBUFFER_H
22
22
#define QGSDLGPGBUFFER_H
23
23
#include "ui_qgsdlgpgbufferbase.h"
24
24
#include "qgisgui.h"
25
25
 
26
 
class QgisIface;
 
26
class QgisInterface;
27
27
class QDoubleValidator;
28
28
 
29
 
class QgsDlgPgBuffer:public QDialog, private Ui::QgsDlgPgBufferBase
 
29
class QgsDlgPgBuffer: public QDialog, private Ui::QgsDlgPgBufferBase
30
30
{
31
31
  Q_OBJECT public:
32
 
  //! Constructor
33
 
    QgsDlgPgBuffer( QgisIface * _qI = 0, QWidget * parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags);
 
32
    //! Constructor
 
33
    QgsDlgPgBuffer( QgisInterface * _qI = 0, QWidget * parent = 0, Qt::WFlags fl = QgisGui::ModalDialogFlags );
34
34
    //! Destructor
35
35
    ~QgsDlgPgBuffer();
36
36
    //! Set the information label in the dialog
37
 
    void setBufferLabel(QString & lbl);
 
37
    void setBufferLabel( QString & lbl );
38
38
    //! Get the buffer distance
39
39
    QString bufferDistance();
40
40
    //! Get the name of the buffered layer to be created
50
50
    //! Flag to indicate if the layer should be added to the map
51
51
    bool addLayerToMap();
52
52
    //! Add a field name to the list of fields available for use as the object id
53
 
    void addFieldItem(QString field);
 
53
    void addFieldItem( QString field );
54
54
    //! Add a schema name to the list of available schemas
55
 
    void addSchema(QString schema);
 
55
    void addSchema( QString schema );
56
56
    //! Set the srid value on the dialog
57
 
    void setSrid(QString srid);
 
57
    void setSrid( QString srid );
58
58
    //! Set the bufferd layer name on the dialog
59
 
    void setBufferLayerName(QString name);
 
59
    void setBufferLayerName( QString name );
60
60
    //! Set the geometry column on the dialog
61
 
    void setGeometryColumn(QString name);
62
 
    public slots:
63
 
    void on_btnHelp_clicked();
64
 
    private:
65
 
      //! Pointer to the QGIS interface object
66
 
    QgisIface *qI;
 
61
    void setGeometryColumn( QString name );
 
62
  private slots:
 
63
    void on_buttonBox_helpRequested();
 
64
  private:
 
65
    //! Pointer to the QGIS interface object
 
66
    QgisInterface *qI;
67
67
    //! Input validator for the buffer distance
68
68
    QDoubleValidator *distanceValidator;
69
69
    //! Context help id