Skip to content

Commit

Permalink
update labels in roadgraphplugin settings dialog
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15282 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
stopa85 committed Feb 28, 2011
1 parent be632a9 commit 7e4cc50
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/plugins/roadgraph/linevectorlayerwidget.cpp
Expand Up @@ -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 );
Expand All @@ -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() ) );

Expand Down

0 comments on commit 7e4cc50

Please sign in to comment.