1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'HostWindow.ui'
5 # Created: Fri May 7 17:20:33 2010
6 # by: PyQt4 UI code generator 4.4.2
8 # WARNING! All changes made in this file will be lost!
11 from OVEStandard import globalForcePySide
12 if globalForcePySide: raise Exception()
13 from PyQt4 import QtCore, QtGui
15 from PySide import QtCore, QtGui
17 class Ui_HostWindow(object):
18 def setupUi(self, HostWindow):
19 HostWindow.setObjectName("HostWindow")
20 HostWindow.setWindowModality(QtCore.Qt.WindowModal)
21 HostWindow.resize(400,300)
22 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Minimum)
23 sizePolicy.setHorizontalStretch(0)
24 sizePolicy.setVerticalStretch(0)
25 sizePolicy.setHeightForWidth(HostWindow.sizePolicy().hasHeightForWidth())
26 HostWindow.setSizePolicy(sizePolicy)
27 self.gridLayout_2 = QtGui.QGridLayout(HostWindow)
28 self.gridLayout_2.setObjectName("gridLayout_2")
29 self.gridLayout = QtGui.QGridLayout()
30 self.gridLayout.setObjectName("gridLayout")
31 self.label = QtGui.QLabel(HostWindow)
32 self.label.setObjectName("label")
33 self.gridLayout.addWidget(self.label,0,0,1,1)
34 self.hostAddressEdit = QtGui.QLineEdit(HostWindow)
35 self.hostAddressEdit.setMinimumSize(QtCore.QSize(256,0))
36 self.hostAddressEdit.setObjectName("hostAddressEdit")
37 self.gridLayout.addWidget(self.hostAddressEdit,0,1,1,1)
38 self.label_2 = QtGui.QLabel(HostWindow)
39 self.label_2.setObjectName("label_2")
40 self.gridLayout.addWidget(self.label_2,1,0,1,1)
41 self.hostPasswordEdit = QtGui.QLineEdit(HostWindow)
42 self.hostPasswordEdit.setMinimumSize(QtCore.QSize(256,0))
43 self.hostPasswordEdit.setEchoMode(QtGui.QLineEdit.Password)
44 self.hostPasswordEdit.setObjectName("hostPasswordEdit")
45 self.gridLayout.addWidget(self.hostPasswordEdit,1,1,1,1)
46 self.label_3 = QtGui.QLabel(HostWindow)
47 self.label_3.setObjectName("label_3")
48 self.gridLayout.addWidget(self.label_3,2,0,1,1)
49 self.hostConnectTarget = QtGui.QLineEdit(HostWindow)
50 self.hostConnectTarget.setMinimumSize(QtCore.QSize(256,0))
51 self.hostConnectTarget.setObjectName("hostConnectTarget")
52 self.gridLayout.addWidget(self.hostConnectTarget,2,1,1,1)
53 self.gridLayout_2.addLayout(self.gridLayout,0,0,1,1)
54 self.buttonBox = QtGui.QDialogButtonBox(HostWindow)
55 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
56 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
57 self.buttonBox.setObjectName("buttonBox")
58 self.gridLayout_2.addWidget(self.buttonBox,1,0,1,1)
59 self.label.setBuddy(self.hostAddressEdit)
60 self.label_2.setBuddy(self.hostPasswordEdit)
61 self.label_3.setBuddy(self.hostConnectTarget)
63 self.retranslateUi(HostWindow)
64 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),HostWindow.accept)
65 QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),HostWindow.reject)
66 QtCore.QMetaObject.connectSlotsByName(HostWindow)
67 HostWindow.setTabOrder(self.hostAddressEdit,self.hostPasswordEdit)
68 HostWindow.setTabOrder(self.hostPasswordEdit,self.buttonBox)
70 def retranslateUi(self, HostWindow):
71 HostWindow.setWindowTitle(QtGui.QApplication.translate("HostWindow", "Host Properties", None, QtGui.QApplication.UnicodeUTF8))
72 self.label.setText(QtGui.QApplication.translate("HostWindow", "Host name or IP", None, QtGui.QApplication.UnicodeUTF8))
73 self.label_2.setText(QtGui.QApplication.translate("HostWindow", "SSH Password", None, QtGui.QApplication.UnicodeUTF8))
74 self.label_3.setText(QtGui.QApplication.translate("HostWindow", "Connect target", None, QtGui.QApplication.UnicodeUTF8))