28     mXAttributeComboBox->addItem( 
"" );
    29     mYAttributeComboBox->addItem( 
"" );
    30     for ( 
int idx = 0; idx < fm.
count(); ++idx )
    32       QString fieldName = fm[idx].name();
    33       mXAttributeComboBox->addItem( fieldName );
    34       mYAttributeComboBox->addItem( fieldName );
    45   if ( layer->
layerType() != 
"VectorField" )
    55   mXAttributeComboBox->setCurrentIndex( mXAttributeComboBox->findText( 
mLayer->
xAttribute() ) );
    56   mYAttributeComboBox->setCurrentIndex( mYAttributeComboBox->findText( 
mLayer->
yAttribute() ) );
    62     mCartesianRadioButton->setChecked( 
true );
    66     mPolarRadioButton->setChecked( 
true );
    70     mHeightRadioButton->setChecked( 
true );
    76     mClockwiseFromNorthRadioButton->setChecked( 
true );
    80     mCounterclockwiseFromEastRadioButton->setChecked( 
true );
    86     mDegreesRadioButton->setChecked( 
true );
    90     mRadiansRadioButton->setChecked( 
true );
    93   mDistanceUnitWidget->blockSignals( 
true );
    96   mDistanceUnitWidget->blockSignals( 
false );
   106 void QgsVectorFieldSymbolLayerWidget::on_mScaleSpinBox_valueChanged( 
double d )
   115 void QgsVectorFieldSymbolLayerWidget::on_mXAttributeComboBox_currentIndexChanged( 
int index )
   124 void QgsVectorFieldSymbolLayerWidget::on_mYAttributeComboBox_currentIndexChanged( 
int index )
   133 void QgsVectorFieldSymbolLayerWidget::on_mCartesianRadioButton_toggled( 
bool checked )
   138     mXAttributeComboBox->setEnabled( 
true );
   139     mYAttributeComboBox->setEnabled( 
true );
   140     mXAttributeLabel->setText( 
tr( 
"X attribute" ) );
   141     mYAttributeLabel->setText( 
tr( 
"Y attribute" ) );
   146 void QgsVectorFieldSymbolLayerWidget::on_mPolarRadioButton_toggled( 
bool checked )
   151     mXAttributeComboBox->setEnabled( 
true );
   152     mYAttributeComboBox->setEnabled( 
true );
   153     mXAttributeLabel->setText( 
tr( 
"Length attribute" ) );
   154     mYAttributeLabel->setText( 
tr( 
"Angle attribute" ) );
   159 void QgsVectorFieldSymbolLayerWidget::on_mHeightRadioButton_toggled( 
bool checked )
   164     mXAttributeLabel->setText( 
"" );
   165     mXAttributeComboBox->setEnabled( 
false );
   166     mYAttributeLabel->setText( 
tr( 
"Height attribute" ) );
   171 void QgsVectorFieldSymbolLayerWidget::on_mDegreesRadioButton_toggled( 
bool checked )
   180 void QgsVectorFieldSymbolLayerWidget::on_mRadiansRadioButton_toggled( 
bool checked )
   189 void QgsVectorFieldSymbolLayerWidget::on_mClockwiseFromNorthRadioButton_toggled( 
bool checked )
   198 void QgsVectorFieldSymbolLayerWidget::on_mCounterclockwiseFromEastRadioButton_toggled( 
bool checked )
   207 void QgsVectorFieldSymbolLayerWidget::on_mDistanceUnitWidget_changed()
 
void setXAttribute(const QString &attribute)
 
QString xAttribute() const 
 
void setYAttribute(const QString &attribute)
 
void setAngleUnits(AngleUnits units)
 
QgsFields fields() const 
Returns the list of fields of this layer. 
 
The output shall be in pixels. 
 
AngleOrientation angleOrientation() const 
 
Container of fields for a vector layer. 
 
const QgsMapUnitScale & distanceMapUnitScale() const 
 
VectorFieldType vectorFieldType() const 
 
QString tr(const char *sourceText, const char *disambiguation, int n)
 
A symbol layer class for displaying displacement arrows based on point layer attributes. 
 
The output shall be in millimeters. 
 
The output shall be in map unitx. 
 
int count() const 
Return number of items. 
 
void setDistanceMapUnitScale(const QgsMapUnitScale &scale)
 
virtual QString layerType() const =0
Returns a string that represents this layer type. 
 
QgsSymbolV2::OutputUnit distanceUnit() const 
 
QString yAttribute() const 
 
void setDistanceUnit(QgsSymbolV2::OutputUnit unit)
 
void setAngleOrientation(AngleOrientation orientation)
 
Represents a vector layer which manages a vector based data sets. 
 
AngleUnits angleUnits() const 
 
void setVectorFieldType(VectorFieldType type)