Skip to content
Browse files

Make attribute selection table in vector save as dialog taller

  • Loading branch information
nyalldawson committed Apr 3, 2016
1 parent cbad546 commit 98d4734098e456233b75cd8534cc807f63efde4f
Showing with 15 additions and 7 deletions.
  1. +15 −7 src/ui/qgsvectorlayersaveasdialogbase.ui
@@ -71,7 +71,7 @@
<item row="2" column="1" colspan="2">
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector">
<widget class="QgsProjectionSelectionWidget" name="mCrsSelector" native="true">
<property name="focusPolicy">
@@ -89,9 +89,9 @@
<property name="geometry">
<layout class="QVBoxLayout" name="verticalLayout">
@@ -130,12 +130,18 @@
<property name="checked">
<property name="collapsed">
<property name="collapsed" stdset="0">
<layout class="QVBoxLayout" name="verticalLayout_4">
<widget class="QTableWidget" name="mAttributeTable">
<property name="minimumSize">
<property name="rowCount">
@@ -288,7 +294,7 @@
<property name="title">
<string>Custom Options</string>
<property name="collapsed">
<property name="collapsed" stdset="0">
<layout class="QGridLayout" name="gridLayout_3">
@@ -426,6 +432,9 @@
@@ -434,7 +443,6 @@

2 comments on commit 98d4734


This comment has been minimized.

Copy link

@nirvn nirvn replied Apr 4, 2016

@jef-n , @nyalldawson , I was thinking last night that it'd be nice to allow - through this newly-added UI - to rename fields in the save as... dialog.


This comment has been minimized.

Copy link
Collaborator Author

@nyalldawson nyalldawson replied Apr 4, 2016

@nirvn - go for it ;) based on your recent contributions I'd say you've got the skills! It could be implemented by adding a new stringlist parameter to QgsVectorFileWriter::writeAsVectorFormat for the new field names. Then around qgsvectorfilewriter.cpp:2090 you'd need to rename the field. Add a test in to verify that the changes are working OK, then it's just the GUI changes to do.

Please sign in to comment.