Skip to content
Permalink
Browse files

update labels in roadgraphplugin settings dialog

git-svn-id: http://svn.osgeo.org/qgis/trunk@15282 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
stopa85
stopa85 committed Feb 28, 2011
1 parent e4bcb6a commit 6d2c48830ed98da2ba4ff191518dc67385cdd13f
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/plugins/roadgraph/linevectorlayerwidget.cpp
@@ -61,19 +61,19 @@ RgLineVectorLayerSettingsWidget::RgLineVectorLayerSettingsWidget( RgLineVectorLa
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 @@ RgLineVectorLayerSettingsWidget::RgLineVectorLayerSettingsWidget( RgLineVectorLa
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() ) );

0 comments on commit 6d2c488

Please sign in to comment.
You can’t perform that action at this time.