-
Notifications
You must be signed in to change notification settings - Fork 3
/
qgsnewhttpconnectionbase.py
63 lines (55 loc) · 3.16 KB
/
qgsnewhttpconnectionbase.py
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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'qgsnewhttpconnectionbase.ui'
#
# Created: Wed Mar 29 15:46:57 2017
# by: PyQt4 UI code generator 4.10.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 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_qgsnewhttpconnectionbase(object):
def setupUi(self, qgsnewhttpconnectionbase):
qgsnewhttpconnectionbase.setObjectName(_fromUtf8("qgsnewhttpconnectionbase"))
qgsnewhttpconnectionbase.resize(642, 153)
self.gridLayout = QtGui.QGridLayout(qgsnewhttpconnectionbase)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.label_NewSrvName = QtGui.QLabel(qgsnewhttpconnectionbase)
self.label_NewSrvName.setObjectName(_fromUtf8("label_NewSrvName"))
self.gridLayout.addWidget(self.label_NewSrvName, 0, 0, 1, 1)
self.txt_NewSrvName = QtGui.QLineEdit(qgsnewhttpconnectionbase)
self.txt_NewSrvName.setEnabled(True)
self.txt_NewSrvName.setCursor(QtGui.QCursor(QtCore.Qt.IBeamCursor))
self.txt_NewSrvName.setFocusPolicy(QtCore.Qt.ClickFocus)
self.txt_NewSrvName.setObjectName(_fromUtf8("txt_NewSrvName"))
self.gridLayout.addWidget(self.txt_NewSrvName, 0, 1, 1, 1)
self.label_NewSrvUrl = QtGui.QLabel(qgsnewhttpconnectionbase)
self.label_NewSrvUrl.setObjectName(_fromUtf8("label_NewSrvUrl"))
self.gridLayout.addWidget(self.label_NewSrvUrl, 1, 0, 1, 1)
self.txt_NewSrvUrl = QtGui.QLineEdit(qgsnewhttpconnectionbase)
self.txt_NewSrvUrl.setObjectName(_fromUtf8("txt_NewSrvUrl"))
self.gridLayout.addWidget(self.txt_NewSrvUrl, 1, 1, 1, 1)
self.buttonBox = QtGui.QDialogButtonBox(qgsnewhttpconnectionbase)
self.buttonBox.setFocusPolicy(QtCore.Qt.NoFocus)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.gridLayout.addWidget(self.buttonBox, 2, 1, 1, 1)
self.retranslateUi(qgsnewhttpconnectionbase)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), qgsnewhttpconnectionbase.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), qgsnewhttpconnectionbase.reject)
QtCore.QMetaObject.connectSlotsByName(qgsnewhttpconnectionbase)
def retranslateUi(self, qgsnewhttpconnectionbase):
qgsnewhttpconnectionbase.setWindowTitle(_translate("qgsnewhttpconnectionbase", "New WCS Server ", None))
self.label_NewSrvName.setText(_translate("qgsnewhttpconnectionbase", "Server Name", None))
self.label_NewSrvUrl.setText(_translate("qgsnewhttpconnectionbase", "Server URL", None))