QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsvectorfieldsymbollayerwidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsvectorfieldsymbollayerwidget.h
3  ---------------------
4  begin : October 2011
5  copyright : (C) 2011 by Marco Hugentobler
6  email : marco dot hugentobler at sourcepole dot ch
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 #ifndef QGSVECTORFIELDSYMBOLLAYERWIDGET_H
16 #define QGSVECTORFIELDSYMBOLLAYERWIDGET_H
17 
18 #include "qgssymbollayerv2widget.h"
19 #include "ui_widget_vectorfield.h"
20 
22 
23 class GUI_EXPORT QgsVectorFieldSymbolLayerWidget: public QgsSymbolLayerV2Widget, private Ui::WidgetVectorFieldBase
24 {
25  Q_OBJECT
26  public:
27  QgsVectorFieldSymbolLayerWidget( const QgsVectorLayer* vl, QWidget* parent = 0 );
29 
31 
32  // from base class
33  virtual void setSymbolLayer( QgsSymbolLayerV2* layer );
34  virtual QgsSymbolLayerV2* symbolLayer();
35 
36  protected:
38 
39  private slots:
40  void on_mScaleSpinBox_valueChanged( double d );
41  void on_mXAttributeComboBox_currentIndexChanged( int index );
42  void on_mYAttributeComboBox_currentIndexChanged( int index );
43  void on_mCartesianRadioButton_toggled( bool checked );
44  void on_mPolarRadioButton_toggled( bool checked );
45  void on_mHeightRadioButton_toggled( bool checked );
46  void on_mDegreesRadioButton_toggled( bool checked );
47  void on_mRadiansRadioButton_toggled( bool checked );
48  void on_mClockwiseFromNorthRadioButton_toggled( bool checked );
49  void on_mCounterclockwiseFromEastRadioButton_toggled( bool checked );
50  void on_mDistanceUnitComboBox_currentIndexChanged( int index );
51 };
52 
53 #endif // QGSVECTORFIELDSYMBOLLAYERWIDGET_H