mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
320 lines
9.5 KiB
Plaintext
320 lines
9.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>DlgSqlWindow</class>
|
||
|
<widget class="QDialog" name="DlgSqlWindow">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>738</width>
|
||
|
<height>525</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>SQL window</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout_2">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QSplitter" name="splitter">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label">
|
||
|
<property name="text">
|
||
|
<string>SQL query:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="CompletionTextEdit" name="editSql">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>1</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<layout class="QHBoxLayout">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="btnExecute">
|
||
|
<property name="text">
|
||
|
<string>&Execute (F5)</string>
|
||
|
</property>
|
||
|
<property name="shortcut">
|
||
|
<string>F5</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="lblResult">
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer>
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="btnClear">
|
||
|
<property name="text">
|
||
|
<string>&Clear</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QWidget" name="">
|
||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_2">
|
||
|
<property name="text">
|
||
|
<string>Result:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QTableView" name="viewResult">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>3</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="selectionBehavior">
|
||
|
<enum>QAbstractItemView::SelectRows</enum>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QGroupBox" name="loadAsLayerGroup">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="title">
|
||
|
<string>Load as new layer</string>
|
||
|
</property>
|
||
|
<property name="checkable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QWidget" name="loadAsLayerWidget" native="true">
|
||
|
<layout class="QGridLayout" name="gridLayout_3">
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<item row="0" column="0">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_4">
|
||
|
<property name="text">
|
||
|
<string>Column with unique
|
||
|
integer values</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="uniqueCombo">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="editable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_3">
|
||
|
<property name="text">
|
||
|
<string>Geometry column</string>
|
||
|
</property>
|
||
|
<property name="indent">
|
||
|
<number>40</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="geomCombo">
|
||
|
<property name="sizePolicy">
|
||
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
|
<horstretch>0</horstretch>
|
||
|
<verstretch>0</verstretch>
|
||
|
</sizepolicy>
|
||
|
</property>
|
||
|
<property name="editable">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_5">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="getColumnsBtn">
|
||
|
<property name="text">
|
||
|
<string>Retrieve
|
||
|
columns</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_5">
|
||
|
<property name="text">
|
||
|
<string>Layer name (prefix)</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="layerNameEdit">
|
||
|
<property name="enabled">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
<property name="text">
|
||
|
<string/>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QWidget" name="layerTypeWidget" native="true">
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<property name="margin">
|
||
|
<number>0</number>
|
||
|
</property>
|
||
|
<item>
|
||
|
<widget class="QLabel" name="label_6">
|
||
|
<property name="text">
|
||
|
<string>Type</string>
|
||
|
</property>
|
||
|
<property name="indent">
|
||
|
<number>40</number>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="vectorRadio">
|
||
|
<property name="text">
|
||
|
<string>Vector</string>
|
||
|
</property>
|
||
|
<property name="checked">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="rasterRadio">
|
||
|
<property name="text">
|
||
|
<string>Raster</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<spacer name="horizontalSpacer_6">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeType">
|
||
|
<enum>QSizePolicy::Fixed</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>40</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="loadLayerBtn">
|
||
|
<property name="text">
|
||
|
<string>Load now!</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="standardButtons">
|
||
|
<set>QDialogButtonBox::Close</set>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<customwidgets>
|
||
|
<customwidget>
|
||
|
<class>CompletionTextEdit</class>
|
||
|
<extends>QTextEdit</extends>
|
||
|
<header>..completer</header>
|
||
|
</customwidget>
|
||
|
</customwidgets>
|
||
|
<tabstops>
|
||
|
<tabstop>editSql</tabstop>
|
||
|
<tabstop>btnExecute</tabstop>
|
||
|
<tabstop>btnClear</tabstop>
|
||
|
<tabstop>viewResult</tabstop>
|
||
|
</tabstops>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|