Skip to content
Permalink
Browse files
new vector dialog: fix resize and prepopulate with an entry
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15723 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 16, 2011
1 parent 2497b7a commit 029e96d741a7915e41a10b5f3489e7b83a9c3719
Showing with 4 additions and 9 deletions.
  1. +3 −1 src/app/qgsnewvectorlayerdialog.cpp
  2. +1 −8 src/ui/qgsnewvectorlayerdialogbase.ui
@@ -49,8 +49,10 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, Qt::WFlags fl
mFileFormatComboBox->setVisible( false );
mFileFormatLabel->setVisible( false );
}

mOkButton = buttonBox->button( QDialogButtonBox::Ok );
mOkButton->setEnabled( false );

mAttributeView->addTopLevelItem( new QTreeWidgetItem( QStringList() << "id" << "Integer" << "10" << "" ) );

QgsCoordinateReferenceSystem srs;
srs.validate();
@@ -123,14 +123,7 @@
</widget>
</item>
<item row="2" column="4">
<widget class="QLineEdit" name="mPrecision">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="QLineEdit" name="mPrecision"/>
</item>
</layout>
</widget>

0 comments on commit 029e96d

Please sign in to comment.