ui_frmMergeShapes.py

Rui Pedro Henriques, 2010-09-15 08:05 AM

Download (4.63 KB)

 
1
# -*- coding: utf-8 -*-
2

    
3
# Form implementation generated from reading ui file 'D:/progs/c/qgis_unstable/python/plugins/fTools/tools/frmMergeShapes.ui'
4
#
5
# Created: Sun Jul 18 01:10:38 2010
6
#      by: PyQt4 UI code generator 4.5.2
7
#
8
# WARNING! All changes made in this file will be lost!
9

    
10
from PyQt4 import QtCore, QtGui
11

    
12
class Ui_Dialog(object):
13
    def setupUi(self, Dialog):
14
        Dialog.setObjectName("Dialog")
15
        Dialog.resize(377, 246)
16
        self.verticalLayout = QtGui.QVBoxLayout(Dialog)
17
        self.verticalLayout.setObjectName("verticalLayout")
18
        self.label = QtGui.QLabel(Dialog)
19
        self.label.setObjectName("label")
20
        self.verticalLayout.addWidget(self.label)
21
        self.horizontalLayout = QtGui.QHBoxLayout()
22
        self.horizontalLayout.setObjectName("horizontalLayout")
23
        self.leInputDir = QtGui.QLineEdit(Dialog)
24
        self.leInputDir.setObjectName("leInputDir")
25
        self.horizontalLayout.addWidget(self.leInputDir)
26
        self.btnSelectDir = QtGui.QPushButton(Dialog)
27
        self.btnSelectDir.setObjectName("btnSelectDir")
28
        self.horizontalLayout.addWidget(self.btnSelectDir)
29
        self.verticalLayout.addLayout(self.horizontalLayout)
30
        self.label_2 = QtGui.QLabel(Dialog)
31
        self.label_2.setObjectName("label_2")
32
        self.verticalLayout.addWidget(self.label_2)
33
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
34
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
35
        self.leOutShape = QtGui.QLineEdit(Dialog)
36
        self.leOutShape.setObjectName("leOutShape")
37
        self.horizontalLayout_2.addWidget(self.leOutShape)
38
        self.btnSelectFile = QtGui.QPushButton(Dialog)
39
        self.btnSelectFile.setObjectName("btnSelectFile")
40
        self.horizontalLayout_2.addWidget(self.btnSelectFile)
41
        self.verticalLayout.addLayout(self.horizontalLayout_2)
42
        self.chkAddToCanvas = QtGui.QCheckBox(Dialog)
43
        self.chkAddToCanvas.setObjectName("chkAddToCanvas")
44
        self.verticalLayout.addWidget(self.chkAddToCanvas)
45
        
46
        #[RPH] changed 12 lines below
47
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
48
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
49
        
50
        self.btnUpdate = QtGui.QToolButton(Dialog)
51
        self.btnUpdate.setObjectName("btnUpdate")
52
        self.horizontalLayout_3.addWidget(self.btnUpdate)
53
        
54
        self.comboSelectAttribSrc = QtGui.QComboBox(Dialog)
55
        self.comboSelectAttribSrc.setObjectName("comboSelectAttribSrc")
56
        self.horizontalLayout_3.addWidget(self.comboSelectAttribSrc)
57
        
58
        self.verticalLayout.addLayout(self.horizontalLayout_3)
59
        
60
        self.progressFeatures = QtGui.QProgressBar(Dialog)
61
        self.progressFeatures.setProperty("value", QtCore.QVariant(0))
62
        self.progressFeatures.setObjectName("progressFeatures")
63
        self.verticalLayout.addWidget(self.progressFeatures)
64
        self.progressFiles = QtGui.QProgressBar(Dialog)
65
        self.progressFiles.setProperty("value", QtCore.QVariant(0))
66
        self.progressFiles.setObjectName("progressFiles")
67
        self.verticalLayout.addWidget(self.progressFiles)
68
        self.buttonBox = QtGui.QDialogButtonBox(Dialog)
69
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Ok)
70
        self.buttonBox.setObjectName("buttonBox")
71
        self.verticalLayout.addWidget(self.buttonBox)
72

    
73
        self.retranslateUi(Dialog)
74
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Dialog.accept)
75
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Dialog.reject)
76
        QtCore.QMetaObject.connectSlotsByName(Dialog)
77

    
78
    def retranslateUi(self, Dialog):
79
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Merge shapefiles", None, QtGui.QApplication.UnicodeUTF8))
80
        self.label.setText(QtGui.QApplication.translate("Dialog", "Input directory", None, QtGui.QApplication.UnicodeUTF8))
81
        self.btnSelectDir.setText(QtGui.QApplication.translate("Dialog", "Browse", None, QtGui.QApplication.UnicodeUTF8))
82
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "Output shapefile", None, QtGui.QApplication.UnicodeUTF8))
83
        self.btnSelectFile.setText(QtGui.QApplication.translate("Dialog", "Browse", None, QtGui.QApplication.UnicodeUTF8))
84
  #[RPH] changed 1 line below
85
        self.btnUpdate.setText(QtGui.QApplication.translate("Dialog", "Update layer list", None, QtGui.QApplication.UnicodeUTF8))
86
        self.chkAddToCanvas.setText(QtGui.QApplication.translate("Dialog", "Add result to map canvas", None, QtGui.QApplication.UnicodeUTF8))
87