1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'ConfigWindow.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_ConfigWindow(object):
18 def setupUi(self, ConfigWindow):
19 ConfigWindow.setObjectName("ConfigWindow")
20 ConfigWindow.resize(386,303)
21 ConfigWindow.setFocusPolicy(QtCore.Qt.TabFocus)
22 self.gridLayout = QtGui.QGridLayout(ConfigWindow)
23 self.gridLayout.setObjectName("gridLayout")
24 self.verticalLayout = QtGui.QVBoxLayout()
25 self.verticalLayout.setObjectName("verticalLayout")
26 self.tabWidget = QtGui.QTabWidget(ConfigWindow)
27 self.tabWidget.setObjectName("tabWidget")
28 self.hosts = QtGui.QWidget()
29 self.hosts.setObjectName("hosts")
30 self.layoutWidget = QtGui.QWidget(self.hosts)
31 self.layoutWidget.setGeometry(QtCore.QRect(10,10,341,194))
32 self.layoutWidget.setObjectName("layoutWidget")
33 self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget)
34 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
35 self.hostList = QtGui.QListWidget(self.layoutWidget)
36 self.hostList.setObjectName("hostList")
37 self.horizontalLayout_2.addWidget(self.hostList)
38 self.verticalLayout_2 = QtGui.QVBoxLayout()
39 self.verticalLayout_2.setObjectName("verticalLayout_2")
40 self.hostAddButton = QtGui.QPushButton(self.layoutWidget)
41 self.hostAddButton.setObjectName("hostAddButton")
42 self.verticalLayout_2.addWidget(self.hostAddButton)
43 self.hostEditButton = QtGui.QPushButton(self.layoutWidget)
44 self.hostEditButton.setObjectName("hostEditButton")
45 self.verticalLayout_2.addWidget(self.hostEditButton)
46 self.hostDeleteButton = QtGui.QPushButton(self.layoutWidget)
47 self.hostDeleteButton.setObjectName("hostDeleteButton")
48 self.verticalLayout_2.addWidget(self.hostDeleteButton)
49 spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
50 self.verticalLayout_2.addItem(spacerItem)
51 self.horizontalLayout_2.addLayout(self.verticalLayout_2)
52 self.tabWidget.addTab(self.hosts,"")
53 self.logging = QtGui.QWidget()
54 self.logging.setObjectName("logging")
55 self.gridLayout_2 = QtGui.QGridLayout(self.logging)
56 self.gridLayout_2.setObjectName("gridLayout_2")
57 self.logTrafficCheckBox = QtGui.QCheckBox(self.logging)
58 self.logTrafficCheckBox.setObjectName("logTrafficCheckBox")
59 self.gridLayout_2.addWidget(self.logTrafficCheckBox,0,0,1,1)
60 spacerItem1 = QtGui.QSpacerItem(20,164,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
61 self.gridLayout_2.addItem(spacerItem1,1,0,1,1)
62 self.tabWidget.addTab(self.logging,"")
63 self.view = QtGui.QWidget()
64 self.view.setObjectName("view")
65 self.verticalLayout_3 = QtGui.QVBoxLayout(self.view)
66 self.verticalLayout_3.setObjectName("verticalLayout_3")
67 self.truncateUuidsCheckBox = QtGui.QCheckBox(self.view)
68 self.truncateUuidsCheckBox.setObjectName("truncateUuidsCheckBox")
69 self.verticalLayout_3.addWidget(self.truncateUuidsCheckBox)
70 spacerItem2 = QtGui.QSpacerItem(20,164,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
71 self.verticalLayout_3.addItem(spacerItem2)
72 self.tabWidget.addTab(self.view,"")
73 self.verticalLayout.addWidget(self.tabWidget)
74 self.horizontalLayout = QtGui.QHBoxLayout()
75 self.horizontalLayout.setObjectName("horizontalLayout")
76 spacerItem3 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
77 self.horizontalLayout.addItem(spacerItem3)
78 self.buttonBox = QtGui.QDialogButtonBox(ConfigWindow)
79 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
80 self.buttonBox.setObjectName("buttonBox")
81 self.horizontalLayout.addWidget(self.buttonBox)
82 self.verticalLayout.addLayout(self.horizontalLayout)
83 self.gridLayout.addLayout(self.verticalLayout,0,0,1,1)
85 self.retranslateUi(ConfigWindow)
86 self.tabWidget.setCurrentIndex(0)
87 QtCore.QMetaObject.connectSlotsByName(ConfigWindow)
88 ConfigWindow.setTabOrder(self.hostList,self.hostAddButton)
89 ConfigWindow.setTabOrder(self.hostAddButton,self.hostEditButton)
90 ConfigWindow.setTabOrder(self.hostEditButton,self.hostDeleteButton)
91 ConfigWindow.setTabOrder(self.hostDeleteButton,self.buttonBox)
92 ConfigWindow.setTabOrder(self.buttonBox,self.tabWidget)
94 def retranslateUi(self, ConfigWindow):
95 ConfigWindow.setWindowTitle(QtGui.QApplication.translate("ConfigWindow", "OVSDB Monitor Configuration", None, QtGui.QApplication.UnicodeUTF8))
96 self.hostAddButton.setText(QtGui.QApplication.translate("ConfigWindow", "Add", None, QtGui.QApplication.UnicodeUTF8))
97 self.hostEditButton.setText(QtGui.QApplication.translate("ConfigWindow", "Edit", None, QtGui.QApplication.UnicodeUTF8))
98 self.hostDeleteButton.setText(QtGui.QApplication.translate("ConfigWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
99 self.tabWidget.setTabText(self.tabWidget.indexOf(self.hosts), QtGui.QApplication.translate("ConfigWindow", "Hosts", None, QtGui.QApplication.UnicodeUTF8))
100 self.logTrafficCheckBox.setToolTip(QtGui.QApplication.translate("ConfigWindow", "Whether to log traffic exchanges in the log window", None, QtGui.QApplication.UnicodeUTF8))
101 self.logTrafficCheckBox.setText(QtGui.QApplication.translate("ConfigWindow", "Log traffic", None, QtGui.QApplication.UnicodeUTF8))
102 self.tabWidget.setTabText(self.tabWidget.indexOf(self.logging), QtGui.QApplication.translate("ConfigWindow", "Logging", None, QtGui.QApplication.UnicodeUTF8))
103 self.truncateUuidsCheckBox.setToolTip(QtGui.QApplication.translate("ConfigWindow", "Replaces UUIDs with a shorter string of the first few characters. The tooltip still contains the full value", None, QtGui.QApplication.UnicodeUTF8))
104 self.truncateUuidsCheckBox.setText(QtGui.QApplication.translate("ConfigWindow", "Truncate UUIDs", None, QtGui.QApplication.UnicodeUTF8))
105 self.tabWidget.setTabText(self.tabWidget.indexOf(self.view), QtGui.QApplication.translate("ConfigWindow", "View", None, QtGui.QApplication.UnicodeUTF8))