Skip to content
Permalink
Browse files
add concat button to field calculator
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14138 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 24, 2010
1 parent 0934003 commit 21c23595c75ed22cfa59c8fe6063563dd1255543
Showing with 13 additions and 0 deletions.
  1. +5 −0 src/app/qgsfieldcalculator.cpp
  2. +1 −0 src/app/qgsfieldcalculator.h
  3. +7 −0 src/ui/qgsfieldcalculatorbase.ui
@@ -397,6 +397,11 @@ void QgsFieldCalculator::on_mRowNumButton_clicked()
mExpressionTextEdit->insertPlainText( "$rownum" );
}

void QgsFieldCalculator::on_mConcatButton_clicked()
{
mExpressionTextEdit->insertPlainText( "||" );
}

void QgsFieldCalculator::on_mSamplePushButton_clicked()
{
getFieldValues( 25 );
@@ -54,6 +54,7 @@ class QgsFieldCalculator: public QDialog, private Ui::QgsFieldCalculatorBase
void on_mLengthButton_clicked();
void on_mAreaButton_clicked();
void on_mRowNumButton_clicked();
void on_mConcatButton_clicked();
void on_mSamplePushButton_clicked();
void on_mAllPushButton_clicked();
void on_mOutputFieldNameLineEdit_textChanged( const QString& text );
@@ -276,6 +276,13 @@
</property>
</widget>
</item>
<item row="2" column="6">
<widget class="QPushButton" name="mConcatButton">
<property name="text">
<string>||</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>

0 comments on commit 21c2359

Please sign in to comment.