1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'FlowWindow.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_FlowWindow(object):
18 def setupUi(self, FlowWindow):
19 FlowWindow.setObjectName("FlowWindow")
20 FlowWindow.resize(800,600)
21 self.centralwidget = QtGui.QWidget(FlowWindow)
22 self.centralwidget.setObjectName("centralwidget")
23 self.gridLayout = QtGui.QGridLayout(self.centralwidget)
24 self.gridLayout.setObjectName("gridLayout")
25 self.tabWidget = QtGui.QTabWidget(self.centralwidget)
26 self.tabWidget.setObjectName("tabWidget")
27 self.unset = QtGui.QWidget()
28 self.unset.setObjectName("unset")
29 self.gridLayout_10 = QtGui.QGridLayout(self.unset)
30 self.gridLayout_10.setObjectName("gridLayout_10")
31 self.tabWidget.addTab(self.unset,"")
32 self.gridLayout.addWidget(self.tabWidget,0,0,1,1)
33 self.horizontalLayout_2 = QtGui.QHBoxLayout()
34 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
35 self.ssgCheckBox = QtGui.QCheckBox(self.centralwidget)
36 self.ssgCheckBox.setObjectName("ssgCheckBox")
37 self.horizontalLayout_2.addWidget(self.ssgCheckBox)
38 self.ssgComboBox = QtGui.QComboBox(self.centralwidget)
39 self.ssgComboBox.setEditable(True)
40 self.ssgComboBox.setMaxVisibleItems(20)
41 self.ssgComboBox.setInsertPolicy(QtGui.QComboBox.NoInsert)
42 self.ssgComboBox.setMinimumContentsLength(32)
43 self.ssgComboBox.setObjectName("ssgComboBox")
44 self.horizontalLayout_2.addWidget(self.ssgComboBox)
45 self.ssgSaveButton = QtGui.QPushButton(self.centralwidget)
46 self.ssgSaveButton.setObjectName("ssgSaveButton")
47 self.horizontalLayout_2.addWidget(self.ssgSaveButton)
48 self.ssgDeleteButton = QtGui.QPushButton(self.centralwidget)
49 self.ssgDeleteButton.setObjectName("ssgDeleteButton")
50 self.horizontalLayout_2.addWidget(self.ssgDeleteButton)
51 spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
52 self.horizontalLayout_2.addItem(spacerItem)
53 self.gridLayout.addLayout(self.horizontalLayout_2,1,0,1,1)
54 self.horizontalLayout = QtGui.QHBoxLayout()
55 self.horizontalLayout.setObjectName("horizontalLayout")
56 self.hostLabel = QtGui.QLabel(self.centralwidget)
57 self.hostLabel.setObjectName("hostLabel")
58 self.horizontalLayout.addWidget(self.hostLabel)
59 self.hostComboBox = QtGui.QComboBox(self.centralwidget)
60 self.hostComboBox.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents)
61 self.hostComboBox.setObjectName("hostComboBox")
62 self.horizontalLayout.addWidget(self.hostComboBox)
63 self.intervalCheckBox = QtGui.QCheckBox(self.centralwidget)
64 self.intervalCheckBox.setObjectName("intervalCheckBox")
65 self.horizontalLayout.addWidget(self.intervalCheckBox)
66 self.intervalSpinBox = QtGui.QSpinBox(self.centralwidget)
67 self.intervalSpinBox.setMinimum(1)
68 self.intervalSpinBox.setMaximum(1000000)
69 self.intervalSpinBox.setObjectName("intervalSpinBox")
70 self.horizontalLayout.addWidget(self.intervalSpinBox)
71 spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
72 self.horizontalLayout.addItem(spacerItem1)
73 self.fetchPathsButton = QtGui.QPushButton(self.centralwidget)
74 self.fetchPathsButton.setObjectName("fetchPathsButton")
75 self.horizontalLayout.addWidget(self.fetchPathsButton)
76 self.fetchButton = QtGui.QPushButton(self.centralwidget)
77 self.fetchButton.setObjectName("fetchButton")
78 self.horizontalLayout.addWidget(self.fetchButton)
79 self.gridLayout.addLayout(self.horizontalLayout,3,0,1,1)
80 self.line = QtGui.QFrame(self.centralwidget)
81 self.line.setFrameShape(QtGui.QFrame.HLine)
82 self.line.setFrameShadow(QtGui.QFrame.Sunken)
83 self.line.setObjectName("line")
84 self.gridLayout.addWidget(self.line,2,0,1,1)
85 FlowWindow.setCentralWidget(self.centralwidget)
86 self.menubar = QtGui.QMenuBar(FlowWindow)
87 self.menubar.setGeometry(QtCore.QRect(0,0,800,28))
88 self.menubar.setObjectName("menubar")
89 self.menuFile = QtGui.QMenu(self.menubar)
90 self.menuFile.setObjectName("menuFile")
91 FlowWindow.setMenuBar(self.menubar)
92 self.statusbar = QtGui.QStatusBar(FlowWindow)
93 self.statusbar.setObjectName("statusbar")
94 FlowWindow.setStatusBar(self.statusbar)
95 self.actionShow_Log = QtGui.QAction(FlowWindow)
96 self.actionShow_Log.setObjectName("actionShow_Log")
97 self.actionNew_DB_Window = QtGui.QAction(FlowWindow)
98 self.actionNew_DB_Window.setObjectName("actionNew_DB_Window")
99 self.actionPreferences = QtGui.QAction(FlowWindow)
100 self.actionPreferences.setObjectName("actionPreferences")
101 self.actionQuit = QtGui.QAction(FlowWindow)
102 self.actionQuit.setObjectName("actionQuit")
103 self.actionNew_Flow_Window = QtGui.QAction(FlowWindow)
104 self.actionNew_Flow_Window.setObjectName("actionNew_Flow_Window")
105 self.menuFile.addAction(self.actionNew_DB_Window)
106 self.menuFile.addAction(self.actionNew_Flow_Window)
107 self.menuFile.addAction(self.actionShow_Log)
108 self.menuFile.addAction(self.actionPreferences)
109 self.menuFile.addSeparator()
110 self.menuFile.addAction(self.actionQuit)
111 self.menubar.addAction(self.menuFile.menuAction())
112 self.hostLabel.setBuddy(self.hostComboBox)
114 self.retranslateUi(FlowWindow)
115 self.tabWidget.setCurrentIndex(0)
116 QtCore.QMetaObject.connectSlotsByName(FlowWindow)
118 def retranslateUi(self, FlowWindow):
119 FlowWindow.setWindowTitle(QtGui.QApplication.translate("FlowWindow", "OVSDB Monitor", None, QtGui.QApplication.UnicodeUTF8))
120 self.tabWidget.setTabText(self.tabWidget.indexOf(self.unset), QtGui.QApplication.translate("FlowWindow", "Awaiting update...", None, QtGui.QApplication.UnicodeUTF8))
121 self.ssgCheckBox.setText(QtGui.QApplication.translate("FlowWindow", "Server-side grep", None, QtGui.QApplication.UnicodeUTF8))
122 self.ssgSaveButton.setText(QtGui.QApplication.translate("FlowWindow", "Save", None, QtGui.QApplication.UnicodeUTF8))
123 self.ssgDeleteButton.setText(QtGui.QApplication.translate("FlowWindow", "Delete", None, QtGui.QApplication.UnicodeUTF8))
124 self.hostLabel.setText(QtGui.QApplication.translate("FlowWindow", "Host", None, QtGui.QApplication.UnicodeUTF8))
125 self.intervalCheckBox.setText(QtGui.QApplication.translate("FlowWindow", "Auto-refetch every", None, QtGui.QApplication.UnicodeUTF8))
126 self.intervalSpinBox.setSuffix(QtGui.QApplication.translate("FlowWindow", "s", None, QtGui.QApplication.UnicodeUTF8))
127 self.fetchPathsButton.setToolTip(QtGui.QApplication.translate("FlowWindow", "Refetches the datapath names and rebuilds the window tabs to reflect them. Use when the network has been reconfigured, e.g. a bond has been created", None, QtGui.QApplication.UnicodeUTF8))
128 self.fetchPathsButton.setText(QtGui.QApplication.translate("FlowWindow", "Refetch Datapath List", None, QtGui.QApplication.UnicodeUTF8))
129 self.fetchButton.setText(QtGui.QApplication.translate("FlowWindow", "Refetch", None, QtGui.QApplication.UnicodeUTF8))
130 self.menuFile.setTitle(QtGui.QApplication.translate("FlowWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
131 self.actionShow_Log.setText(QtGui.QApplication.translate("FlowWindow", "Show Log", None, QtGui.QApplication.UnicodeUTF8))
132 self.actionNew_DB_Window.setText(QtGui.QApplication.translate("FlowWindow", "New DB Window", None, QtGui.QApplication.UnicodeUTF8))
133 self.actionPreferences.setText(QtGui.QApplication.translate("FlowWindow", "Preferences", None, QtGui.QApplication.UnicodeUTF8))
134 self.actionQuit.setText(QtGui.QApplication.translate("FlowWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8))
135 self.actionNew_Flow_Window.setText(QtGui.QApplication.translate("FlowWindow", "New Flow Window", None, QtGui.QApplication.UnicodeUTF8))