~meshing/meshing/release

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# -*- coding: utf-8 -*-

##########################################################################
#  
#  Generation of boundary representation from arbitrary geophysical
#  fields and initialisation for anisotropic, unstructured meshing.
#  
#  Copyright (C) 2011-2013 Dr Adam S. Candy, adam.candy@imperial.ac.uk
#  
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#  
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#  
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
#  
##########################################################################

# Form implementation generated from reading ui file 'ui_rasterisepolygons.ui'
#
# Created: Thu Aug 23 12:08:36 2012
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_RasterisePolygons(object):
    def setupUi(self, RasterisePolygons):
        RasterisePolygons.setObjectName("RasterisePolygons")
        RasterisePolygons.resize(532, 361)
        self.buttonBox = QtGui.QDialogButtonBox(RasterisePolygons)
        self.buttonBox.setGeometry(QtCore.QRect(170, 310, 341, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.singlePolygonLayerDropDown = QtGui.QComboBox(RasterisePolygons)
        self.singlePolygonLayerDropDown.setEnabled(False)
        self.singlePolygonLayerDropDown.setGeometry(QtCore.QRect(240, 70, 181, 27))
        self.singlePolygonLayerDropDown.setObjectName("singlePolygonLayerDropDown")
        self.polygonsChooseFromFileLineEdit = QtGui.QLineEdit(RasterisePolygons)
        self.polygonsChooseFromFileLineEdit.setEnabled(False)
        self.polygonsChooseFromFileLineEdit.setGeometry(QtCore.QRect(240, 100, 181, 27))
        self.polygonsChooseFromFileLineEdit.setObjectName("polygonsChooseFromFileLineEdit")
        self.polygonsChooseFromFilePushButton = QtGui.QPushButton(RasterisePolygons)
        self.polygonsChooseFromFilePushButton.setEnabled(False)
        self.polygonsChooseFromFilePushButton.setGeometry(QtCore.QRect(430, 100, 85, 27))
        self.polygonsChooseFromFilePushButton.setObjectName("polygonsChooseFromFilePushButton")
        self.backgroundLayerDropDown = QtGui.QComboBox(RasterisePolygons)
        self.backgroundLayerDropDown.setGeometry(QtCore.QRect(240, 180, 181, 27))
        self.backgroundLayerDropDown.setObjectName("backgroundLayerDropDown")
        self.backgroundLayerLineEdit = QtGui.QLineEdit(RasterisePolygons)
        self.backgroundLayerLineEdit.setEnabled(False)
        self.backgroundLayerLineEdit.setGeometry(QtCore.QRect(240, 210, 181, 27))
        self.backgroundLayerLineEdit.setObjectName("backgroundLayerLineEdit")
        self.backgroundLayerChooseFromFilePushButton = QtGui.QPushButton(RasterisePolygons)
        self.backgroundLayerChooseFromFilePushButton.setEnabled(False)
        self.backgroundLayerChooseFromFilePushButton.setGeometry(QtCore.QRect(430, 210, 85, 27))
        self.backgroundLayerChooseFromFilePushButton.setObjectName("backgroundLayerChooseFromFilePushButton")
        self.choosePolygonsGroupBox = QtGui.QGroupBox(RasterisePolygons)
        self.choosePolygonsGroupBox.setGeometry(QtCore.QRect(10, 20, 211, 111))
        self.choosePolygonsGroupBox.setObjectName("choosePolygonsGroupBox")
        self.layoutWidget = QtGui.QWidget(self.choosePolygonsGroupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(0, 20, 231, 91))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.allVisiblePolygonLayersRadioButton = QtGui.QRadioButton(self.layoutWidget)
        self.allVisiblePolygonLayersRadioButton.setChecked(True)
        self.allVisiblePolygonLayersRadioButton.setObjectName("allVisiblePolygonLayersRadioButton")
        self.verticalLayout.addWidget(self.allVisiblePolygonLayersRadioButton)
        self.singlePolygonLayerRadioButton = QtGui.QRadioButton(self.layoutWidget)
        self.singlePolygonLayerRadioButton.setObjectName("singlePolygonLayerRadioButton")
        self.verticalLayout.addWidget(self.singlePolygonLayerRadioButton)
        self.polygonsChooseFromFileRadioButton = QtGui.QRadioButton(self.layoutWidget)
        self.polygonsChooseFromFileRadioButton.setObjectName("polygonsChooseFromFileRadioButton")
        self.verticalLayout.addWidget(self.polygonsChooseFromFileRadioButton)
        self.chooseBackgroundGroupBox = QtGui.QGroupBox(RasterisePolygons)
        self.chooseBackgroundGroupBox.setGeometry(QtCore.QRect(10, 160, 191, 91))
        self.chooseBackgroundGroupBox.setTitle("")
        self.chooseBackgroundGroupBox.setObjectName("chooseBackgroundGroupBox")
        self.layoutWidget1 = QtGui.QWidget(self.chooseBackgroundGroupBox)
        self.layoutWidget1.setGeometry(QtCore.QRect(0, 16, 181, 61))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.backgroundLayerChooseFromLayerRadioButton = QtGui.QRadioButton(self.layoutWidget1)
        self.backgroundLayerChooseFromLayerRadioButton.setChecked(True)
        self.backgroundLayerChooseFromLayerRadioButton.setObjectName("backgroundLayerChooseFromLayerRadioButton")
        self.verticalLayout_2.addWidget(self.backgroundLayerChooseFromLayerRadioButton)
        self.backgroundLayerChooseFromFileRadioButton = QtGui.QRadioButton(self.layoutWidget1)
        self.backgroundLayerChooseFromFileRadioButton.setEnabled(True)
        self.backgroundLayerChooseFromFileRadioButton.setObjectName("backgroundLayerChooseFromFileRadioButton")
        self.verticalLayout_2.addWidget(self.backgroundLayerChooseFromFileRadioButton)
        self.line = QtGui.QFrame(RasterisePolygons)
        self.line.setGeometry(QtCore.QRect(10, 290, 501, 16))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.label = QtGui.QLabel(RasterisePolygons)
        self.label.setGeometry(QtCore.QRect(10, 150, 399, 17))
        font = QtGui.QFont()
        font.setWeight(75)
        font.setBold(True)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.backgroundValueLineEdit = QtGui.QLineEdit(RasterisePolygons)
        self.backgroundValueLineEdit.setGeometry(QtCore.QRect(240, 250, 181, 27))
        self.backgroundValueLineEdit.setObjectName("backgroundValueLineEdit")
        self.label_2 = QtGui.QLabel(RasterisePolygons)
        self.label_2.setGeometry(QtCore.QRect(10, 260, 177, 17))
        self.label_2.setObjectName("label_2")

        self.retranslateUi(RasterisePolygons)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), RasterisePolygons.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), RasterisePolygons.reject)
        QtCore.QMetaObject.connectSlotsByName(RasterisePolygons)

    def retranslateUi(self, RasterisePolygons):
        RasterisePolygons.setWindowTitle(QtGui.QApplication.translate("RasterisePolygons", "Rasterise Polygons", None, QtGui.QApplication.UnicodeUTF8))
        self.polygonsChooseFromFilePushButton.setText(QtGui.QApplication.translate("RasterisePolygons", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.backgroundLayerChooseFromFilePushButton.setText(QtGui.QApplication.translate("RasterisePolygons", "Browse", None, QtGui.QApplication.UnicodeUTF8))
        self.choosePolygonsGroupBox.setTitle(QtGui.QApplication.translate("RasterisePolygons", "Choose Polygons", None, QtGui.QApplication.UnicodeUTF8))
        self.allVisiblePolygonLayersRadioButton.setText(QtGui.QApplication.translate("RasterisePolygons", "All Visible Polygon Layers", None, QtGui.QApplication.UnicodeUTF8))
        self.singlePolygonLayerRadioButton.setText(QtGui.QApplication.translate("RasterisePolygons", "Single Polygon Layer", None, QtGui.QApplication.UnicodeUTF8))
        self.polygonsChooseFromFileRadioButton.setText(QtGui.QApplication.translate("RasterisePolygons", "Choose From File", None, QtGui.QApplication.UnicodeUTF8))
        self.backgroundLayerChooseFromLayerRadioButton.setText(QtGui.QApplication.translate("RasterisePolygons", "Choose From Layer", None, QtGui.QApplication.UnicodeUTF8))
        self.backgroundLayerChooseFromFileRadioButton.setText(QtGui.QApplication.translate("RasterisePolygons", "Choose From File", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("RasterisePolygons", "Choose Background Layer for the Extent of New Raster", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("RasterisePolygons", "Value Outside of Polygons", None, QtGui.QApplication.UnicodeUTF8))