[QGIS Commit] r15282 - trunk/qgis/src/plugins/roadgraph

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Feb 28 03:09:22 EST 2011


Author: stopa85
Date: 2011-02-28 00:09:22 -0800 (Mon, 28 Feb 2011)
New Revision: 15282

Modified:
   trunk/qgis/src/plugins/roadgraph/linevectorlayerwidget.cpp
Log:
update labels in roadgraphplugin settings dialog

Modified: trunk/qgis/src/plugins/roadgraph/linevectorlayerwidget.cpp
===================================================================
--- trunk/qgis/src/plugins/roadgraph/linevectorlayerwidget.cpp	2011-02-27 23:33:32 UTC (rev 15281)
+++ trunk/qgis/src/plugins/roadgraph/linevectorlayerwidget.cpp	2011-02-28 08:09:22 UTC (rev 15282)
@@ -61,19 +61,19 @@
   v->addLayout( h );
 
   h = new QHBoxLayout();
-  h->addWidget( new QLabel( tr( "Direct direction" ), frame ) );
+  h->addWidget( new QLabel( tr( "Value for forward direction" ), frame ) );
   mleFirstPointToLastPointDirection = new QLineEdit( s->mFirstPointToLastPointDirectionVal, frame );
   h->addWidget( mleFirstPointToLastPointDirection );
   v->addLayout( h );
 
   h = new QHBoxLayout();
-  h->addWidget( new QLabel( tr( "Reverse direction" ), frame ) );
+  h->addWidget( new QLabel( tr( "Value for reverse direction" ), frame ) );
   mleLastPointToFirstPointDirection = new QLineEdit( s->mLastPointToFirstPointDirectionVal, frame );
   h->addWidget( mleLastPointToFirstPointDirection );
   v->addLayout( h );
 
   h = new QHBoxLayout();
-  h->addWidget( new QLabel( tr( "Both direction" ), frame ) );
+  h->addWidget( new QLabel( tr( "Value two-way direction" ), frame ) );
   mleBothDirection = new QLineEdit( s->mBothDirectionVal, frame );
   h->addWidget( mleBothDirection );
   v->addLayout( h );
@@ -97,8 +97,8 @@
   h = new QHBoxLayout();
   l = new QLabel( tr( "Direction" ), frame );
   mcbDirectionDefault = new QComboBox( frame );
-  mcbDirectionDefault->insertItem( 0, tr( "Both direction" ) );
-  mcbDirectionDefault->insertItem( 1, tr( "Direct direction" ) );
+  mcbDirectionDefault->insertItem( 0, tr( "Two-way direction" ) );
+  mcbDirectionDefault->insertItem( 1, tr( "Forward direction" ) );
   mcbDirectionDefault->insertItem( 2, tr( "Reverse direction" ) );
   connect( mcbLayers, SIGNAL( currentIndexChanged( int ) ), this, SLOT( on_mcbLayers_selectItem() ) );
 



More information about the QGIS-commit mailing list