Skip to content

Commit

Permalink
Fix for ticket #847 (make the requirement for a header row in a
Browse files Browse the repository at this point in the history
delimited text file clearer)


git-svn-id: http://svn.osgeo.org/qgis/trunk@7793 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Dec 16, 2007
1 parent 0afaaed commit e22b29c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/plugins/delimited_text/qgsdelimitedtextplugingui.cpp
Expand Up @@ -56,10 +56,13 @@ QgsDelimitedTextPluginGui::QgsDelimitedTextPluginGui(QgisInterface * _qI, QWidge
delimiterRegexp->setChecked(true);
}

teInstructions->setHtml(tr("<h1>Description</h1>"
"<p>Select a delimited text file containing x and y coordinates that you would like to use as a point layer and this plugin will do the job for you!</p>"
teInstructions->setHtml(tr("<h2>Description</h2>"
"<p>Select a delimited text file containing a header row and one or more rows of x and y coordinates that you would like to use as a point layer and this plugin will do the job for you!</p>"
"<p>Use the layer name box to specify the legend name for the new layer. Use the delimiter box to specify what delimeter is used in your file (e.g. space, comma, tab or a regular expression in Perl style). After choosing a delimiter, press the parse button and select the columns containing the x and y values for the layer.</p>"));

// Force a slightly smaller height for the text sample display. Trying to
// this in the .ui file never seems to achieve what it required, hence it's
// done here.
txtSample->setFixedHeight(120);
}
QgsDelimitedTextPluginGui::~QgsDelimitedTextPluginGui()
{
Expand Down

0 comments on commit e22b29c

Please sign in to comment.