Skip to content
Permalink
Browse files

Reorder and rename postgis layers metadata columns shown in selector

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Nov 2, 2012
1 parent 4b9dbf2 commit 8e108768cf216c3462f8551227719d4d38034bab
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/providers/postgres/qgspgtablemodel.cpp
@@ -26,11 +26,11 @@ QgsPgTableModel::QgsPgTableModel()
QStringList headerLabels;
headerLabels << tr( "Schema" );
headerLabels << tr( "Table" );
headerLabels << tr( "Type" );
headerLabels << tr( "Geometry Type" );
headerLabels << tr( "Geometry Column" );
headerLabels << tr( "Column" );
headerLabels << tr( "Data Type" );
headerLabels << tr( "Spatial Type" );
headerLabels << tr( "SRID" );
headerLabels << tr( "Primary key column" );
headerLabels << tr( "Primary Key" );
headerLabels << tr( "Select at id" );
headerLabels << tr( "Sql" );
setHorizontalHeaderLabels( headerLabels );
@@ -118,9 +118,9 @@ void QgsPgTableModel::addTableEntry( QgsPostgresLayerProperty layerProperty )

childItemList << schemaNameItem;
childItemList << tableItem;
childItemList << typeItem;
childItemList << geomTypeItem;
childItemList << geomItem;
childItemList << geomTypeItem;
childItemList << typeItem;
childItemList << sridItem;
childItemList << pkItem;
childItemList << selItem;

0 comments on commit 8e10876

Please sign in to comment.
You can’t perform that action at this time.