QGIS/plugins/spit/qgsspitbase.ui

696 lines
246 KiB
Plaintext
Raw Normal View History

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>QgsSpitBase</class>
<widget class="QDialog">
<property name="name">
<cstring>QgsSpitBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>689</width>
<height>484</height>
</rect>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="caption">
<string>SPIT - Shapefile to PostGIS Import Tool</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel" row="0" column="2">
<property name="name">
<cstring>txtHeading</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<pointsize>20</pointsize>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Shapefile to PostGIS Import Tool</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>layout49</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>btnHelp</cstring>
</property>
<property name="text">
<string>Help</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer76</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>361</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>btnImport</cstring>
</property>
<property name="text">
<string>Import</string>
</property>
<property name="toolTip" stdset="0">
<string>Import the defined shapefiles to PostGIS</string>
</property>
<property name="whatsThis" stdset="0">
<string>Import the defined shapefiles to PostGIS</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnQuit</cstring>
</property>
<property name="text">
<string>Close</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLabel" row="0" column="0" rowspan="3" colspan="1">
<property name="name">
<cstring>pixmapLabel1</cstring>
</property>
<property name="pixmap">
<pixmap>image0</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
<widget class="QGroupBox" row="2" column="2">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Shapefile List</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout61</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>btnAddFile</cstring>
</property>
<property name="text">
<string>Add</string>
</property>
<property name="toolTip" stdset="0">
<string>Add a shapefile to the list of files to be imported</string>
</property>
<property name="whatsThis" stdset="0">
<string>Add a shapefile to the list of files to be imported</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnRemoveFile</cstring>
</property>
<property name="text">
<string>Remove</string>
</property>
<property name="toolTip" stdset="0">
<string>Remove the selected shapefile from the import list</string>
</property>
<property name="whatsThis" stdset="0">
<string>Remove the selected shapefile from the import list</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>btnRemoveAll</cstring>
</property>
<property name="text">
<string>Remove All</string>
</property>
<property name="toolTip" stdset="0">
<string>Remove all the shapefiles from the import list</string>
</property>
<property name="whatsThis" stdset="0">
<string>Remove all the shapefiles from the import list</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>200</width>
<height>31</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QTable" row="5" column="0">
<column>
<property name="text">
<string>File Name</string>
</property>
</column>
<column>
<property name="text">
<string>Feature Class</string>
</property>
</column>
<column>
<property name="text">
<string>Features</string>
</property>
</column>
<column>
<property name="text">
<string>DB Relation Name</string>
</property>
</column>
<column>
<property name="text">
<string>Schema</string>
</property>
</column>
<property name="name">
<cstring>tblShapefiles</cstring>
</property>
<property name="numRows">
<number>0</number>
</property>
<property name="numCols">
<number>5</number>
</property>
<property name="showGrid">
<bool>true</bool>
</property>
<property name="readOnly">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>MultiRow</enum>
</property>
<property name="focusStyle">
<enum>FollowStyle</enum>
</property>
</widget>
<widget class="QLayoutWidget" row="4" column="0">
<property name="name">
<cstring>layout60</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer19</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>140</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout56</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
<property name="text">
<string>Global Schema</string>
</property>
</widget>
<widget class="QComboBox">
<property name="name">
<cstring>cmbSchema</cstring>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>24</height>
</size>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
</widget>
</hbox>
</widget>
</hbox>
</widget>
<widget class="Line" row="3" column="0">
<property name="name">
<cstring>line3</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
<widget class="QLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout59</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout52</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout51</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>SRID</string>
</property>
</widget>
<widget class="QSpinBox">
<property name="name">
<cstring>spinSrid</cstring>
</property>
<property name="maxValue">
<number>1000000</number>
</property>
<property name="minValue">
<number>-1</number>
</property>
<property name="value">
<number>-1</number>
</property>
</widget>
</hbox>
</widget>
<widget class="QCheckBox" row="0" column="0">
<property name="name">
<cstring>chkUseDefaultSrid</cstring>
</property>
<property name="text">
<string>Use Default SRID</string>
</property>
<property name="toolTip" stdset="0">
<string>Set the SRID to the default value</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set the SRID to the default value</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer77</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout58</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox" row="0" column="0">
<property name="name">
<cstring>chkUseDefaultGeom</cstring>
</property>
<property name="text">
<string>Use Default Geometry Column Name</string>
</property>
<property name="toolTip" stdset="0">
<string>Set the geometry column name to the default value</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set the geometry column name to the default value</string>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout57</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>Geometry Column Name</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>txtGeomName</cstring>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
</hbox>
</widget>
<widget class="Line" row="1" column="0">
<property name="name">
<cstring>line1</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
</widget>
</grid>
</widget>
<widget class="QGroupBox" row="1" column="2">
<property name="name">
<cstring>groupBox8</cstring>
</property>
<property name="title">
<string>PostgreSQL Connections</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout48</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton" row="1" column="1">
<property name="name">
<cstring>btnNew</cstring>
</property>
<property name="text">
<string>New</string>
</property>
<property name="toolTip" stdset="0">
<string>Create a new PostGIS connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Create a new PostGIS connection</string>
</property>
</widget>
<widget class="QPushButton" row="1" column="3">
<property name="name">
<cstring>btnRemove</cstring>
</property>
<property name="text">
<string>Remove</string>
</property>
<property name="toolTip" stdset="0">
<string>Remove the current PostGIS connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Remove the current PostGIS connection</string>
</property>
</widget>
<widget class="QPushButton" row="1" column="0">
<property name="name">
<cstring>btnConnect</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Connect</string>
</property>
</widget>
<widget class="QPushButton" row="1" column="2">
<property name="name">
<cstring>btnEdit</cstring>
</property>
<property name="text">
<string>Edit</string>
</property>
<property name="toolTip" stdset="0">
<string>Edit the current PostGIS connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Edit the current PostGIS connection</string>
</property>
</widget>
<widget class="QComboBox" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>cmbConnections</cstring>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="Line" row="0" column="1" rowspan="3" colspan="1">
<property name="name">
<cstring>line12</cstring>
</property>
<property name="frameShape">
<enum>VLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
</widget>
</grid>
</widget>
<images>
<image name="image0">
<data format="XPM.GZ" length="263961">789c4c9dc972723d9465e7f9147fe49d655490a687410de8dc60b08d31605c5103fabe6f4dbd7cfddfa7bd36e9084f5608e9e8a8b9d2be47bafffd5fff7c7fd4fff9affffe8fc3b1779c0dfe194c7bfb7ffe6b785aad7effcffffddfffef3ffe339e7ef827f9ef7f269ecdfe93fccffff51fff190de3ff0cfe891efefefd0593b5404ae0f70910ff0b6289b4402ea488e52381817e32cd19e4428a5e00714a99e60d428ad747018addee01a1d8a8520624646956407644b398c1df4ca37102401e0b839062ba13c0d2f86f00092cadac00caa350340879441301991edb3f1a8414b1a6001ecb260d54ec8f80ec882a6b40282596cd0490c4630f710095db0112f9e0a08e408a5254fd2476344b0254ffad10404aa544aba500cd3055f553035c780e208d61f593405e796cfa0243d5e55d201357a6bdab403ab46dec49b5cde4055a2981a17e12bd04904dab5bd68e0279955257cb65f59358590d35ce24ff3a28f6ab9f8c7bf2d8b4fd17e43c1aa2b100ddf27c3108a57cd605e88551cd20a4683e08303c465983e0a0df67804c6f7c05e0f1128b1be8278f003928d110c0d2fea341f849290f900b375d0365fa00d010ab5c0c82834625016a3bad19a85b922963ae5c3650291f004aa918a89483803c167bec19843cfa6b804ad9ee00e4a14c19c8b1b7a5813a6e13a03c4613030d42ff44965e2f06a194682ac0d8ff281a843c6647807a616369a052ae007aa19ac1d3c5f2c320fca4370790e9ca40996e01988e1db964fc2f28260dc268f850db7a0e9af2139c5cd918a89f865199f3a4947c01e82797ac41c8b4f80e9061e59641b0e3531dc6d356e21ba04c577b8390e96502a04b39856a3b3d09e0d364d520e4318800d4760a50a6313265b67c3802f493ddb74148915e0094c72567106afb3d0820453fed8e0cf47c990354cab1055087296600aa6d14136032189c0d64fa238079fddb20145b980142a6b11f75cb9487fa0dc0007a12c0411f7d00b3f6cc2094b2de00647a4f233b4d6d4b434052235b3d289de631df06682ecca60d34a23419f0488abd0f002aa5ff015043f5e4a0344f8f47599a89abd8d13780cab50d940290a627ff0278f06942c9f0d06272ccd80e999e5529b1df9e814a515db254eefb0a50a68fca3417a7fa37008f5775981c967e2d01b4ad46658e525a9a61f27e666b78f4479a50ceeaa7a38cfafa9726033f8019b7e3b1fa58a7601052dc4a805448717904a4137f0d5bfe6d97f87d053b1a1b6810be083049970e02f4e4cf57011e389f3503a5b801d40cf958003ca263aba4817e3207e827d7ac00763c5f0cb4fcda01e4f5df1f801cf47c16601efb5c1a843c3aef00e5717d04a84b151f00caf4e14380eaa79f0de4c2264099ce36067aaae30f66badf95411884bf15008d3d0cc08fe8e7a48116ac5d808a1db70c42b1d73c80c75acc20f4a0b8daf6fe884e19e839570250b991811e5a05002eac1b84ca953300d9f1db35087624e4313fd53f3f0d345b7600b4fed540cfb92940c59eca00157b69188414056a9b0b03283a170c7a7f8bcd250468fd8f9b4130acf00060b57535088695bf0072506160203b289689fe9837d0530c4b071aea71a548d23f3ed206c1b0d31e20c3967d03b55c02c0ca6066a062df001856350829aebf00b9f0da31082e3c6986f192e5f80ad0d87f7b3450c7bd0254ece1c92014bbf906a8d8cbd6a017f2c801c25c188b6b20b3a8891da83e0bc576ce20d871720a4a59198452a66adb24fda35135d0636d0a60001d0cd40c18e6fe7134504f2e0128565ddb0ba3cf9381bae50da0ca55b6064a3103306e1b06a1d84b01a0a6acab725e2995fb009552df1bc8850700a564016adb92f350d77e240f1aaa480a1aeaf1d940dbb7014079fc9007cd70e3273ca31a1f067aaa5f007a66d7e50f6fdee34d80f2881f0cf4dcff00a8b68b0e402e6cb605584c7cc600ecd56f062a760a90616d4df4ffaed864e91280612903ad932380f268aa6dbd847bff3490bab100a82e076a3bd433aaa98716abbe58e11d20d36b558056390f1a2f2cf262df530359ea14b234a5ba64a86d7c00208fa6818abd0054ec49ad8f4212cb770cb450ac01542c33ccbf20e4d1d22c95f592f662a03c3a00e5f1d604c8638fea521666aea4d06a3cf6a6793d4be56a078350b9ee2740ed32ca19843c1ed50c59eb4129800c7bbf1a84a11e93e939afa423804a190358f446fc04d3db7d806adbd2cc9fa3d3e5ab00a578d5c3334fb15f4d8056062d2d58bd927ed5aaafd76301df06e827573db486238db9a226c75142294a5aa18c324a71d6b81df5347f9465d868a4ca9dd572637e729593c73dd5e5aa15db784c332c01a4e81b6889ef9f30f585a7e95d413be404bc355f188414999e004fa0fdc4400be72d404efe0c63df0a5a6c3f36083f7939017834ee055828febe1a849fece700fac759c04a4dcc404f8f1b00c316061288d600b57e6d27406d97458390e9640a40931e1b6835fe0250e7af60298bef46e852777dacb830d072b40690e9a5a381d63053006bfeb84128b65f11c0a79d478350cab204505d261f065a5b5e01284669801eafd78981d6daea0e5e6b7fc70d42b1db0640954ba60ca4a0cd01483707032d69bb00add84ab890b5d4d529326181561d0ad0b6df4903bd08e90164d82e67a0b51475f1d23a01901db7194076149a0661646fc30e27775f5a3f1be8393705a016270db419390258d365016c46f60672d01c20c37ed30661d5b7dd02b4bd1f512c52566f6520b923016054e60cb47ba5d81402917fc2f0180264fac93f91e9c71e40a6570a06c1a71fef0274ba74d240b3d40
</image>
</images>
<connections>
<connection>
<sender>chkUseDefaultSrid</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>useDefaultSrid()</slot>
</connection>
<connection>
<sender>btnRemoveAll</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>removeAllFiles()</slot>
</connection>
<connection>
<sender>btnRemove</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>removeConnection()</slot>
</connection>
<connection>
<sender>btnAddFile</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>addFile()</slot>
</connection>
<connection>
<sender>btnRemoveFile</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>removeFile()</slot>
</connection>
<connection>
<sender>btnEdit</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>editConnection()</slot>
</connection>
<connection>
<sender>btnQuit</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>close()</slot>
</connection>
<connection>
<sender>btnImport</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>import()</slot>
</connection>
<connection>
<sender>btnNew</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>newConnection()</slot>
</connection>
<connection>
<sender>btnHelp</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>helpInfo()</slot>
</connection>
<connection>
<sender>chkUseDefaultGeom</sender>
<signal>clicked()</signal>
<receiver>QgsSpitBase</receiver>
<slot>useDefaultGeom()</slot>
</connection>
<connection>
<sender>cmbConnections</sender>
<signal>activated(const QString&amp;)</signal>
<receiver>QgsSpitBase</receiver>
<slot>getSchema()</slot>
</connection>
<connection>
<sender>cmbSchema</sender>
<signal>activated(const QString&amp;)</signal>
<receiver>QgsSpitBase</receiver>
<slot>updateSchema()</slot>
</connection>
<connection>
<sender>tblShapefiles</sender>
<signal>doubleClicked(int,int,int,const QPoint&amp;)</signal>
<receiver>QgsSpitBase</receiver>
<slot>editColumns(int,int,int,const QPoint&amp;)</slot>
</connection>
<connection>
<sender>tblShapefiles</sender>
<signal>clicked(int,int,int,const QPoint&amp;)</signal>
<receiver>QgsSpitBase</receiver>
<slot>editShapefile(int,int,int,const QPoint&amp;)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">qgsspitbase.ui.h</include>
</includes>
<slots>
<slot>import()</slot>
<slot>newConnection()</slot>
<slot>editConnection()</slot>
<slot>removeConnection()</slot>
<slot>addFile()</slot>
<slot>removeFile()</slot>
<slot>removeAllFiles()</slot>
<slot>useDefaultSrid()</slot>
<slot>helpInfo()</slot>
<slot>aboutInfo()</slot>
<slot>useDefaultGeom()</slot>
<slot>getSchema()</slot>
<slot>updateSchema()</slot>
<slot>editColumns( int, int, int, const QPoint &amp; )</slot>
<slot>editShapefile( int, int, int, const QPoint &amp; )</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>