Skip to content

Commit e22b29c

Browse files
author
g_j_m
committed
Fix for ticket #847 (make the requirement for a header row in a
delimited text file clearer) git-svn-id: http://svn.osgeo.org/qgis/trunk@7793 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0afaaed commit e22b29c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/plugins/delimited_text/qgsdelimitedtextplugingui.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,13 @@ QgsDelimitedTextPluginGui::QgsDelimitedTextPluginGui(QgisInterface * _qI, QWidge
5656
delimiterRegexp->setChecked(true);
5757
}
5858

59-
teInstructions->setHtml(tr("<h1>Description</h1>"
60-
"<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>"
59+
teInstructions->setHtml(tr("<h2>Description</h2>"
60+
"<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>"
6161
"<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>"));
62-
62+
// Force a slightly smaller height for the text sample display. Trying to
63+
// this in the .ui file never seems to achieve what it required, hence it's
64+
// done here.
65+
txtSample->setFixedHeight(120);
6366
}
6467
QgsDelimitedTextPluginGui::~QgsDelimitedTextPluginGui()
6568
{

0 commit comments

Comments
 (0)