-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathui_readDialog.py
More file actions
62 lines (53 loc) · 2.51 KB
/
Copy pathui_readDialog.py
File metadata and controls
62 lines (53 loc) · 2.51 KB
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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_readDialog.ui'
#
# Created: Mon Jul 20 16:05:06 2015
# by: PyQt4 UI code generator 4.9.4
#
# WARNING! All changes made in this file will be lost!
from .compat import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_readDialog(object):
def setupUi(self, readDialog):
readDialog.setObjectName(_fromUtf8("readDialog"))
readDialog.setWindowModality(QtCore.Qt.ApplicationModal)
readDialog.resize(350, 155)
readDialog.setMinimumSize(QtCore.QSize(350, 155))
readDialog.setMaximumSize(QtCore.QSize(350, 155))
readDialog.setSizeGripEnabled(False)
readDialog.setModal(True)
self.input = QtGui.QLineEdit(readDialog)
self.input.setGeometry(QtCore.QRect(10, 40, 251, 21))
self.input.setReadOnly(True)
self.input.setObjectName(_fromUtf8("input"))
self.label = QtGui.QLabel(readDialog)
self.label.setGeometry(QtCore.QRect(20, 10, 161, 16))
self.label.setObjectName(_fromUtf8("label"))
self.inputButton = QtGui.QPushButton(readDialog)
self.inputButton.setGeometry(QtCore.QRect(270, 40, 75, 23))
self.inputButton.setObjectName(_fromUtf8("inputButton"))
self.cancelButton = QtGui.QPushButton(readDialog)
self.cancelButton.setGeometry(QtCore.QRect(240, 100, 101, 32))
self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
self.OKButton = QtGui.QPushButton(readDialog)
self.OKButton.setGeometry(QtCore.QRect(120, 100, 114, 32))
self.OKButton.setObjectName(_fromUtf8("OKButton"))
self.retranslateUi(readDialog)
QtCore.QMetaObject.connectSlotsByName(readDialog)
def retranslateUi(self, readDialog):
readDialog.setWindowTitle(_translate("readDialog", "Coastal Mapping Tool", None))
self.label.setText(_translate("readDialog", "Load CESM map file:", None))
self.inputButton.setText(_translate("readDialog", "Browse", None))
self.cancelButton.setText(_translate("readDialog", "Cancel", None))
self.OKButton.setText(_translate("readDialog", "OK", None))