mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
add numeric validator field width and precision in new vector dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@11990 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
4b4fabd02d
commit
6d6df28880
@ -32,6 +32,9 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WFlags fl
|
||||
mTypeBox->addItem( tr( "Whole number" ), "Integer" );
|
||||
mTypeBox->addItem( tr( "Decimal number" ), "Real" );
|
||||
|
||||
mWidth->setValidator( new QIntValidator( 1, 255, this ) );
|
||||
mPrecision->setValidator( new QIntValidator( 0, 20, this ) );
|
||||
|
||||
mPointRadioButton->setChecked( true );
|
||||
mFileFormatComboBox->addItem( tr( "ESRI Shapefile" ), "ESRI Shapefile" );
|
||||
/* Disabled until provider properly supports editing the created file formats */
|
||||
|
Loading…
x
Reference in New Issue
Block a user