1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'pyqt_filter.ui'
5 # Created: Mon Aug 24 00:20:11 2009
6 # by: PyQt4 UI code generator 4.4.4
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
12 class Ui_MainWindow(object):
13 def setupUi(self, MainWindow):
14 MainWindow.setObjectName("MainWindow")
15 MainWindow.resize(1124, 696)
16 self.centralwidget = QtGui.QWidget(MainWindow)
17 self.centralwidget.setObjectName("centralwidget")
18 self.gridLayout = QtGui.QGridLayout(self.centralwidget)
19 self.gridLayout.setObjectName("gridLayout")
20 self.filterFrame = QtGui.QFrame(self.centralwidget)
21 self.filterFrame.setMinimumSize(QtCore.QSize(300, 0))
22 self.filterFrame.setMaximumSize(QtCore.QSize(300, 16777215))
23 self.filterFrame.setFrameShape(QtGui.QFrame.StyledPanel)
24 self.filterFrame.setFrameShadow(QtGui.QFrame.Raised)
25 self.filterFrame.setObjectName("filterFrame")
26 self.verticalLayout = QtGui.QVBoxLayout(self.filterFrame)
27 self.verticalLayout.setObjectName("verticalLayout")
28 self.filterTypeComboBox = QtGui.QComboBox(self.filterFrame)
29 self.filterTypeComboBox.setObjectName("filterTypeComboBox")
30 self.filterTypeComboBox.addItem(QtCore.QString())
31 self.filterTypeComboBox.addItem(QtCore.QString())
32 self.filterTypeComboBox.addItem(QtCore.QString())
33 self.filterTypeComboBox.addItem(QtCore.QString())
34 self.filterTypeComboBox.addItem(QtCore.QString())
35 self.filterTypeComboBox.addItem(QtCore.QString())
36 self.filterTypeComboBox.addItem(QtCore.QString())
37 self.verticalLayout.addWidget(self.filterTypeComboBox)
38 self.filterDesignTypeComboBox = QtGui.QComboBox(self.filterFrame)
39 self.filterDesignTypeComboBox.setObjectName("filterDesignTypeComboBox")
40 self.filterDesignTypeComboBox.addItem(QtCore.QString())
41 self.filterDesignTypeComboBox.addItem(QtCore.QString())
42 self.filterDesignTypeComboBox.addItem(QtCore.QString())
43 self.filterDesignTypeComboBox.addItem(QtCore.QString())
44 self.filterDesignTypeComboBox.addItem(QtCore.QString())
45 self.filterDesignTypeComboBox.addItem(QtCore.QString())
46 self.filterDesignTypeComboBox.addItem(QtCore.QString())
47 self.verticalLayout.addWidget(self.filterDesignTypeComboBox)
48 self.globalParamsLayout = QtGui.QFormLayout()
49 self.globalParamsLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
50 self.globalParamsLayout.setObjectName("globalParamsLayout")
51 self.sampleRateLabel = QtGui.QLabel(self.filterFrame)
52 self.sampleRateLabel.setMaximumSize(QtCore.QSize(16777215, 30))
53 self.sampleRateLabel.setObjectName("sampleRateLabel")
54 self.globalParamsLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.sampleRateLabel)
55 self.sampleRateEdit = QtGui.QLineEdit(self.filterFrame)
56 self.sampleRateEdit.setMaximumSize(QtCore.QSize(16777215, 30))
57 self.sampleRateEdit.setObjectName("sampleRateEdit")
58 self.globalParamsLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.sampleRateEdit)
59 self.filterGainLabel = QtGui.QLabel(self.filterFrame)
60 self.filterGainLabel.setObjectName("filterGainLabel")
61 self.globalParamsLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.filterGainLabel)
62 self.filterGainEdit = QtGui.QLineEdit(self.filterFrame)
63 self.filterGainEdit.setObjectName("filterGainEdit")
64 self.globalParamsLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.filterGainEdit)
65 self.verticalLayout.addLayout(self.globalParamsLayout)
66 self.filterTypeWidget = QtGui.QStackedWidget(self.filterFrame)
67 self.filterTypeWidget.setObjectName("filterTypeWidget")
68 self.firlpfPage = QtGui.QWidget()
69 self.firlpfPage.setObjectName("firlpfPage")
70 self.formLayout = QtGui.QFormLayout(self.firlpfPage)
71 self.formLayout.setObjectName("formLayout")
72 self.endofLpfPassBandLabel = QtGui.QLabel(self.firlpfPage)
73 self.endofLpfPassBandLabel.setObjectName("endofLpfPassBandLabel")
74 self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.endofLpfPassBandLabel)
75 self.endofLpfPassBandEdit = QtGui.QLineEdit(self.firlpfPage)
76 self.endofLpfPassBandEdit.setObjectName("endofLpfPassBandEdit")
77 self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.endofLpfPassBandEdit)
78 self.startofLpfStopBandLabel = QtGui.QLabel(self.firlpfPage)
79 self.startofLpfStopBandLabel.setObjectName("startofLpfStopBandLabel")
80 self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.startofLpfStopBandLabel)
81 self.startofLpfStopBandEdit = QtGui.QLineEdit(self.firlpfPage)
82 self.startofLpfStopBandEdit.setObjectName("startofLpfStopBandEdit")
83 self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.startofLpfStopBandEdit)
84 self.lpfStopBandAttenLabel = QtGui.QLabel(self.firlpfPage)
85 self.lpfStopBandAttenLabel.setObjectName("lpfStopBandAttenLabel")
86 self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.lpfStopBandAttenLabel)
87 self.lpfStopBandAttenEdit = QtGui.QLineEdit(self.firlpfPage)
88 self.lpfStopBandAttenEdit.setObjectName("lpfStopBandAttenEdit")
89 self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.lpfStopBandAttenEdit)
90 self.lpfPassBandRippleEdit = QtGui.QLineEdit(self.firlpfPage)
91 self.lpfPassBandRippleEdit.setObjectName("lpfPassBandRippleEdit")
92 self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.lpfPassBandRippleEdit)
93 self.lpfPassBandRippleLabel = QtGui.QLabel(self.firlpfPage)
94 self.lpfPassBandRippleLabel.setObjectName("lpfPassBandRippleLabel")
95 self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.lpfPassBandRippleLabel)
96 self.filterTypeWidget.addWidget(self.firlpfPage)
97 self.firbpfPage = QtGui.QWidget()
98 self.firbpfPage.setObjectName("firbpfPage")
99 self.formLayout_2 = QtGui.QFormLayout(self.firbpfPage)
100 self.formLayout_2.setObjectName("formLayout_2")
101 self.startofBpfPassBandLabel = QtGui.QLabel(self.firbpfPage)
102 self.startofBpfPassBandLabel.setObjectName("startofBpfPassBandLabel")
103 self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.startofBpfPassBandLabel)
104 self.startofBpfPassBandEdit = QtGui.QLineEdit(self.firbpfPage)
105 self.startofBpfPassBandEdit.setObjectName("startofBpfPassBandEdit")
106 self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.startofBpfPassBandEdit)
107 self.endofBpfPassBandLabel = QtGui.QLabel(self.firbpfPage)
108 self.endofBpfPassBandLabel.setObjectName("endofBpfPassBandLabel")
109 self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.endofBpfPassBandLabel)
110 self.endofBpfPassBandEdit = QtGui.QLineEdit(self.firbpfPage)
111 self.endofBpfPassBandEdit.setObjectName("endofBpfPassBandEdit")
112 self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.endofBpfPassBandEdit)
113 self.bpfStopBandAttenEdit = QtGui.QLineEdit(self.firbpfPage)
114 self.bpfStopBandAttenEdit.setObjectName("bpfStopBandAttenEdit")
115 self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.bpfStopBandAttenEdit)
116 self.bpfStopBandAttenLabel = QtGui.QLabel(self.firbpfPage)
117 self.bpfStopBandAttenLabel.setObjectName("bpfStopBandAttenLabel")
118 self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.bpfStopBandAttenLabel)
119 self.bpfTransitionLabel = QtGui.QLabel(self.firbpfPage)
120 self.bpfTransitionLabel.setObjectName("bpfTransitionLabel")
121 self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.bpfTransitionLabel)
122 self.bpfTransitionEdit = QtGui.QLineEdit(self.firbpfPage)
123 self.bpfTransitionEdit.setObjectName("bpfTransitionEdit")
124 self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.bpfTransitionEdit)
125 self.bpfPassBandRippleEdit = QtGui.QLineEdit(self.firbpfPage)
126 self.bpfPassBandRippleEdit.setObjectName("bpfPassBandRippleEdit")
127 self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.bpfPassBandRippleEdit)
128 self.bpfPassBandRippleLabel = QtGui.QLabel(self.firbpfPage)
129 self.bpfPassBandRippleLabel.setObjectName("bpfPassBandRippleLabel")
130 self.formLayout_2.setWidget(4, QtGui.QFormLayout.LabelRole, self.bpfPassBandRippleLabel)
131 self.filterTypeWidget.addWidget(self.firbpfPage)
132 self.firbnfPage = QtGui.QWidget()
133 self.firbnfPage.setObjectName("firbnfPage")
134 self.formLayout_5 = QtGui.QFormLayout(self.firbnfPage)
135 self.formLayout_5.setObjectName("formLayout_5")
136 self.startofBnfStopBandLabel = QtGui.QLabel(self.firbnfPage)
137 self.startofBnfStopBandLabel.setObjectName("startofBnfStopBandLabel")
138 self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.startofBnfStopBandLabel)
139 self.startofBnfStopBandEdit = QtGui.QLineEdit(self.firbnfPage)
140 self.startofBnfStopBandEdit.setObjectName("startofBnfStopBandEdit")
141 self.formLayout_5.setWidget(0, QtGui.QFormLayout.FieldRole, self.startofBnfStopBandEdit)
142 self.endofBnfStopBandEdit = QtGui.QLineEdit(self.firbnfPage)
143 self.endofBnfStopBandEdit.setObjectName("endofBnfStopBandEdit")
144 self.formLayout_5.setWidget(1, QtGui.QFormLayout.FieldRole, self.endofBnfStopBandEdit)
145 self.bnfTransitionEdit = QtGui.QLineEdit(self.firbnfPage)
146 self.bnfTransitionEdit.setObjectName("bnfTransitionEdit")
147 self.formLayout_5.setWidget(2, QtGui.QFormLayout.FieldRole, self.bnfTransitionEdit)
148 self.bnfStopBandAttenEdit = QtGui.QLineEdit(self.firbnfPage)
149 self.bnfStopBandAttenEdit.setObjectName("bnfStopBandAttenEdit")
150 self.formLayout_5.setWidget(3, QtGui.QFormLayout.FieldRole, self.bnfStopBandAttenEdit)
151 self.endofBnfStopBandLabel = QtGui.QLabel(self.firbnfPage)
152 self.endofBnfStopBandLabel.setObjectName("endofBnfStopBandLabel")
153 self.formLayout_5.setWidget(1, QtGui.QFormLayout.LabelRole, self.endofBnfStopBandLabel)
154 self.bnfTransitionLabel = QtGui.QLabel(self.firbnfPage)
155 self.bnfTransitionLabel.setObjectName("bnfTransitionLabel")
156 self.formLayout_5.setWidget(2, QtGui.QFormLayout.LabelRole, self.bnfTransitionLabel)
157 self.bnfStopBandAttenLabel = QtGui.QLabel(self.firbnfPage)
158 self.bnfStopBandAttenLabel.setObjectName("bnfStopBandAttenLabel")
159 self.formLayout_5.setWidget(3, QtGui.QFormLayout.LabelRole, self.bnfStopBandAttenLabel)
160 self.filterTypeWidget.addWidget(self.firbnfPage)
161 self.firhpfPage = QtGui.QWidget()
162 self.firhpfPage.setObjectName("firhpfPage")
163 self.formLayout_3 = QtGui.QFormLayout(self.firhpfPage)
164 self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
165 self.formLayout_3.setObjectName("formLayout_3")
166 self.endofHpfStopBandLabel = QtGui.QLabel(self.firhpfPage)
167 self.endofHpfStopBandLabel.setObjectName("endofHpfStopBandLabel")
168 self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.endofHpfStopBandLabel)
169 self.endofHpfStopBandEdit = QtGui.QLineEdit(self.firhpfPage)
170 self.endofHpfStopBandEdit.setObjectName("endofHpfStopBandEdit")
171 self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.endofHpfStopBandEdit)
172 self.startofHpfPassBandLabel = QtGui.QLabel(self.firhpfPage)
173 self.startofHpfPassBandLabel.setObjectName("startofHpfPassBandLabel")
174 self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.startofHpfPassBandLabel)
175 self.startofHpfPassBandEdit = QtGui.QLineEdit(self.firhpfPage)
176 self.startofHpfPassBandEdit.setObjectName("startofHpfPassBandEdit")
177 self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.startofHpfPassBandEdit)
178 self.hpfStopBandAttenLabel = QtGui.QLabel(self.firhpfPage)
179 self.hpfStopBandAttenLabel.setObjectName("hpfStopBandAttenLabel")
180 self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.hpfStopBandAttenLabel)
181 self.hpfStopBandAttenEdit = QtGui.QLineEdit(self.firhpfPage)
182 self.hpfStopBandAttenEdit.setObjectName("hpfStopBandAttenEdit")
183 self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.hpfStopBandAttenEdit)
184 self.hpfPassBandRippleLabel = QtGui.QLabel(self.firhpfPage)
185 self.hpfPassBandRippleLabel.setObjectName("hpfPassBandRippleLabel")
186 self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.hpfPassBandRippleLabel)
187 self.hpfPassBandRippleEdit = QtGui.QLineEdit(self.firhpfPage)
188 self.hpfPassBandRippleEdit.setObjectName("hpfPassBandRippleEdit")
189 self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.hpfPassBandRippleEdit)
190 self.filterTypeWidget.addWidget(self.firhpfPage)
191 self.rrcPage = QtGui.QWidget()
192 self.rrcPage.setObjectName("rrcPage")
193 self.formLayout_6 = QtGui.QFormLayout(self.rrcPage)
194 self.formLayout_6.setObjectName("formLayout_6")
195 self.rrcSymbolRateLabel = QtGui.QLabel(self.rrcPage)
196 self.rrcSymbolRateLabel.setObjectName("rrcSymbolRateLabel")
197 self.formLayout_6.setWidget(0, QtGui.QFormLayout.LabelRole, self.rrcSymbolRateLabel)
198 self.rrcAlphaLabel = QtGui.QLabel(self.rrcPage)
199 self.rrcAlphaLabel.setObjectName("rrcAlphaLabel")
200 self.formLayout_6.setWidget(1, QtGui.QFormLayout.LabelRole, self.rrcAlphaLabel)
201 self.rrcNumTapsLabel = QtGui.QLabel(self.rrcPage)
202 self.rrcNumTapsLabel.setObjectName("rrcNumTapsLabel")
203 self.formLayout_6.setWidget(2, QtGui.QFormLayout.LabelRole, self.rrcNumTapsLabel)
204 self.rrcSymbolRateEdit = QtGui.QLineEdit(self.rrcPage)
205 self.rrcSymbolRateEdit.setObjectName("rrcSymbolRateEdit")
206 self.formLayout_6.setWidget(0, QtGui.QFormLayout.FieldRole, self.rrcSymbolRateEdit)
207 self.rrcAlphaEdit = QtGui.QLineEdit(self.rrcPage)
208 self.rrcAlphaEdit.setObjectName("rrcAlphaEdit")
209 self.formLayout_6.setWidget(1, QtGui.QFormLayout.FieldRole, self.rrcAlphaEdit)
210 self.rrcNumTapsEdit = QtGui.QLineEdit(self.rrcPage)
211 self.rrcNumTapsEdit.setObjectName("rrcNumTapsEdit")
212 self.formLayout_6.setWidget(2, QtGui.QFormLayout.FieldRole, self.rrcNumTapsEdit)
213 self.filterTypeWidget.addWidget(self.rrcPage)
214 self.verticalLayout.addWidget(self.filterTypeWidget)
215 self.sysParamsBox = QtGui.QGroupBox(self.filterFrame)
216 self.sysParamsBox.setObjectName("sysParamsBox")
217 self.formLayout_4 = QtGui.QFormLayout(self.sysParamsBox)
218 self.formLayout_4.setObjectName("formLayout_4")
219 self.nfftEdit = QtGui.QLineEdit(self.sysParamsBox)
220 self.nfftEdit.setObjectName("nfftEdit")
221 self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.nfftEdit)
222 self.nfftLabel = QtGui.QLabel(self.sysParamsBox)
223 self.nfftLabel.setObjectName("nfftLabel")
224 self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.nfftLabel)
225 self.verticalLayout.addWidget(self.sysParamsBox)
226 self.designButton = QtGui.QPushButton(self.filterFrame)
227 self.designButton.setMinimumSize(QtCore.QSize(0, 0))
228 self.designButton.setMaximumSize(QtCore.QSize(200, 16777215))
229 self.designButton.setAutoDefault(True)
230 self.designButton.setDefault(True)
231 self.designButton.setObjectName("designButton")
232 self.verticalLayout.addWidget(self.designButton)
233 self.gridLayout.addWidget(self.filterFrame, 1, 0, 1, 1)
234 self.tabGroup = QtGui.QTabWidget(self.centralwidget)
235 self.tabGroup.setMinimumSize(QtCore.QSize(800, 0))
236 self.tabGroup.setObjectName("tabGroup")
237 self.freqTab = QtGui.QWidget()
238 self.freqTab.setObjectName("freqTab")
239 self.horizontalLayout_2 = QtGui.QHBoxLayout(self.freqTab)
240 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
241 self.freqPlot = Qwt5.QwtPlot(self.freqTab)
242 self.freqPlot.setObjectName("freqPlot")
243 self.horizontalLayout_2.addWidget(self.freqPlot)
244 self.tabGroup.addTab(self.freqTab, "")
245 self.timeTab = QtGui.QWidget()
246 self.timeTab.setObjectName("timeTab")
247 self.horizontalLayout = QtGui.QHBoxLayout(self.timeTab)
248 self.horizontalLayout.setObjectName("horizontalLayout")
249 self.timePlot = Qwt5.QwtPlot(self.timeTab)
250 self.timePlot.setObjectName("timePlot")
251 self.horizontalLayout.addWidget(self.timePlot)
252 self.tabGroup.addTab(self.timeTab, "")
253 self.phaseTab = QtGui.QWidget()
254 self.phaseTab.setObjectName("phaseTab")
255 self.horizontalLayout_3 = QtGui.QHBoxLayout(self.phaseTab)
256 self.horizontalLayout_3.setObjectName("horizontalLayout_3")
257 self.phasePlot = Qwt5.QwtPlot(self.phaseTab)
258 self.phasePlot.setObjectName("phasePlot")
259 self.horizontalLayout_3.addWidget(self.phasePlot)
260 self.tabGroup.addTab(self.phaseTab, "")
261 self.groupTab = QtGui.QWidget()
262 self.groupTab.setObjectName("groupTab")
263 self.horizontalLayout_4 = QtGui.QHBoxLayout(self.groupTab)
264 self.horizontalLayout_4.setObjectName("horizontalLayout_4")
265 self.groupPlot = Qwt5.QwtPlot(self.groupTab)
266 self.groupPlot.setObjectName("groupPlot")
267 self.horizontalLayout_4.addWidget(self.groupPlot)
268 self.tabGroup.addTab(self.groupTab, "")
269 self.gridLayout.addWidget(self.tabGroup, 1, 1, 1, 1)
270 MainWindow.setCentralWidget(self.centralwidget)
271 self.menubar = QtGui.QMenuBar(MainWindow)
272 self.menubar.setGeometry(QtCore.QRect(0, 0, 1124, 25))
273 self.menubar.setObjectName("menubar")
274 self.menu_File = QtGui.QMenu(self.menubar)
275 self.menu_File.setObjectName("menu_File")
276 MainWindow.setMenuBar(self.menubar)
277 self.statusbar = QtGui.QStatusBar(MainWindow)
278 self.statusbar.setObjectName("statusbar")
279 MainWindow.setStatusBar(self.statusbar)
280 self.action_open = QtGui.QAction(MainWindow)
281 self.action_open.setObjectName("action_open")
282 self.action_exit = QtGui.QAction(MainWindow)
283 self.action_exit.setObjectName("action_exit")
284 self.menu_File.addAction(self.action_exit)
285 self.menubar.addAction(self.menu_File.menuAction())
287 self.retranslateUi(MainWindow)
288 self.filterTypeWidget.setCurrentIndex(4)
289 self.tabGroup.setCurrentIndex(0)
290 QtCore.QObject.connect(self.action_exit, QtCore.SIGNAL("activated()"), MainWindow.close)
291 QtCore.QMetaObject.connectSlotsByName(MainWindow)
292 MainWindow.setTabOrder(self.filterTypeComboBox, self.filterDesignTypeComboBox)
293 MainWindow.setTabOrder(self.filterDesignTypeComboBox, self.sampleRateEdit)
294 MainWindow.setTabOrder(self.sampleRateEdit, self.filterGainEdit)
295 MainWindow.setTabOrder(self.filterGainEdit, self.endofLpfPassBandEdit)
296 MainWindow.setTabOrder(self.endofLpfPassBandEdit, self.startofLpfStopBandEdit)
297 MainWindow.setTabOrder(self.startofLpfStopBandEdit, self.lpfStopBandAttenEdit)
298 MainWindow.setTabOrder(self.lpfStopBandAttenEdit, self.lpfPassBandRippleEdit)
299 MainWindow.setTabOrder(self.lpfPassBandRippleEdit, self.startofBpfPassBandEdit)
300 MainWindow.setTabOrder(self.startofBpfPassBandEdit, self.endofBpfPassBandEdit)
301 MainWindow.setTabOrder(self.endofBpfPassBandEdit, self.bpfTransitionEdit)
302 MainWindow.setTabOrder(self.bpfTransitionEdit, self.bpfStopBandAttenEdit)
303 MainWindow.setTabOrder(self.bpfStopBandAttenEdit, self.bpfPassBandRippleEdit)
304 MainWindow.setTabOrder(self.bpfPassBandRippleEdit, self.endofHpfStopBandEdit)
305 MainWindow.setTabOrder(self.endofHpfStopBandEdit, self.startofHpfPassBandEdit)
306 MainWindow.setTabOrder(self.startofHpfPassBandEdit, self.hpfStopBandAttenEdit)
307 MainWindow.setTabOrder(self.hpfStopBandAttenEdit, self.hpfPassBandRippleEdit)
308 MainWindow.setTabOrder(self.hpfPassBandRippleEdit, self.designButton)
309 MainWindow.setTabOrder(self.designButton, self.tabGroup)
311 def retranslateUi(self, MainWindow):
312 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "GNU Radio Filter Design Tool", None, QtGui.QApplication.UnicodeUTF8))
313 self.filterTypeComboBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "Low Pass", None, QtGui.QApplication.UnicodeUTF8))
314 self.filterTypeComboBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "Band Pass", None, QtGui.QApplication.UnicodeUTF8))
315 self.filterTypeComboBox.setItemText(2, QtGui.QApplication.translate("MainWindow", "Complex Band Pass", None, QtGui.QApplication.UnicodeUTF8))
316 self.filterTypeComboBox.setItemText(3, QtGui.QApplication.translate("MainWindow", "Band Notch", None, QtGui.QApplication.UnicodeUTF8))
317 self.filterTypeComboBox.setItemText(4, QtGui.QApplication.translate("MainWindow", "High Pass", None, QtGui.QApplication.UnicodeUTF8))
318 self.filterTypeComboBox.setItemText(5, QtGui.QApplication.translate("MainWindow", "Root Raised Cosine", None, QtGui.QApplication.UnicodeUTF8))
319 self.filterTypeComboBox.setItemText(6, QtGui.QApplication.translate("MainWindow", "Gaussian", None, QtGui.QApplication.UnicodeUTF8))
320 self.filterDesignTypeComboBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "Hamming Window", None, QtGui.QApplication.UnicodeUTF8))
321 self.filterDesignTypeComboBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "Hann Window", None, QtGui.QApplication.UnicodeUTF8))
322 self.filterDesignTypeComboBox.setItemText(2, QtGui.QApplication.translate("MainWindow", "Blackman Window", None, QtGui.QApplication.UnicodeUTF8))
323 self.filterDesignTypeComboBox.setItemText(3, QtGui.QApplication.translate("MainWindow", "Rectangular Window", None, QtGui.QApplication.UnicodeUTF8))
324 self.filterDesignTypeComboBox.setItemText(4, QtGui.QApplication.translate("MainWindow", "Kaiser Window", None, QtGui.QApplication.UnicodeUTF8))
325 self.filterDesignTypeComboBox.setItemText(5, QtGui.QApplication.translate("MainWindow", "Blackman-harris Window", None, QtGui.QApplication.UnicodeUTF8))
326 self.filterDesignTypeComboBox.setItemText(6, QtGui.QApplication.translate("MainWindow", "Equiripple", None, QtGui.QApplication.UnicodeUTF8))
327 self.sampleRateLabel.setText(QtGui.QApplication.translate("MainWindow", "Sample Rate (sps)", None, QtGui.QApplication.UnicodeUTF8))
328 self.filterGainLabel.setText(QtGui.QApplication.translate("MainWindow", "Filter Gain", None, QtGui.QApplication.UnicodeUTF8))
329 self.endofLpfPassBandLabel.setText(QtGui.QApplication.translate("MainWindow", "End of Pass Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
330 self.startofLpfStopBandLabel.setText(QtGui.QApplication.translate("MainWindow", "Start of Stop Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
331 self.lpfStopBandAttenLabel.setText(QtGui.QApplication.translate("MainWindow", "Stop Band Attenuation (dB)", None, QtGui.QApplication.UnicodeUTF8))
332 self.lpfPassBandRippleLabel.setText(QtGui.QApplication.translate("MainWindow", "Pass Band Ripple (dB)", None, QtGui.QApplication.UnicodeUTF8))
333 self.startofBpfPassBandLabel.setText(QtGui.QApplication.translate("MainWindow", "Start of Pass Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
334 self.endofBpfPassBandLabel.setText(QtGui.QApplication.translate("MainWindow", "End of Pass Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
335 self.bpfStopBandAttenLabel.setText(QtGui.QApplication.translate("MainWindow", "Stop Band Attenuation (dB)", None, QtGui.QApplication.UnicodeUTF8))
336 self.bpfTransitionLabel.setText(QtGui.QApplication.translate("MainWindow", "Transition Width (Hz)", None, QtGui.QApplication.UnicodeUTF8))
337 self.bpfPassBandRippleLabel.setText(QtGui.QApplication.translate("MainWindow", "Pass Band Ripple (dB)", None, QtGui.QApplication.UnicodeUTF8))
338 self.startofBnfStopBandLabel.setText(QtGui.QApplication.translate("MainWindow", "Start of Stop Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
339 self.endofBnfStopBandLabel.setText(QtGui.QApplication.translate("MainWindow", "End of Stop Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
340 self.bnfTransitionLabel.setText(QtGui.QApplication.translate("MainWindow", "Transition Width (Hz)", None, QtGui.QApplication.UnicodeUTF8))
341 self.bnfStopBandAttenLabel.setText(QtGui.QApplication.translate("MainWindow", "Stop Band Attenuation (dB)", None, QtGui.QApplication.UnicodeUTF8))
342 self.endofHpfStopBandLabel.setText(QtGui.QApplication.translate("MainWindow", "End of Stop Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
343 self.startofHpfPassBandLabel.setText(QtGui.QApplication.translate("MainWindow", "Start of Pass Band (Hz)", None, QtGui.QApplication.UnicodeUTF8))
344 self.hpfStopBandAttenLabel.setText(QtGui.QApplication.translate("MainWindow", "Stop Band Attenuation (dB)", None, QtGui.QApplication.UnicodeUTF8))
345 self.hpfPassBandRippleLabel.setText(QtGui.QApplication.translate("MainWindow", "Pass Band Ripple (dB)", None, QtGui.QApplication.UnicodeUTF8))
346 self.rrcSymbolRateLabel.setText(QtGui.QApplication.translate("MainWindow", "Symbol Rate (sps)", None, QtGui.QApplication.UnicodeUTF8))
347 self.rrcAlphaLabel.setText(QtGui.QApplication.translate("MainWindow", "Roll-off Factor", None, QtGui.QApplication.UnicodeUTF8))
348 self.rrcNumTapsLabel.setText(QtGui.QApplication.translate("MainWindow", "Number of Taps", None, QtGui.QApplication.UnicodeUTF8))
349 self.sysParamsBox.setTitle(QtGui.QApplication.translate("MainWindow", "System Parameters", None, QtGui.QApplication.UnicodeUTF8))
350 self.nfftLabel.setText(QtGui.QApplication.translate("MainWindow", "Num FFT points", None, QtGui.QApplication.UnicodeUTF8))
351 self.designButton.setText(QtGui.QApplication.translate("MainWindow", "Design", None, QtGui.QApplication.UnicodeUTF8))
352 self.tabGroup.setTabText(self.tabGroup.indexOf(self.freqTab), QtGui.QApplication.translate("MainWindow", "Frequency Domain", None, QtGui.QApplication.UnicodeUTF8))
353 self.tabGroup.setTabText(self.tabGroup.indexOf(self.timeTab), QtGui.QApplication.translate("MainWindow", "Time Domain", None, QtGui.QApplication.UnicodeUTF8))
354 self.tabGroup.setTabText(self.tabGroup.indexOf(self.phaseTab), QtGui.QApplication.translate("MainWindow", "Phase", None, QtGui.QApplication.UnicodeUTF8))
355 self.tabGroup.setTabText(self.tabGroup.indexOf(self.groupTab), QtGui.QApplication.translate("MainWindow", "Group Delay", None, QtGui.QApplication.UnicodeUTF8))
356 self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8))
357 self.action_open.setText(QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8))
358 self.action_open.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
359 self.action_exit.setText(QtGui.QApplication.translate("MainWindow", "E&xit", None, QtGui.QApplication.UnicodeUTF8))
361 from PyQt4 import Qwt5