mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
117 lines
5.0 KiB
Python
Executable File
117 lines
5.0 KiB
Python
Executable File
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'frmGeometry.ui'
|
|
#
|
|
# Created: Mon Nov 10 00:01:15 2008
|
|
# by: PyQt4 UI code generator 4.3.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
class Ui_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.setWindowModality(QtCore.Qt.NonModal)
|
|
Dialog.resize(QtCore.QSize(QtCore.QRect(0,0,390,296).size()).expandedTo(Dialog.minimumSizeHint()))
|
|
Dialog.setSizeGripEnabled(True)
|
|
|
|
self.gridlayout = QtGui.QGridLayout(Dialog)
|
|
self.gridlayout.setObjectName("gridlayout")
|
|
|
|
self.vboxlayout = QtGui.QVBoxLayout()
|
|
self.vboxlayout.setObjectName("vboxlayout")
|
|
|
|
self.label_3 = QtGui.QLabel(Dialog)
|
|
self.label_3.setObjectName("label_3")
|
|
self.vboxlayout.addWidget(self.label_3)
|
|
|
|
self.inShape = QtGui.QComboBox(Dialog)
|
|
self.inShape.setObjectName("inShape")
|
|
self.vboxlayout.addWidget(self.inShape)
|
|
self.gridlayout.addLayout(self.vboxlayout,0,0,1,2)
|
|
|
|
self.hboxlayout = QtGui.QHBoxLayout()
|
|
self.hboxlayout.setObjectName("hboxlayout")
|
|
|
|
self.label = QtGui.QLabel(Dialog)
|
|
self.label.setObjectName("label")
|
|
self.hboxlayout.addWidget(self.label)
|
|
|
|
spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
|
|
self.hboxlayout.addItem(spacerItem)
|
|
|
|
self.lineEdit = QtGui.QDoubleSpinBox(Dialog)
|
|
self.lineEdit.setMinimumSize(QtCore.QSize(150,0))
|
|
self.lineEdit.setDecimals(4)
|
|
self.lineEdit.setMaximum(100000.0)
|
|
self.lineEdit.setSingleStep(0.5)
|
|
self.lineEdit.setObjectName("lineEdit")
|
|
self.hboxlayout.addWidget(self.lineEdit)
|
|
self.gridlayout.addLayout(self.hboxlayout,1,0,1,2)
|
|
|
|
self.splitter = QtGui.QSplitter(Dialog)
|
|
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
|
self.splitter.setObjectName("splitter")
|
|
|
|
self.field_label = QtGui.QLabel(self.splitter)
|
|
self.field_label.setObjectName("field_label")
|
|
|
|
self.cmbField = QtGui.QComboBox(self.splitter)
|
|
self.cmbField.setObjectName("cmbField")
|
|
self.gridlayout.addWidget(self.splitter,2,0,1,2)
|
|
|
|
spacerItem1 = QtGui.QSpacerItem(20,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
|
|
self.gridlayout.addItem(spacerItem1,3,0,1,1)
|
|
|
|
self.vboxlayout1 = QtGui.QVBoxLayout()
|
|
self.vboxlayout1.setObjectName("vboxlayout1")
|
|
|
|
self.label_2 = QtGui.QLabel(Dialog)
|
|
self.label_2.setObjectName("label_2")
|
|
self.vboxlayout1.addWidget(self.label_2)
|
|
|
|
self.hboxlayout1 = QtGui.QHBoxLayout()
|
|
self.hboxlayout1.setObjectName("hboxlayout1")
|
|
|
|
self.outShape = QtGui.QLineEdit(Dialog)
|
|
self.outShape.setReadOnly(True)
|
|
self.outShape.setObjectName("outShape")
|
|
self.hboxlayout1.addWidget(self.outShape)
|
|
|
|
self.toolOut = QtGui.QToolButton(Dialog)
|
|
self.toolOut.setObjectName("toolOut")
|
|
self.hboxlayout1.addWidget(self.toolOut)
|
|
self.vboxlayout1.addLayout(self.hboxlayout1)
|
|
self.gridlayout.addLayout(self.vboxlayout1,4,0,1,2)
|
|
|
|
spacerItem2 = QtGui.QSpacerItem(20,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
|
|
self.gridlayout.addItem(spacerItem2,5,0,1,1)
|
|
|
|
self.progressBar = QtGui.QProgressBar(Dialog)
|
|
self.progressBar.setProperty("value",QtCore.QVariant(24))
|
|
self.progressBar.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.progressBar.setTextVisible(True)
|
|
self.progressBar.setObjectName("progressBar")
|
|
self.gridlayout.addWidget(self.progressBar,6,0,1,1)
|
|
|
|
self.buttonBox_2 = QtGui.QDialogButtonBox(Dialog)
|
|
self.buttonBox_2.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox_2.setStandardButtons(QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Ok)
|
|
self.buttonBox_2.setObjectName("buttonBox_2")
|
|
self.gridlayout.addWidget(self.buttonBox_2,6,1,1,1)
|
|
|
|
self.retranslateUi(Dialog)
|
|
QtCore.QObject.connect(self.buttonBox_2,QtCore.SIGNAL("accepted()"),Dialog.accept)
|
|
QtCore.QObject.connect(self.buttonBox_2,QtCore.SIGNAL("rejected()"),Dialog.close)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Extract Nodes", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_3.setText(QtGui.QApplication.translate("Dialog", "Input line or polygon vector layer", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label.setText(QtGui.QApplication.translate("Dialog", "Tolerance", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.field_label.setText(QtGui.QApplication.translate("Dialog", "Unique ID field", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_2.setText(QtGui.QApplication.translate("Dialog", "Output point shapefile", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.toolOut.setText(QtGui.QApplication.translate("Dialog", "Browse", None, QtGui.QApplication.UnicodeUTF8))
|
|
|