How to use browser method in ladle

Best JavaScript code snippet using ladle

GenericTelemetryDialog.py

Source:GenericTelemetryDialog.py Github

copy

Full Screen

1# -*- coding: utf-8 -*-2# Form implementation generated from reading ui file 'GenericTelemetryDialog.ui'3#4# Created: Thu Jun 25 09:52:44 20155# by: PyQt4 UI code generator 4.11.36#7# WARNING! All changes made in this file will be lost!8from PyQt4 import QtCore, QtGui9try:10 _fromUtf8 = QtCore.QString.fromUtf811except AttributeError:12 def _fromUtf8(s):13 return s14try:15 _encoding = QtGui.QApplication.UnicodeUTF816 def _translate(context, text, disambig):17 return QtGui.QApplication.translate(context, text, disambig, _encoding)18except AttributeError:19 def _translate(context, text, disambig):20 return QtGui.QApplication.translate(context, text, disambig)21class Ui_GenericTelemetryDialog(object):22 def setupUi(self, GenericTelemetryDialog):23 GenericTelemetryDialog.setObjectName(_fromUtf8("GenericTelemetryDialog"))24 GenericTelemetryDialog.setWindowModality(QtCore.Qt.NonModal)25 GenericTelemetryDialog.resize(750, 434)26 font = QtGui.QFont()27 font.setPointSize(13)28 GenericTelemetryDialog.setFont(font)29 self.verticalLayout_8 = QtGui.QVBoxLayout(GenericTelemetryDialog)30 self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))31 self.horizontalLayout_2 = QtGui.QHBoxLayout()32 self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))33 self.verticalLayout = QtGui.QVBoxLayout()34 self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))35 self.subSystemTelemetryPageLabel = QtGui.QLabel(GenericTelemetryDialog)36 self.subSystemTelemetryPageLabel.setObjectName(_fromUtf8("subSystemTelemetryPageLabel"))37 self.verticalLayout.addWidget(self.subSystemTelemetryPageLabel)38 self.horizontalLayout = QtGui.QHBoxLayout()39 self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))40 self.subSystemTextBrowser = QtGui.QTextBrowser(GenericTelemetryDialog)41 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)42 sizePolicy.setHorizontalStretch(0)43 sizePolicy.setVerticalStretch(0)44 sizePolicy.setHeightForWidth(self.subSystemTextBrowser.sizePolicy().hasHeightForWidth())45 self.subSystemTextBrowser.setSizePolicy(sizePolicy)46 self.subSystemTextBrowser.setMinimumSize(QtCore.QSize(141, 31))47 self.subSystemTextBrowser.setMaximumSize(QtCore.QSize(141, 31))48 self.subSystemTextBrowser.setObjectName(_fromUtf8("subSystemTextBrowser"))49 self.horizontalLayout.addWidget(self.subSystemTextBrowser)50 self.verticalLayout.addLayout(self.horizontalLayout)51 self.horizontalLayout_2.addLayout(self.verticalLayout)52 self.verticalLayout_2 = QtGui.QVBoxLayout()53 self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))54 self.packetIdLabel = QtGui.QLabel(GenericTelemetryDialog)55 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)56 sizePolicy.setHorizontalStretch(0)57 sizePolicy.setVerticalStretch(0)58 sizePolicy.setHeightForWidth(self.packetIdLabel.sizePolicy().hasHeightForWidth())59 self.packetIdLabel.setSizePolicy(sizePolicy)60 self.packetIdLabel.setMinimumSize(QtCore.QSize(0, 13))61 self.packetIdLabel.setMaximumSize(QtCore.QSize(16777215, 13))62 self.packetIdLabel.setObjectName(_fromUtf8("packetIdLabel"))63 self.verticalLayout_2.addWidget(self.packetIdLabel)64 self.packetId = QtGui.QLCDNumber(GenericTelemetryDialog)65 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)66 sizePolicy.setHorizontalStretch(0)67 sizePolicy.setVerticalStretch(0)68 sizePolicy.setHeightForWidth(self.packetId.sizePolicy().hasHeightForWidth())69 self.packetId.setSizePolicy(sizePolicy)70 self.packetId.setObjectName(_fromUtf8("packetId"))71 self.verticalLayout_2.addWidget(self.packetId)72 self.horizontalLayout_2.addLayout(self.verticalLayout_2)73 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)74 self.horizontalLayout_2.addItem(spacerItem)75 self.verticalLayout_3 = QtGui.QVBoxLayout()76 self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))77 self.label_5 = QtGui.QLabel(GenericTelemetryDialog)78 self.label_5.setObjectName(_fromUtf8("label_5"))79 self.verticalLayout_3.addWidget(self.label_5)80 self.sequenceCount = QtGui.QTextBrowser(GenericTelemetryDialog)81 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)82 sizePolicy.setHorizontalStretch(0)83 sizePolicy.setVerticalStretch(0)84 sizePolicy.setHeightForWidth(self.sequenceCount.sizePolicy().hasHeightForWidth())85 self.sequenceCount.setSizePolicy(sizePolicy)86 self.sequenceCount.setMinimumSize(QtCore.QSize(101, 31))87 self.sequenceCount.setMaximumSize(QtCore.QSize(101, 31))88 self.sequenceCount.setObjectName(_fromUtf8("sequenceCount"))89 self.verticalLayout_3.addWidget(self.sequenceCount)90 self.horizontalLayout_2.addLayout(self.verticalLayout_3)91 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)92 self.horizontalLayout_2.addItem(spacerItem1)93 spacerItem2 = QtGui.QSpacerItem(146, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)94 self.horizontalLayout_2.addItem(spacerItem2)95 self.buttonBox = QtGui.QDialogButtonBox(GenericTelemetryDialog)96 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)97 sizePolicy.setHorizontalStretch(0)98 sizePolicy.setVerticalStretch(0)99 sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())100 self.buttonBox.setSizePolicy(sizePolicy)101 self.buttonBox.setFocusPolicy(QtCore.Qt.NoFocus)102 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)103 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)104 self.buttonBox.setObjectName(_fromUtf8("buttonBox"))105 self.horizontalLayout_2.addWidget(self.buttonBox)106 self.verticalLayout_8.addLayout(self.horizontalLayout_2)107 self.horizontalLayout_4 = QtGui.QHBoxLayout()108 self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))109 self.label = QtGui.QLabel(GenericTelemetryDialog)110 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)111 sizePolicy.setHorizontalStretch(0)112 sizePolicy.setVerticalStretch(0)113 sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())114 self.label.setSizePolicy(sizePolicy)115 self.label.setMinimumSize(QtCore.QSize(161, 17))116 self.label.setAlignment(QtCore.Qt.AlignCenter)117 self.label.setObjectName(_fromUtf8("label"))118 self.horizontalLayout_4.addWidget(self.label)119 self.label_2 = QtGui.QLabel(GenericTelemetryDialog)120 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)121 sizePolicy.setHorizontalStretch(0)122 sizePolicy.setVerticalStretch(0)123 sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())124 self.label_2.setSizePolicy(sizePolicy)125 self.label_2.setMinimumSize(QtCore.QSize(151, 0))126 self.label_2.setMaximumSize(QtCore.QSize(151, 16777215))127 self.label_2.setAlignment(QtCore.Qt.AlignCenter)128 self.label_2.setObjectName(_fromUtf8("label_2"))129 self.horizontalLayout_4.addWidget(self.label_2)130 self.line_2 = QtGui.QFrame(GenericTelemetryDialog)131 self.line_2.setFrameShape(QtGui.QFrame.VLine)132 self.line_2.setFrameShadow(QtGui.QFrame.Sunken)133 self.line_2.setObjectName(_fromUtf8("line_2"))134 self.horizontalLayout_4.addWidget(self.line_2)135 self.label_4 = QtGui.QLabel(GenericTelemetryDialog)136 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)137 sizePolicy.setHorizontalStretch(0)138 sizePolicy.setVerticalStretch(0)139 sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())140 self.label_4.setSizePolicy(sizePolicy)141 self.label_4.setMinimumSize(QtCore.QSize(161, 17))142 self.label_4.setAlignment(QtCore.Qt.AlignCenter)143 self.label_4.setObjectName(_fromUtf8("label_4"))144 self.horizontalLayout_4.addWidget(self.label_4)145 self.label_3 = QtGui.QLabel(GenericTelemetryDialog)146 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)147 sizePolicy.setHorizontalStretch(0)148 sizePolicy.setVerticalStretch(0)149 sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())150 self.label_3.setSizePolicy(sizePolicy)151 self.label_3.setMinimumSize(QtCore.QSize(151, 0))152 self.label_3.setMaximumSize(QtCore.QSize(151, 16777215))153 self.label_3.setAlignment(QtCore.Qt.AlignCenter)154 self.label_3.setObjectName(_fromUtf8("label_3"))155 self.horizontalLayout_4.addWidget(self.label_3)156 spacerItem3 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)157 self.horizontalLayout_4.addItem(spacerItem3)158 self.verticalLayout_8.addLayout(self.horizontalLayout_4)159 self.scrollArea = QtGui.QScrollArea(GenericTelemetryDialog)160 self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)161 self.scrollArea.setWidgetResizable(True)162 self.scrollArea.setObjectName(_fromUtf8("scrollArea"))163 self.scrollAreaWidgetContents = QtGui.QWidget()164 self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 709, 1000))165 self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(0, 1000))166 self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))167 self.horizontalLayout_3 = QtGui.QHBoxLayout(self.scrollAreaWidgetContents)168 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))169 self.verticalLayout_4 = QtGui.QVBoxLayout()170 self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))171 self.itemLabelTextBrowser_1 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)172 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)173 sizePolicy.setHorizontalStretch(0)174 sizePolicy.setVerticalStretch(0)175 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_1.sizePolicy().hasHeightForWidth())176 self.itemLabelTextBrowser_1.setSizePolicy(sizePolicy)177 self.itemLabelTextBrowser_1.setMinimumSize(QtCore.QSize(161, 31))178 self.itemLabelTextBrowser_1.setMaximumSize(QtCore.QSize(161, 31))179 self.itemLabelTextBrowser_1.setObjectName(_fromUtf8("itemLabelTextBrowser_1"))180 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_1)181 self.itemLabelTextBrowser_2 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)182 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)183 sizePolicy.setHorizontalStretch(0)184 sizePolicy.setVerticalStretch(0)185 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_2.sizePolicy().hasHeightForWidth())186 self.itemLabelTextBrowser_2.setSizePolicy(sizePolicy)187 self.itemLabelTextBrowser_2.setMinimumSize(QtCore.QSize(161, 31))188 self.itemLabelTextBrowser_2.setMaximumSize(QtCore.QSize(161, 31))189 self.itemLabelTextBrowser_2.setObjectName(_fromUtf8("itemLabelTextBrowser_2"))190 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_2)191 self.itemLabelTextBrowser_3 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)192 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)193 sizePolicy.setHorizontalStretch(0)194 sizePolicy.setVerticalStretch(0)195 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_3.sizePolicy().hasHeightForWidth())196 self.itemLabelTextBrowser_3.setSizePolicy(sizePolicy)197 self.itemLabelTextBrowser_3.setMinimumSize(QtCore.QSize(161, 31))198 self.itemLabelTextBrowser_3.setMaximumSize(QtCore.QSize(161, 31))199 self.itemLabelTextBrowser_3.setObjectName(_fromUtf8("itemLabelTextBrowser_3"))200 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_3)201 self.itemLabelTextBrowser_4 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)202 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)203 sizePolicy.setHorizontalStretch(0)204 sizePolicy.setVerticalStretch(0)205 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_4.sizePolicy().hasHeightForWidth())206 self.itemLabelTextBrowser_4.setSizePolicy(sizePolicy)207 self.itemLabelTextBrowser_4.setMinimumSize(QtCore.QSize(161, 31))208 self.itemLabelTextBrowser_4.setMaximumSize(QtCore.QSize(161, 31))209 self.itemLabelTextBrowser_4.setObjectName(_fromUtf8("itemLabelTextBrowser_4"))210 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_4)211 self.itemLabelTextBrowser_5 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)212 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)213 sizePolicy.setHorizontalStretch(0)214 sizePolicy.setVerticalStretch(0)215 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_5.sizePolicy().hasHeightForWidth())216 self.itemLabelTextBrowser_5.setSizePolicy(sizePolicy)217 self.itemLabelTextBrowser_5.setMinimumSize(QtCore.QSize(161, 31))218 self.itemLabelTextBrowser_5.setMaximumSize(QtCore.QSize(161, 31))219 self.itemLabelTextBrowser_5.setObjectName(_fromUtf8("itemLabelTextBrowser_5"))220 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_5)221 self.itemLabelTextBrowser_6 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)222 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)223 sizePolicy.setHorizontalStretch(0)224 sizePolicy.setVerticalStretch(0)225 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_6.sizePolicy().hasHeightForWidth())226 self.itemLabelTextBrowser_6.setSizePolicy(sizePolicy)227 self.itemLabelTextBrowser_6.setMinimumSize(QtCore.QSize(161, 31))228 self.itemLabelTextBrowser_6.setMaximumSize(QtCore.QSize(161, 31))229 self.itemLabelTextBrowser_6.setObjectName(_fromUtf8("itemLabelTextBrowser_6"))230 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_6)231 self.itemLabelTextBrowser_7 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)232 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)233 sizePolicy.setHorizontalStretch(0)234 sizePolicy.setVerticalStretch(0)235 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_7.sizePolicy().hasHeightForWidth())236 self.itemLabelTextBrowser_7.setSizePolicy(sizePolicy)237 self.itemLabelTextBrowser_7.setMinimumSize(QtCore.QSize(161, 31))238 self.itemLabelTextBrowser_7.setMaximumSize(QtCore.QSize(161, 31))239 self.itemLabelTextBrowser_7.setObjectName(_fromUtf8("itemLabelTextBrowser_7"))240 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_7)241 self.itemLabelTextBrowser_8 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)242 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)243 sizePolicy.setHorizontalStretch(0)244 sizePolicy.setVerticalStretch(0)245 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_8.sizePolicy().hasHeightForWidth())246 self.itemLabelTextBrowser_8.setSizePolicy(sizePolicy)247 self.itemLabelTextBrowser_8.setMinimumSize(QtCore.QSize(161, 31))248 self.itemLabelTextBrowser_8.setMaximumSize(QtCore.QSize(161, 31))249 self.itemLabelTextBrowser_8.setObjectName(_fromUtf8("itemLabelTextBrowser_8"))250 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_8)251 self.itemLabelTextBrowser_9 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)252 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)253 sizePolicy.setHorizontalStretch(0)254 sizePolicy.setVerticalStretch(0)255 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_9.sizePolicy().hasHeightForWidth())256 self.itemLabelTextBrowser_9.setSizePolicy(sizePolicy)257 self.itemLabelTextBrowser_9.setMinimumSize(QtCore.QSize(161, 31))258 self.itemLabelTextBrowser_9.setMaximumSize(QtCore.QSize(161, 31))259 self.itemLabelTextBrowser_9.setObjectName(_fromUtf8("itemLabelTextBrowser_9"))260 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_9)261 self.itemLabelTextBrowser_10 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)262 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)263 sizePolicy.setHorizontalStretch(0)264 sizePolicy.setVerticalStretch(0)265 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_10.sizePolicy().hasHeightForWidth())266 self.itemLabelTextBrowser_10.setSizePolicy(sizePolicy)267 self.itemLabelTextBrowser_10.setMinimumSize(QtCore.QSize(161, 31))268 self.itemLabelTextBrowser_10.setMaximumSize(QtCore.QSize(161, 31))269 self.itemLabelTextBrowser_10.setObjectName(_fromUtf8("itemLabelTextBrowser_10"))270 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_10)271 self.itemLabelTextBrowser_11 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)272 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)273 sizePolicy.setHorizontalStretch(0)274 sizePolicy.setVerticalStretch(0)275 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_11.sizePolicy().hasHeightForWidth())276 self.itemLabelTextBrowser_11.setSizePolicy(sizePolicy)277 self.itemLabelTextBrowser_11.setMinimumSize(QtCore.QSize(161, 31))278 self.itemLabelTextBrowser_11.setMaximumSize(QtCore.QSize(161, 31))279 self.itemLabelTextBrowser_11.setObjectName(_fromUtf8("itemLabelTextBrowser_11"))280 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_11)281 self.itemLabelTextBrowser_12 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)282 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)283 sizePolicy.setHorizontalStretch(0)284 sizePolicy.setVerticalStretch(0)285 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_12.sizePolicy().hasHeightForWidth())286 self.itemLabelTextBrowser_12.setSizePolicy(sizePolicy)287 self.itemLabelTextBrowser_12.setMinimumSize(QtCore.QSize(161, 31))288 self.itemLabelTextBrowser_12.setMaximumSize(QtCore.QSize(161, 31))289 self.itemLabelTextBrowser_12.setObjectName(_fromUtf8("itemLabelTextBrowser_12"))290 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_12)291 self.itemLabelTextBrowser_13 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)292 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)293 sizePolicy.setHorizontalStretch(0)294 sizePolicy.setVerticalStretch(0)295 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_13.sizePolicy().hasHeightForWidth())296 self.itemLabelTextBrowser_13.setSizePolicy(sizePolicy)297 self.itemLabelTextBrowser_13.setMinimumSize(QtCore.QSize(161, 31))298 self.itemLabelTextBrowser_13.setMaximumSize(QtCore.QSize(161, 31))299 self.itemLabelTextBrowser_13.setObjectName(_fromUtf8("itemLabelTextBrowser_13"))300 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_13)301 self.itemLabelTextBrowser_14 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)302 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)303 sizePolicy.setHorizontalStretch(0)304 sizePolicy.setVerticalStretch(0)305 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_14.sizePolicy().hasHeightForWidth())306 self.itemLabelTextBrowser_14.setSizePolicy(sizePolicy)307 self.itemLabelTextBrowser_14.setMinimumSize(QtCore.QSize(161, 31))308 self.itemLabelTextBrowser_14.setMaximumSize(QtCore.QSize(161, 31))309 self.itemLabelTextBrowser_14.setObjectName(_fromUtf8("itemLabelTextBrowser_14"))310 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_14)311 self.itemLabelTextBrowser_15 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)312 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)313 sizePolicy.setHorizontalStretch(0)314 sizePolicy.setVerticalStretch(0)315 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_15.sizePolicy().hasHeightForWidth())316 self.itemLabelTextBrowser_15.setSizePolicy(sizePolicy)317 self.itemLabelTextBrowser_15.setMinimumSize(QtCore.QSize(161, 31))318 self.itemLabelTextBrowser_15.setMaximumSize(QtCore.QSize(161, 31))319 self.itemLabelTextBrowser_15.setObjectName(_fromUtf8("itemLabelTextBrowser_15"))320 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_15)321 self.itemLabelTextBrowser_16 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)322 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)323 sizePolicy.setHorizontalStretch(0)324 sizePolicy.setVerticalStretch(0)325 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_16.sizePolicy().hasHeightForWidth())326 self.itemLabelTextBrowser_16.setSizePolicy(sizePolicy)327 self.itemLabelTextBrowser_16.setMinimumSize(QtCore.QSize(161, 31))328 self.itemLabelTextBrowser_16.setMaximumSize(QtCore.QSize(161, 31))329 self.itemLabelTextBrowser_16.setObjectName(_fromUtf8("itemLabelTextBrowser_16"))330 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_16)331 self.itemLabelTextBrowser_17 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)332 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)333 sizePolicy.setHorizontalStretch(0)334 sizePolicy.setVerticalStretch(0)335 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_17.sizePolicy().hasHeightForWidth())336 self.itemLabelTextBrowser_17.setSizePolicy(sizePolicy)337 self.itemLabelTextBrowser_17.setMinimumSize(QtCore.QSize(161, 31))338 self.itemLabelTextBrowser_17.setMaximumSize(QtCore.QSize(161, 31))339 self.itemLabelTextBrowser_17.setObjectName(_fromUtf8("itemLabelTextBrowser_17"))340 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_17)341 self.itemLabelTextBrowser_18 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)342 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)343 sizePolicy.setHorizontalStretch(0)344 sizePolicy.setVerticalStretch(0)345 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_18.sizePolicy().hasHeightForWidth())346 self.itemLabelTextBrowser_18.setSizePolicy(sizePolicy)347 self.itemLabelTextBrowser_18.setMinimumSize(QtCore.QSize(161, 31))348 self.itemLabelTextBrowser_18.setMaximumSize(QtCore.QSize(161, 31))349 self.itemLabelTextBrowser_18.setObjectName(_fromUtf8("itemLabelTextBrowser_18"))350 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_18)351 self.itemLabelTextBrowser_19 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)352 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)353 sizePolicy.setHorizontalStretch(0)354 sizePolicy.setVerticalStretch(0)355 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_19.sizePolicy().hasHeightForWidth())356 self.itemLabelTextBrowser_19.setSizePolicy(sizePolicy)357 self.itemLabelTextBrowser_19.setMinimumSize(QtCore.QSize(161, 31))358 self.itemLabelTextBrowser_19.setMaximumSize(QtCore.QSize(161, 31))359 self.itemLabelTextBrowser_19.setObjectName(_fromUtf8("itemLabelTextBrowser_19"))360 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_19)361 self.itemLabelTextBrowser_20 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)362 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)363 sizePolicy.setHorizontalStretch(0)364 sizePolicy.setVerticalStretch(0)365 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_20.sizePolicy().hasHeightForWidth())366 self.itemLabelTextBrowser_20.setSizePolicy(sizePolicy)367 self.itemLabelTextBrowser_20.setMinimumSize(QtCore.QSize(161, 31))368 self.itemLabelTextBrowser_20.setMaximumSize(QtCore.QSize(161, 31))369 self.itemLabelTextBrowser_20.setObjectName(_fromUtf8("itemLabelTextBrowser_20"))370 self.verticalLayout_4.addWidget(self.itemLabelTextBrowser_20)371 self.horizontalLayout_3.addLayout(self.verticalLayout_4)372 self.verticalLayout_5 = QtGui.QVBoxLayout()373 self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))374 self.itemValueTextBrowser_1 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)375 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)376 sizePolicy.setHorizontalStretch(0)377 sizePolicy.setVerticalStretch(0)378 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_1.sizePolicy().hasHeightForWidth())379 self.itemValueTextBrowser_1.setSizePolicy(sizePolicy)380 self.itemValueTextBrowser_1.setMinimumSize(QtCore.QSize(151, 31))381 self.itemValueTextBrowser_1.setMaximumSize(QtCore.QSize(151, 31))382 self.itemValueTextBrowser_1.setObjectName(_fromUtf8("itemValueTextBrowser_1"))383 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_1)384 self.itemValueTextBrowser_2 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)385 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)386 sizePolicy.setHorizontalStretch(0)387 sizePolicy.setVerticalStretch(0)388 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_2.sizePolicy().hasHeightForWidth())389 self.itemValueTextBrowser_2.setSizePolicy(sizePolicy)390 self.itemValueTextBrowser_2.setMinimumSize(QtCore.QSize(151, 31))391 self.itemValueTextBrowser_2.setMaximumSize(QtCore.QSize(151, 31))392 self.itemValueTextBrowser_2.setObjectName(_fromUtf8("itemValueTextBrowser_2"))393 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_2)394 self.itemValueTextBrowser_3 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)395 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)396 sizePolicy.setHorizontalStretch(0)397 sizePolicy.setVerticalStretch(0)398 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_3.sizePolicy().hasHeightForWidth())399 self.itemValueTextBrowser_3.setSizePolicy(sizePolicy)400 self.itemValueTextBrowser_3.setMinimumSize(QtCore.QSize(151, 31))401 self.itemValueTextBrowser_3.setMaximumSize(QtCore.QSize(151, 31))402 self.itemValueTextBrowser_3.setObjectName(_fromUtf8("itemValueTextBrowser_3"))403 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_3)404 self.itemValueTextBrowser_4 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)405 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)406 sizePolicy.setHorizontalStretch(0)407 sizePolicy.setVerticalStretch(0)408 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_4.sizePolicy().hasHeightForWidth())409 self.itemValueTextBrowser_4.setSizePolicy(sizePolicy)410 self.itemValueTextBrowser_4.setMinimumSize(QtCore.QSize(151, 31))411 self.itemValueTextBrowser_4.setMaximumSize(QtCore.QSize(151, 31))412 self.itemValueTextBrowser_4.setObjectName(_fromUtf8("itemValueTextBrowser_4"))413 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_4)414 self.itemValueTextBrowser_5 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)415 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)416 sizePolicy.setHorizontalStretch(0)417 sizePolicy.setVerticalStretch(0)418 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_5.sizePolicy().hasHeightForWidth())419 self.itemValueTextBrowser_5.setSizePolicy(sizePolicy)420 self.itemValueTextBrowser_5.setMinimumSize(QtCore.QSize(151, 31))421 self.itemValueTextBrowser_5.setMaximumSize(QtCore.QSize(151, 31))422 self.itemValueTextBrowser_5.setObjectName(_fromUtf8("itemValueTextBrowser_5"))423 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_5)424 self.itemValueTextBrowser_6 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)425 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)426 sizePolicy.setHorizontalStretch(0)427 sizePolicy.setVerticalStretch(0)428 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_6.sizePolicy().hasHeightForWidth())429 self.itemValueTextBrowser_6.setSizePolicy(sizePolicy)430 self.itemValueTextBrowser_6.setMinimumSize(QtCore.QSize(151, 31))431 self.itemValueTextBrowser_6.setMaximumSize(QtCore.QSize(151, 31))432 self.itemValueTextBrowser_6.setObjectName(_fromUtf8("itemValueTextBrowser_6"))433 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_6)434 self.itemValueTextBrowser_7 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)435 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)436 sizePolicy.setHorizontalStretch(0)437 sizePolicy.setVerticalStretch(0)438 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_7.sizePolicy().hasHeightForWidth())439 self.itemValueTextBrowser_7.setSizePolicy(sizePolicy)440 self.itemValueTextBrowser_7.setMinimumSize(QtCore.QSize(151, 31))441 self.itemValueTextBrowser_7.setMaximumSize(QtCore.QSize(151, 31))442 self.itemValueTextBrowser_7.setObjectName(_fromUtf8("itemValueTextBrowser_7"))443 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_7)444 self.itemValueTextBrowser_8 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)445 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)446 sizePolicy.setHorizontalStretch(0)447 sizePolicy.setVerticalStretch(0)448 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_8.sizePolicy().hasHeightForWidth())449 self.itemValueTextBrowser_8.setSizePolicy(sizePolicy)450 self.itemValueTextBrowser_8.setMinimumSize(QtCore.QSize(151, 31))451 self.itemValueTextBrowser_8.setMaximumSize(QtCore.QSize(151, 31))452 self.itemValueTextBrowser_8.setObjectName(_fromUtf8("itemValueTextBrowser_8"))453 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_8)454 self.itemValueTextBrowser_9 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)455 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)456 sizePolicy.setHorizontalStretch(0)457 sizePolicy.setVerticalStretch(0)458 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_9.sizePolicy().hasHeightForWidth())459 self.itemValueTextBrowser_9.setSizePolicy(sizePolicy)460 self.itemValueTextBrowser_9.setMinimumSize(QtCore.QSize(151, 31))461 self.itemValueTextBrowser_9.setMaximumSize(QtCore.QSize(151, 31))462 self.itemValueTextBrowser_9.setObjectName(_fromUtf8("itemValueTextBrowser_9"))463 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_9)464 self.itemValueTextBrowser_10 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)465 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)466 sizePolicy.setHorizontalStretch(0)467 sizePolicy.setVerticalStretch(0)468 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_10.sizePolicy().hasHeightForWidth())469 self.itemValueTextBrowser_10.setSizePolicy(sizePolicy)470 self.itemValueTextBrowser_10.setMinimumSize(QtCore.QSize(151, 31))471 self.itemValueTextBrowser_10.setMaximumSize(QtCore.QSize(151, 31))472 self.itemValueTextBrowser_10.setObjectName(_fromUtf8("itemValueTextBrowser_10"))473 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_10)474 self.itemValueTextBrowser_11 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)475 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)476 sizePolicy.setHorizontalStretch(0)477 sizePolicy.setVerticalStretch(0)478 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_11.sizePolicy().hasHeightForWidth())479 self.itemValueTextBrowser_11.setSizePolicy(sizePolicy)480 self.itemValueTextBrowser_11.setMinimumSize(QtCore.QSize(151, 31))481 self.itemValueTextBrowser_11.setMaximumSize(QtCore.QSize(151, 31))482 self.itemValueTextBrowser_11.setObjectName(_fromUtf8("itemValueTextBrowser_11"))483 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_11)484 self.itemValueTextBrowser_12 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)485 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)486 sizePolicy.setHorizontalStretch(0)487 sizePolicy.setVerticalStretch(0)488 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_12.sizePolicy().hasHeightForWidth())489 self.itemValueTextBrowser_12.setSizePolicy(sizePolicy)490 self.itemValueTextBrowser_12.setMinimumSize(QtCore.QSize(151, 31))491 self.itemValueTextBrowser_12.setMaximumSize(QtCore.QSize(151, 31))492 self.itemValueTextBrowser_12.setObjectName(_fromUtf8("itemValueTextBrowser_12"))493 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_12)494 self.itemValueTextBrowser_13 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)495 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)496 sizePolicy.setHorizontalStretch(0)497 sizePolicy.setVerticalStretch(0)498 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_13.sizePolicy().hasHeightForWidth())499 self.itemValueTextBrowser_13.setSizePolicy(sizePolicy)500 self.itemValueTextBrowser_13.setMinimumSize(QtCore.QSize(151, 31))501 self.itemValueTextBrowser_13.setMaximumSize(QtCore.QSize(151, 31))502 self.itemValueTextBrowser_13.setObjectName(_fromUtf8("itemValueTextBrowser_13"))503 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_13)504 self.itemValueTextBrowser_14 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)505 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)506 sizePolicy.setHorizontalStretch(0)507 sizePolicy.setVerticalStretch(0)508 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_14.sizePolicy().hasHeightForWidth())509 self.itemValueTextBrowser_14.setSizePolicy(sizePolicy)510 self.itemValueTextBrowser_14.setMinimumSize(QtCore.QSize(151, 31))511 self.itemValueTextBrowser_14.setMaximumSize(QtCore.QSize(151, 31))512 self.itemValueTextBrowser_14.setObjectName(_fromUtf8("itemValueTextBrowser_14"))513 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_14)514 self.itemValueTextBrowser_15 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)515 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)516 sizePolicy.setHorizontalStretch(0)517 sizePolicy.setVerticalStretch(0)518 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_15.sizePolicy().hasHeightForWidth())519 self.itemValueTextBrowser_15.setSizePolicy(sizePolicy)520 self.itemValueTextBrowser_15.setMinimumSize(QtCore.QSize(151, 31))521 self.itemValueTextBrowser_15.setMaximumSize(QtCore.QSize(151, 31))522 self.itemValueTextBrowser_15.setObjectName(_fromUtf8("itemValueTextBrowser_15"))523 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_15)524 self.itemValueTextBrowser_16 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)525 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)526 sizePolicy.setHorizontalStretch(0)527 sizePolicy.setVerticalStretch(0)528 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_16.sizePolicy().hasHeightForWidth())529 self.itemValueTextBrowser_16.setSizePolicy(sizePolicy)530 self.itemValueTextBrowser_16.setMinimumSize(QtCore.QSize(151, 31))531 self.itemValueTextBrowser_16.setMaximumSize(QtCore.QSize(151, 31))532 self.itemValueTextBrowser_16.setObjectName(_fromUtf8("itemValueTextBrowser_16"))533 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_16)534 self.itemValueTextBrowser_17 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)535 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)536 sizePolicy.setHorizontalStretch(0)537 sizePolicy.setVerticalStretch(0)538 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_17.sizePolicy().hasHeightForWidth())539 self.itemValueTextBrowser_17.setSizePolicy(sizePolicy)540 self.itemValueTextBrowser_17.setMinimumSize(QtCore.QSize(151, 31))541 self.itemValueTextBrowser_17.setMaximumSize(QtCore.QSize(151, 31))542 self.itemValueTextBrowser_17.setObjectName(_fromUtf8("itemValueTextBrowser_17"))543 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_17)544 self.itemValueTextBrowser_18 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)545 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)546 sizePolicy.setHorizontalStretch(0)547 sizePolicy.setVerticalStretch(0)548 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_18.sizePolicy().hasHeightForWidth())549 self.itemValueTextBrowser_18.setSizePolicy(sizePolicy)550 self.itemValueTextBrowser_18.setMinimumSize(QtCore.QSize(151, 31))551 self.itemValueTextBrowser_18.setMaximumSize(QtCore.QSize(151, 31))552 self.itemValueTextBrowser_18.setObjectName(_fromUtf8("itemValueTextBrowser_18"))553 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_18)554 self.itemValueTextBrowser_19 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)555 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)556 sizePolicy.setHorizontalStretch(0)557 sizePolicy.setVerticalStretch(0)558 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_19.sizePolicy().hasHeightForWidth())559 self.itemValueTextBrowser_19.setSizePolicy(sizePolicy)560 self.itemValueTextBrowser_19.setMinimumSize(QtCore.QSize(151, 31))561 self.itemValueTextBrowser_19.setMaximumSize(QtCore.QSize(151, 31))562 self.itemValueTextBrowser_19.setObjectName(_fromUtf8("itemValueTextBrowser_19"))563 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_19)564 self.itemValueTextBrowser_20 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)565 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)566 sizePolicy.setHorizontalStretch(0)567 sizePolicy.setVerticalStretch(0)568 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_20.sizePolicy().hasHeightForWidth())569 self.itemValueTextBrowser_20.setSizePolicy(sizePolicy)570 self.itemValueTextBrowser_20.setMinimumSize(QtCore.QSize(151, 31))571 self.itemValueTextBrowser_20.setMaximumSize(QtCore.QSize(151, 31))572 self.itemValueTextBrowser_20.setObjectName(_fromUtf8("itemValueTextBrowser_20"))573 self.verticalLayout_5.addWidget(self.itemValueTextBrowser_20)574 self.horizontalLayout_3.addLayout(self.verticalLayout_5)575 self.line = QtGui.QFrame(self.scrollAreaWidgetContents)576 self.line.setFrameShape(QtGui.QFrame.VLine)577 self.line.setFrameShadow(QtGui.QFrame.Sunken)578 self.line.setObjectName(_fromUtf8("line"))579 self.horizontalLayout_3.addWidget(self.line)580 self.verticalLayout_6 = QtGui.QVBoxLayout()581 self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))582 self.itemLabelTextBrowser_21 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)583 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)584 sizePolicy.setHorizontalStretch(0)585 sizePolicy.setVerticalStretch(0)586 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_21.sizePolicy().hasHeightForWidth())587 self.itemLabelTextBrowser_21.setSizePolicy(sizePolicy)588 self.itemLabelTextBrowser_21.setMinimumSize(QtCore.QSize(161, 31))589 self.itemLabelTextBrowser_21.setMaximumSize(QtCore.QSize(161, 31))590 self.itemLabelTextBrowser_21.setObjectName(_fromUtf8("itemLabelTextBrowser_21"))591 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_21)592 self.itemLabelTextBrowser_22 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)593 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)594 sizePolicy.setHorizontalStretch(0)595 sizePolicy.setVerticalStretch(0)596 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_22.sizePolicy().hasHeightForWidth())597 self.itemLabelTextBrowser_22.setSizePolicy(sizePolicy)598 self.itemLabelTextBrowser_22.setMinimumSize(QtCore.QSize(161, 31))599 self.itemLabelTextBrowser_22.setMaximumSize(QtCore.QSize(161, 31))600 self.itemLabelTextBrowser_22.setObjectName(_fromUtf8("itemLabelTextBrowser_22"))601 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_22)602 self.itemLabelTextBrowser_23 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)603 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)604 sizePolicy.setHorizontalStretch(0)605 sizePolicy.setVerticalStretch(0)606 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_23.sizePolicy().hasHeightForWidth())607 self.itemLabelTextBrowser_23.setSizePolicy(sizePolicy)608 self.itemLabelTextBrowser_23.setMinimumSize(QtCore.QSize(161, 31))609 self.itemLabelTextBrowser_23.setMaximumSize(QtCore.QSize(161, 31))610 self.itemLabelTextBrowser_23.setObjectName(_fromUtf8("itemLabelTextBrowser_23"))611 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_23)612 self.itemLabelTextBrowser_24 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)613 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)614 sizePolicy.setHorizontalStretch(0)615 sizePolicy.setVerticalStretch(0)616 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_24.sizePolicy().hasHeightForWidth())617 self.itemLabelTextBrowser_24.setSizePolicy(sizePolicy)618 self.itemLabelTextBrowser_24.setMinimumSize(QtCore.QSize(161, 31))619 self.itemLabelTextBrowser_24.setMaximumSize(QtCore.QSize(161, 31))620 self.itemLabelTextBrowser_24.setObjectName(_fromUtf8("itemLabelTextBrowser_24"))621 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_24)622 self.itemLabelTextBrowser_25 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)623 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)624 sizePolicy.setHorizontalStretch(0)625 sizePolicy.setVerticalStretch(0)626 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_25.sizePolicy().hasHeightForWidth())627 self.itemLabelTextBrowser_25.setSizePolicy(sizePolicy)628 self.itemLabelTextBrowser_25.setMinimumSize(QtCore.QSize(161, 31))629 self.itemLabelTextBrowser_25.setMaximumSize(QtCore.QSize(161, 31))630 self.itemLabelTextBrowser_25.setObjectName(_fromUtf8("itemLabelTextBrowser_25"))631 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_25)632 self.itemLabelTextBrowser_26 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)633 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)634 sizePolicy.setHorizontalStretch(0)635 sizePolicy.setVerticalStretch(0)636 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_26.sizePolicy().hasHeightForWidth())637 self.itemLabelTextBrowser_26.setSizePolicy(sizePolicy)638 self.itemLabelTextBrowser_26.setMinimumSize(QtCore.QSize(161, 31))639 self.itemLabelTextBrowser_26.setMaximumSize(QtCore.QSize(161, 31))640 self.itemLabelTextBrowser_26.setObjectName(_fromUtf8("itemLabelTextBrowser_26"))641 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_26)642 self.itemLabelTextBrowser_27 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)643 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)644 sizePolicy.setHorizontalStretch(0)645 sizePolicy.setVerticalStretch(0)646 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_27.sizePolicy().hasHeightForWidth())647 self.itemLabelTextBrowser_27.setSizePolicy(sizePolicy)648 self.itemLabelTextBrowser_27.setMinimumSize(QtCore.QSize(161, 31))649 self.itemLabelTextBrowser_27.setMaximumSize(QtCore.QSize(161, 31))650 self.itemLabelTextBrowser_27.setObjectName(_fromUtf8("itemLabelTextBrowser_27"))651 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_27)652 self.itemLabelTextBrowser_28 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)653 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)654 sizePolicy.setHorizontalStretch(0)655 sizePolicy.setVerticalStretch(0)656 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_28.sizePolicy().hasHeightForWidth())657 self.itemLabelTextBrowser_28.setSizePolicy(sizePolicy)658 self.itemLabelTextBrowser_28.setMinimumSize(QtCore.QSize(161, 31))659 self.itemLabelTextBrowser_28.setMaximumSize(QtCore.QSize(161, 31))660 self.itemLabelTextBrowser_28.setObjectName(_fromUtf8("itemLabelTextBrowser_28"))661 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_28)662 self.itemLabelTextBrowser_29 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)663 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)664 sizePolicy.setHorizontalStretch(0)665 sizePolicy.setVerticalStretch(0)666 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_29.sizePolicy().hasHeightForWidth())667 self.itemLabelTextBrowser_29.setSizePolicy(sizePolicy)668 self.itemLabelTextBrowser_29.setMinimumSize(QtCore.QSize(161, 31))669 self.itemLabelTextBrowser_29.setMaximumSize(QtCore.QSize(161, 31))670 self.itemLabelTextBrowser_29.setObjectName(_fromUtf8("itemLabelTextBrowser_29"))671 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_29)672 self.itemLabelTextBrowser_30 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)673 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)674 sizePolicy.setHorizontalStretch(0)675 sizePolicy.setVerticalStretch(0)676 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_30.sizePolicy().hasHeightForWidth())677 self.itemLabelTextBrowser_30.setSizePolicy(sizePolicy)678 self.itemLabelTextBrowser_30.setMinimumSize(QtCore.QSize(161, 31))679 self.itemLabelTextBrowser_30.setMaximumSize(QtCore.QSize(161, 31))680 self.itemLabelTextBrowser_30.setObjectName(_fromUtf8("itemLabelTextBrowser_30"))681 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_30)682 self.itemLabelTextBrowser_31 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)683 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)684 sizePolicy.setHorizontalStretch(0)685 sizePolicy.setVerticalStretch(0)686 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_31.sizePolicy().hasHeightForWidth())687 self.itemLabelTextBrowser_31.setSizePolicy(sizePolicy)688 self.itemLabelTextBrowser_31.setMinimumSize(QtCore.QSize(161, 31))689 self.itemLabelTextBrowser_31.setMaximumSize(QtCore.QSize(161, 31))690 self.itemLabelTextBrowser_31.setObjectName(_fromUtf8("itemLabelTextBrowser_31"))691 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_31)692 self.itemLabelTextBrowser_32 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)693 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)694 sizePolicy.setHorizontalStretch(0)695 sizePolicy.setVerticalStretch(0)696 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_32.sizePolicy().hasHeightForWidth())697 self.itemLabelTextBrowser_32.setSizePolicy(sizePolicy)698 self.itemLabelTextBrowser_32.setMinimumSize(QtCore.QSize(161, 31))699 self.itemLabelTextBrowser_32.setMaximumSize(QtCore.QSize(161, 31))700 self.itemLabelTextBrowser_32.setObjectName(_fromUtf8("itemLabelTextBrowser_32"))701 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_32)702 self.itemLabelTextBrowser_33 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)703 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)704 sizePolicy.setHorizontalStretch(0)705 sizePolicy.setVerticalStretch(0)706 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_33.sizePolicy().hasHeightForWidth())707 self.itemLabelTextBrowser_33.setSizePolicy(sizePolicy)708 self.itemLabelTextBrowser_33.setMinimumSize(QtCore.QSize(161, 31))709 self.itemLabelTextBrowser_33.setMaximumSize(QtCore.QSize(161, 31))710 self.itemLabelTextBrowser_33.setObjectName(_fromUtf8("itemLabelTextBrowser_33"))711 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_33)712 self.itemLabelTextBrowser_34 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)713 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)714 sizePolicy.setHorizontalStretch(0)715 sizePolicy.setVerticalStretch(0)716 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_34.sizePolicy().hasHeightForWidth())717 self.itemLabelTextBrowser_34.setSizePolicy(sizePolicy)718 self.itemLabelTextBrowser_34.setMinimumSize(QtCore.QSize(161, 31))719 self.itemLabelTextBrowser_34.setMaximumSize(QtCore.QSize(161, 31))720 self.itemLabelTextBrowser_34.setObjectName(_fromUtf8("itemLabelTextBrowser_34"))721 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_34)722 self.itemLabelTextBrowser_35 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)723 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)724 sizePolicy.setHorizontalStretch(0)725 sizePolicy.setVerticalStretch(0)726 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_35.sizePolicy().hasHeightForWidth())727 self.itemLabelTextBrowser_35.setSizePolicy(sizePolicy)728 self.itemLabelTextBrowser_35.setMinimumSize(QtCore.QSize(161, 31))729 self.itemLabelTextBrowser_35.setMaximumSize(QtCore.QSize(161, 31))730 self.itemLabelTextBrowser_35.setObjectName(_fromUtf8("itemLabelTextBrowser_35"))731 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_35)732 self.itemLabelTextBrowser_36 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)733 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)734 sizePolicy.setHorizontalStretch(0)735 sizePolicy.setVerticalStretch(0)736 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_36.sizePolicy().hasHeightForWidth())737 self.itemLabelTextBrowser_36.setSizePolicy(sizePolicy)738 self.itemLabelTextBrowser_36.setMinimumSize(QtCore.QSize(161, 31))739 self.itemLabelTextBrowser_36.setMaximumSize(QtCore.QSize(161, 31))740 self.itemLabelTextBrowser_36.setObjectName(_fromUtf8("itemLabelTextBrowser_36"))741 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_36)742 self.itemLabelTextBrowser_37 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)743 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)744 sizePolicy.setHorizontalStretch(0)745 sizePolicy.setVerticalStretch(0)746 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_37.sizePolicy().hasHeightForWidth())747 self.itemLabelTextBrowser_37.setSizePolicy(sizePolicy)748 self.itemLabelTextBrowser_37.setMinimumSize(QtCore.QSize(161, 31))749 self.itemLabelTextBrowser_37.setMaximumSize(QtCore.QSize(161, 31))750 self.itemLabelTextBrowser_37.setObjectName(_fromUtf8("itemLabelTextBrowser_37"))751 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_37)752 self.itemLabelTextBrowser_38 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)753 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)754 sizePolicy.setHorizontalStretch(0)755 sizePolicy.setVerticalStretch(0)756 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_38.sizePolicy().hasHeightForWidth())757 self.itemLabelTextBrowser_38.setSizePolicy(sizePolicy)758 self.itemLabelTextBrowser_38.setMinimumSize(QtCore.QSize(161, 31))759 self.itemLabelTextBrowser_38.setMaximumSize(QtCore.QSize(161, 31))760 self.itemLabelTextBrowser_38.setObjectName(_fromUtf8("itemLabelTextBrowser_38"))761 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_38)762 self.itemLabelTextBrowser_39 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)763 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)764 sizePolicy.setHorizontalStretch(0)765 sizePolicy.setVerticalStretch(0)766 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_39.sizePolicy().hasHeightForWidth())767 self.itemLabelTextBrowser_39.setSizePolicy(sizePolicy)768 self.itemLabelTextBrowser_39.setMinimumSize(QtCore.QSize(161, 31))769 self.itemLabelTextBrowser_39.setMaximumSize(QtCore.QSize(161, 31))770 self.itemLabelTextBrowser_39.setObjectName(_fromUtf8("itemLabelTextBrowser_39"))771 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_39)772 self.itemLabelTextBrowser_40 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)773 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)774 sizePolicy.setHorizontalStretch(0)775 sizePolicy.setVerticalStretch(0)776 sizePolicy.setHeightForWidth(self.itemLabelTextBrowser_40.sizePolicy().hasHeightForWidth())777 self.itemLabelTextBrowser_40.setSizePolicy(sizePolicy)778 self.itemLabelTextBrowser_40.setMinimumSize(QtCore.QSize(161, 31))779 self.itemLabelTextBrowser_40.setMaximumSize(QtCore.QSize(161, 31))780 self.itemLabelTextBrowser_40.setObjectName(_fromUtf8("itemLabelTextBrowser_40"))781 self.verticalLayout_6.addWidget(self.itemLabelTextBrowser_40)782 self.horizontalLayout_3.addLayout(self.verticalLayout_6)783 self.verticalLayout_7 = QtGui.QVBoxLayout()784 self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))785 self.itemValueTextBrowser_21 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)786 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)787 sizePolicy.setHorizontalStretch(0)788 sizePolicy.setVerticalStretch(0)789 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_21.sizePolicy().hasHeightForWidth())790 self.itemValueTextBrowser_21.setSizePolicy(sizePolicy)791 self.itemValueTextBrowser_21.setMinimumSize(QtCore.QSize(151, 31))792 self.itemValueTextBrowser_21.setMaximumSize(QtCore.QSize(151, 31))793 self.itemValueTextBrowser_21.setObjectName(_fromUtf8("itemValueTextBrowser_21"))794 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_21)795 self.itemValueTextBrowser_22 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)796 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)797 sizePolicy.setHorizontalStretch(0)798 sizePolicy.setVerticalStretch(0)799 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_22.sizePolicy().hasHeightForWidth())800 self.itemValueTextBrowser_22.setSizePolicy(sizePolicy)801 self.itemValueTextBrowser_22.setMinimumSize(QtCore.QSize(151, 31))802 self.itemValueTextBrowser_22.setMaximumSize(QtCore.QSize(151, 31))803 self.itemValueTextBrowser_22.setObjectName(_fromUtf8("itemValueTextBrowser_22"))804 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_22)805 self.itemValueTextBrowser_23 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)806 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)807 sizePolicy.setHorizontalStretch(0)808 sizePolicy.setVerticalStretch(0)809 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_23.sizePolicy().hasHeightForWidth())810 self.itemValueTextBrowser_23.setSizePolicy(sizePolicy)811 self.itemValueTextBrowser_23.setMinimumSize(QtCore.QSize(151, 31))812 self.itemValueTextBrowser_23.setMaximumSize(QtCore.QSize(151, 31))813 self.itemValueTextBrowser_23.setObjectName(_fromUtf8("itemValueTextBrowser_23"))814 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_23)815 self.itemValueTextBrowser_24 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)816 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)817 sizePolicy.setHorizontalStretch(0)818 sizePolicy.setVerticalStretch(0)819 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_24.sizePolicy().hasHeightForWidth())820 self.itemValueTextBrowser_24.setSizePolicy(sizePolicy)821 self.itemValueTextBrowser_24.setMinimumSize(QtCore.QSize(151, 31))822 self.itemValueTextBrowser_24.setMaximumSize(QtCore.QSize(151, 31))823 self.itemValueTextBrowser_24.setObjectName(_fromUtf8("itemValueTextBrowser_24"))824 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_24)825 self.itemValueTextBrowser_25 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)826 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)827 sizePolicy.setHorizontalStretch(0)828 sizePolicy.setVerticalStretch(0)829 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_25.sizePolicy().hasHeightForWidth())830 self.itemValueTextBrowser_25.setSizePolicy(sizePolicy)831 self.itemValueTextBrowser_25.setMinimumSize(QtCore.QSize(151, 31))832 self.itemValueTextBrowser_25.setMaximumSize(QtCore.QSize(151, 31))833 self.itemValueTextBrowser_25.setObjectName(_fromUtf8("itemValueTextBrowser_25"))834 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_25)835 self.itemValueTextBrowser_26 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)836 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)837 sizePolicy.setHorizontalStretch(0)838 sizePolicy.setVerticalStretch(0)839 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_26.sizePolicy().hasHeightForWidth())840 self.itemValueTextBrowser_26.setSizePolicy(sizePolicy)841 self.itemValueTextBrowser_26.setMinimumSize(QtCore.QSize(151, 31))842 self.itemValueTextBrowser_26.setMaximumSize(QtCore.QSize(151, 31))843 self.itemValueTextBrowser_26.setObjectName(_fromUtf8("itemValueTextBrowser_26"))844 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_26)845 self.itemValueTextBrowser_27 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)846 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)847 sizePolicy.setHorizontalStretch(0)848 sizePolicy.setVerticalStretch(0)849 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_27.sizePolicy().hasHeightForWidth())850 self.itemValueTextBrowser_27.setSizePolicy(sizePolicy)851 self.itemValueTextBrowser_27.setMinimumSize(QtCore.QSize(151, 31))852 self.itemValueTextBrowser_27.setMaximumSize(QtCore.QSize(151, 31))853 self.itemValueTextBrowser_27.setObjectName(_fromUtf8("itemValueTextBrowser_27"))854 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_27)855 self.itemValueTextBrowser_28 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)856 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)857 sizePolicy.setHorizontalStretch(0)858 sizePolicy.setVerticalStretch(0)859 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_28.sizePolicy().hasHeightForWidth())860 self.itemValueTextBrowser_28.setSizePolicy(sizePolicy)861 self.itemValueTextBrowser_28.setMinimumSize(QtCore.QSize(151, 31))862 self.itemValueTextBrowser_28.setMaximumSize(QtCore.QSize(151, 31))863 self.itemValueTextBrowser_28.setObjectName(_fromUtf8("itemValueTextBrowser_28"))864 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_28)865 self.itemValueTextBrowser_29 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)866 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)867 sizePolicy.setHorizontalStretch(0)868 sizePolicy.setVerticalStretch(0)869 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_29.sizePolicy().hasHeightForWidth())870 self.itemValueTextBrowser_29.setSizePolicy(sizePolicy)871 self.itemValueTextBrowser_29.setMinimumSize(QtCore.QSize(151, 31))872 self.itemValueTextBrowser_29.setMaximumSize(QtCore.QSize(151, 31))873 self.itemValueTextBrowser_29.setObjectName(_fromUtf8("itemValueTextBrowser_29"))874 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_29)875 self.itemValueTextBrowser_30 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)876 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)877 sizePolicy.setHorizontalStretch(0)878 sizePolicy.setVerticalStretch(0)879 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_30.sizePolicy().hasHeightForWidth())880 self.itemValueTextBrowser_30.setSizePolicy(sizePolicy)881 self.itemValueTextBrowser_30.setMinimumSize(QtCore.QSize(151, 31))882 self.itemValueTextBrowser_30.setMaximumSize(QtCore.QSize(151, 31))883 self.itemValueTextBrowser_30.setObjectName(_fromUtf8("itemValueTextBrowser_30"))884 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_30)885 self.itemValueTextBrowser_31 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)886 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)887 sizePolicy.setHorizontalStretch(0)888 sizePolicy.setVerticalStretch(0)889 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_31.sizePolicy().hasHeightForWidth())890 self.itemValueTextBrowser_31.setSizePolicy(sizePolicy)891 self.itemValueTextBrowser_31.setMinimumSize(QtCore.QSize(151, 31))892 self.itemValueTextBrowser_31.setMaximumSize(QtCore.QSize(151, 31))893 self.itemValueTextBrowser_31.setObjectName(_fromUtf8("itemValueTextBrowser_31"))894 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_31)895 self.itemValueTextBrowser_32 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)896 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)897 sizePolicy.setHorizontalStretch(0)898 sizePolicy.setVerticalStretch(0)899 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_32.sizePolicy().hasHeightForWidth())900 self.itemValueTextBrowser_32.setSizePolicy(sizePolicy)901 self.itemValueTextBrowser_32.setMinimumSize(QtCore.QSize(151, 31))902 self.itemValueTextBrowser_32.setMaximumSize(QtCore.QSize(151, 31))903 self.itemValueTextBrowser_32.setObjectName(_fromUtf8("itemValueTextBrowser_32"))904 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_32)905 self.itemValueTextBrowser_33 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)906 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)907 sizePolicy.setHorizontalStretch(0)908 sizePolicy.setVerticalStretch(0)909 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_33.sizePolicy().hasHeightForWidth())910 self.itemValueTextBrowser_33.setSizePolicy(sizePolicy)911 self.itemValueTextBrowser_33.setMinimumSize(QtCore.QSize(151, 31))912 self.itemValueTextBrowser_33.setMaximumSize(QtCore.QSize(151, 31))913 self.itemValueTextBrowser_33.setObjectName(_fromUtf8("itemValueTextBrowser_33"))914 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_33)915 self.itemValueTextBrowser_34 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)916 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)917 sizePolicy.setHorizontalStretch(0)918 sizePolicy.setVerticalStretch(0)919 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_34.sizePolicy().hasHeightForWidth())920 self.itemValueTextBrowser_34.setSizePolicy(sizePolicy)921 self.itemValueTextBrowser_34.setMinimumSize(QtCore.QSize(151, 31))922 self.itemValueTextBrowser_34.setMaximumSize(QtCore.QSize(151, 31))923 self.itemValueTextBrowser_34.setObjectName(_fromUtf8("itemValueTextBrowser_34"))924 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_34)925 self.itemValueTextBrowser_35 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)926 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)927 sizePolicy.setHorizontalStretch(0)928 sizePolicy.setVerticalStretch(0)929 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_35.sizePolicy().hasHeightForWidth())930 self.itemValueTextBrowser_35.setSizePolicy(sizePolicy)931 self.itemValueTextBrowser_35.setMinimumSize(QtCore.QSize(151, 31))932 self.itemValueTextBrowser_35.setMaximumSize(QtCore.QSize(151, 31))933 self.itemValueTextBrowser_35.setObjectName(_fromUtf8("itemValueTextBrowser_35"))934 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_35)935 self.itemValueTextBrowser_36 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)936 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)937 sizePolicy.setHorizontalStretch(0)938 sizePolicy.setVerticalStretch(0)939 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_36.sizePolicy().hasHeightForWidth())940 self.itemValueTextBrowser_36.setSizePolicy(sizePolicy)941 self.itemValueTextBrowser_36.setMinimumSize(QtCore.QSize(151, 31))942 self.itemValueTextBrowser_36.setMaximumSize(QtCore.QSize(151, 31))943 self.itemValueTextBrowser_36.setObjectName(_fromUtf8("itemValueTextBrowser_36"))944 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_36)945 self.itemValueTextBrowser_37 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)946 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)947 sizePolicy.setHorizontalStretch(0)948 sizePolicy.setVerticalStretch(0)949 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_37.sizePolicy().hasHeightForWidth())950 self.itemValueTextBrowser_37.setSizePolicy(sizePolicy)951 self.itemValueTextBrowser_37.setMinimumSize(QtCore.QSize(151, 31))952 self.itemValueTextBrowser_37.setMaximumSize(QtCore.QSize(151, 31))953 self.itemValueTextBrowser_37.setObjectName(_fromUtf8("itemValueTextBrowser_37"))954 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_37)955 self.itemValueTextBrowser_38 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)956 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)957 sizePolicy.setHorizontalStretch(0)958 sizePolicy.setVerticalStretch(0)959 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_38.sizePolicy().hasHeightForWidth())960 self.itemValueTextBrowser_38.setSizePolicy(sizePolicy)961 self.itemValueTextBrowser_38.setMinimumSize(QtCore.QSize(151, 31))962 self.itemValueTextBrowser_38.setMaximumSize(QtCore.QSize(151, 31))963 self.itemValueTextBrowser_38.setObjectName(_fromUtf8("itemValueTextBrowser_38"))964 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_38)965 self.itemValueTextBrowser_39 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)966 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)967 sizePolicy.setHorizontalStretch(0)968 sizePolicy.setVerticalStretch(0)969 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_39.sizePolicy().hasHeightForWidth())970 self.itemValueTextBrowser_39.setSizePolicy(sizePolicy)971 self.itemValueTextBrowser_39.setMinimumSize(QtCore.QSize(151, 31))972 self.itemValueTextBrowser_39.setMaximumSize(QtCore.QSize(151, 31))973 self.itemValueTextBrowser_39.setObjectName(_fromUtf8("itemValueTextBrowser_39"))974 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_39)975 self.itemValueTextBrowser_40 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)976 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)977 sizePolicy.setHorizontalStretch(0)978 sizePolicy.setVerticalStretch(0)979 sizePolicy.setHeightForWidth(self.itemValueTextBrowser_40.sizePolicy().hasHeightForWidth())980 self.itemValueTextBrowser_40.setSizePolicy(sizePolicy)981 self.itemValueTextBrowser_40.setMinimumSize(QtCore.QSize(151, 31))982 self.itemValueTextBrowser_40.setMaximumSize(QtCore.QSize(151, 31))983 self.itemValueTextBrowser_40.setObjectName(_fromUtf8("itemValueTextBrowser_40"))984 self.verticalLayout_7.addWidget(self.itemValueTextBrowser_40)985 self.horizontalLayout_3.addLayout(self.verticalLayout_7)986 self.scrollArea.setWidget(self.scrollAreaWidgetContents)987 self.verticalLayout_8.addWidget(self.scrollArea)988 self.label_6 = QtGui.QLabel(GenericTelemetryDialog)989 font = QtGui.QFont()990 font.setPointSize(12)991 self.label_6.setFont(font)992 self.label_6.setObjectName(_fromUtf8("label_6"))993 self.verticalLayout_8.addWidget(self.label_6)994 self.retranslateUi(GenericTelemetryDialog)995 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), GenericTelemetryDialog.accept)996 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), GenericTelemetryDialog.reject)997 QtCore.QMetaObject.connectSlotsByName(GenericTelemetryDialog)998 def retranslateUi(self, GenericTelemetryDialog):999 GenericTelemetryDialog.setWindowTitle(_translate("GenericTelemetryDialog", "Telemetry Page", None))1000 self.subSystemTelemetryPageLabel.setText(_translate("GenericTelemetryDialog", "Subsystem Telemetry Page", None))1001 self.packetIdLabel.setText(_translate("GenericTelemetryDialog", "Packet ID", None))1002 self.label_5.setText(_translate("GenericTelemetryDialog", "Sequence Count", None))1003 self.label.setText(_translate("GenericTelemetryDialog", "Telemetry Point Label", None))1004 self.label_2.setText(_translate("GenericTelemetryDialog", "Telemetry Point Value", None))1005 self.label_4.setText(_translate("GenericTelemetryDialog", "Telemetry Point Label", None))1006 self.label_3.setText(_translate("GenericTelemetryDialog", "Telemetry Point Value", None))1007 self.label_6.setText(_translate("GenericTelemetryDialog", "*No packets? Remember to select the IP address of your spacecraft in the Main Window.", None))1008if __name__ == "__main__":1009 import sys1010 app = QtGui.QApplication(sys.argv)1011 GenericTelemetryDialog = QtGui.QDialog()1012 ui = Ui_GenericTelemetryDialog()1013 ui.setupUi(GenericTelemetryDialog)1014 GenericTelemetryDialog.show()...

Full Screen

Full Screen

TelemetrySystemDialog.py

Source:TelemetrySystemDialog.py Github

copy

Full Screen

1# -*- coding: utf-8 -*-2# Form implementation generated from reading ui file 'TelemetrySystemDialog.ui'3#4# Created: Wed Mar 25 14:24:26 20155# by: PyQt4 UI code generator 4.11.36#7# WARNING! All changes made in this file will be lost!8from PyQt4 import QtCore, QtGui9try:10 _fromUtf8 = QtCore.QString.fromUtf811except AttributeError:12 def _fromUtf8(s):13 return s14try:15 _encoding = QtGui.QApplication.UnicodeUTF816 def _translate(context, text, disambig):17 return QtGui.QApplication.translate(context, text, disambig, _encoding)18except AttributeError:19 def _translate(context, text, disambig):20 return QtGui.QApplication.translate(context, text, disambig)21class Ui_TelemetrySystemDialog(object):22 def setupUi(self, TelemetrySystemDialog):23 TelemetrySystemDialog.setObjectName(_fromUtf8("TelemetrySystemDialog"))24 TelemetrySystemDialog.resize(515, 600)25 self.verticalLayout = QtGui.QVBoxLayout(TelemetrySystemDialog)26 self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))27 self.horizontalLayout = QtGui.QHBoxLayout()28 self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))29 spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)30 self.horizontalLayout.addItem(spacerItem)31 self.label = QtGui.QLabel(TelemetrySystemDialog)32 self.label.setObjectName(_fromUtf8("label"))33 self.horizontalLayout.addWidget(self.label)34 spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)35 self.horizontalLayout.addItem(spacerItem1)36 self.verticalLayout.addLayout(self.horizontalLayout)37 self.horizontalLayout_3 = QtGui.QHBoxLayout()38 self.horizontalLayout_3.setSizeConstraint(QtGui.QLayout.SetNoConstraint)39 self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))40 spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)41 self.horizontalLayout_3.addItem(spacerItem2)42 spacerItem3 = QtGui.QSpacerItem(80, 32, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)43 self.horizontalLayout_3.addItem(spacerItem3)44 self.horizontalLayout_2 = QtGui.QHBoxLayout()45 self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))46 spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)47 self.horizontalLayout_2.addItem(spacerItem4)48 self.label_6 = QtGui.QLabel(TelemetrySystemDialog)49 self.label_6.setObjectName(_fromUtf8("label_6"))50 self.horizontalLayout_2.addWidget(self.label_6)51 self.sequenceCount = QtGui.QTextBrowser(TelemetrySystemDialog)52 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)53 sizePolicy.setHorizontalStretch(0)54 sizePolicy.setVerticalStretch(0)55 sizePolicy.setHeightForWidth(self.sequenceCount.sizePolicy().hasHeightForWidth())56 self.sequenceCount.setSizePolicy(sizePolicy)57 self.sequenceCount.setMinimumSize(QtCore.QSize(130, 30))58 self.sequenceCount.setMaximumSize(QtCore.QSize(130, 30))59 self.sequenceCount.setObjectName(_fromUtf8("sequenceCount"))60 self.horizontalLayout_2.addWidget(self.sequenceCount)61 spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)62 self.horizontalLayout_2.addItem(spacerItem5)63 self.horizontalLayout_3.addLayout(self.horizontalLayout_2)64 spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)65 self.horizontalLayout_3.addItem(spacerItem6)66 self.buttonBox = QtGui.QDialogButtonBox(TelemetrySystemDialog)67 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)68 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)69 self.buttonBox.setObjectName(_fromUtf8("buttonBox"))70 self.horizontalLayout_3.addWidget(self.buttonBox)71 self.verticalLayout.addLayout(self.horizontalLayout_3)72 self.horizontalLayout_4 = QtGui.QHBoxLayout()73 self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))74 spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)75 self.horizontalLayout_4.addItem(spacerItem7)76 self.label_2 = QtGui.QLabel(TelemetrySystemDialog)77 self.label_2.setObjectName(_fromUtf8("label_2"))78 self.horizontalLayout_4.addWidget(self.label_2)79 spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)80 self.horizontalLayout_4.addItem(spacerItem8)81 self.verticalLayout.addLayout(self.horizontalLayout_4)82 self.scrollArea = QtGui.QScrollArea(TelemetrySystemDialog)83 self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))84 self.scrollArea.setBaseSize(QtCore.QSize(0, 800))85 self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)86 self.scrollArea.setWidgetResizable(True)87 self.scrollArea.setObjectName(_fromUtf8("scrollArea"))88 self.scrollAreaWidgetContents = QtGui.QWidget()89 self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 474, 1000))90 self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(0, 1000))91 self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))92 self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)93 self.verticalLayout_2.setSpacing(0)94 self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))95 self.horizontalLayout_5 = QtGui.QHBoxLayout()96 self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))97 self.label_3 = QtGui.QLabel(self.scrollAreaWidgetContents)98 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)99 sizePolicy.setHorizontalStretch(0)100 sizePolicy.setVerticalStretch(0)101 sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())102 self.label_3.setSizePolicy(sizePolicy)103 self.label_3.setMinimumSize(QtCore.QSize(141, 31))104 self.label_3.setMaximumSize(QtCore.QSize(141, 31))105 self.label_3.setObjectName(_fromUtf8("label_3"))106 self.horizontalLayout_5.addWidget(self.label_3)107 self.label_4 = QtGui.QLabel(self.scrollAreaWidgetContents)108 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)109 sizePolicy.setHorizontalStretch(0)110 sizePolicy.setVerticalStretch(0)111 sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())112 self.label_4.setSizePolicy(sizePolicy)113 self.label_4.setMinimumSize(QtCore.QSize(81, 31))114 self.label_4.setMaximumSize(QtCore.QSize(81, 31))115 self.label_4.setObjectName(_fromUtf8("label_4"))116 self.horizontalLayout_5.addWidget(self.label_4)117 self.label_5 = QtGui.QLabel(self.scrollAreaWidgetContents)118 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)119 sizePolicy.setHorizontalStretch(0)120 sizePolicy.setVerticalStretch(0)121 sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())122 self.label_5.setSizePolicy(sizePolicy)123 self.label_5.setMinimumSize(QtCore.QSize(91, 31))124 self.label_5.setMaximumSize(QtCore.QSize(91, 31))125 self.label_5.setObjectName(_fromUtf8("label_5"))126 self.horizontalLayout_5.addWidget(self.label_5)127 spacerItem9 = QtGui.QSpacerItem(101, 27, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)128 self.horizontalLayout_5.addItem(spacerItem9)129 self.verticalLayout_2.addLayout(self.horizontalLayout_5)130 self.horizontalLayout_6 = QtGui.QHBoxLayout()131 self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))132 self.SubsysBrowser_0 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)133 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)134 sizePolicy.setHorizontalStretch(0)135 sizePolicy.setVerticalStretch(0)136 sizePolicy.setHeightForWidth(self.SubsysBrowser_0.sizePolicy().hasHeightForWidth())137 self.SubsysBrowser_0.setSizePolicy(sizePolicy)138 self.SubsysBrowser_0.setMinimumSize(QtCore.QSize(141, 31))139 self.SubsysBrowser_0.setMaximumSize(QtCore.QSize(141, 31))140 self.SubsysBrowser_0.setObjectName(_fromUtf8("SubsysBrowser_0"))141 self.horizontalLayout_6.addWidget(self.SubsysBrowser_0)142 self.pktidBrowser_0 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)143 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)144 sizePolicy.setHorizontalStretch(0)145 sizePolicy.setVerticalStretch(0)146 sizePolicy.setHeightForWidth(self.pktidBrowser_0.sizePolicy().hasHeightForWidth())147 self.pktidBrowser_0.setSizePolicy(sizePolicy)148 self.pktidBrowser_0.setMinimumSize(QtCore.QSize(81, 31))149 self.pktidBrowser_0.setMaximumSize(QtCore.QSize(81, 31))150 self.pktidBrowser_0.setObjectName(_fromUtf8("pktidBrowser_0"))151 self.horizontalLayout_6.addWidget(self.pktidBrowser_0)152 self.countBrowser_0 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)153 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)154 sizePolicy.setHorizontalStretch(0)155 sizePolicy.setVerticalStretch(0)156 sizePolicy.setHeightForWidth(self.countBrowser_0.sizePolicy().hasHeightForWidth())157 self.countBrowser_0.setSizePolicy(sizePolicy)158 self.countBrowser_0.setMinimumSize(QtCore.QSize(91, 31))159 self.countBrowser_0.setMaximumSize(QtCore.QSize(91, 31))160 self.countBrowser_0.setObjectName(_fromUtf8("countBrowser_0"))161 self.horizontalLayout_6.addWidget(self.countBrowser_0)162 self.pushButton_0 = QtGui.QPushButton(self.scrollAreaWidgetContents)163 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)164 sizePolicy.setHorizontalStretch(0)165 sizePolicy.setVerticalStretch(0)166 sizePolicy.setHeightForWidth(self.pushButton_0.sizePolicy().hasHeightForWidth())167 self.pushButton_0.setSizePolicy(sizePolicy)168 self.pushButton_0.setMinimumSize(QtCore.QSize(101, 27))169 self.pushButton_0.setMaximumSize(QtCore.QSize(101, 27))170 self.pushButton_0.setObjectName(_fromUtf8("pushButton_0"))171 self.horizontalLayout_6.addWidget(self.pushButton_0)172 self.verticalLayout_2.addLayout(self.horizontalLayout_6)173 self.horizontalLayout_7 = QtGui.QHBoxLayout()174 self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))175 self.SubsysBrowser_1 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)176 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)177 sizePolicy.setHorizontalStretch(0)178 sizePolicy.setVerticalStretch(0)179 sizePolicy.setHeightForWidth(self.SubsysBrowser_1.sizePolicy().hasHeightForWidth())180 self.SubsysBrowser_1.setSizePolicy(sizePolicy)181 self.SubsysBrowser_1.setMinimumSize(QtCore.QSize(141, 31))182 self.SubsysBrowser_1.setMaximumSize(QtCore.QSize(141, 31))183 self.SubsysBrowser_1.setObjectName(_fromUtf8("SubsysBrowser_1"))184 self.horizontalLayout_7.addWidget(self.SubsysBrowser_1)185 self.pktidBrowser_1 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)186 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)187 sizePolicy.setHorizontalStretch(0)188 sizePolicy.setVerticalStretch(0)189 sizePolicy.setHeightForWidth(self.pktidBrowser_1.sizePolicy().hasHeightForWidth())190 self.pktidBrowser_1.setSizePolicy(sizePolicy)191 self.pktidBrowser_1.setMinimumSize(QtCore.QSize(81, 31))192 self.pktidBrowser_1.setMaximumSize(QtCore.QSize(81, 31))193 self.pktidBrowser_1.setObjectName(_fromUtf8("pktidBrowser_1"))194 self.horizontalLayout_7.addWidget(self.pktidBrowser_1)195 self.countBrowser_1 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)196 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)197 sizePolicy.setHorizontalStretch(0)198 sizePolicy.setVerticalStretch(0)199 sizePolicy.setHeightForWidth(self.countBrowser_1.sizePolicy().hasHeightForWidth())200 self.countBrowser_1.setSizePolicy(sizePolicy)201 self.countBrowser_1.setMinimumSize(QtCore.QSize(91, 31))202 self.countBrowser_1.setMaximumSize(QtCore.QSize(91, 31))203 self.countBrowser_1.setObjectName(_fromUtf8("countBrowser_1"))204 self.horizontalLayout_7.addWidget(self.countBrowser_1)205 self.pushButton_1 = QtGui.QPushButton(self.scrollAreaWidgetContents)206 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)207 sizePolicy.setHorizontalStretch(0)208 sizePolicy.setVerticalStretch(0)209 sizePolicy.setHeightForWidth(self.pushButton_1.sizePolicy().hasHeightForWidth())210 self.pushButton_1.setSizePolicy(sizePolicy)211 self.pushButton_1.setMinimumSize(QtCore.QSize(101, 27))212 self.pushButton_1.setMaximumSize(QtCore.QSize(101, 27))213 self.pushButton_1.setObjectName(_fromUtf8("pushButton_1"))214 self.horizontalLayout_7.addWidget(self.pushButton_1)215 self.verticalLayout_2.addLayout(self.horizontalLayout_7)216 self.horizontalLayout_8 = QtGui.QHBoxLayout()217 self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))218 self.SubsysBrowser_2 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)219 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)220 sizePolicy.setHorizontalStretch(0)221 sizePolicy.setVerticalStretch(0)222 sizePolicy.setHeightForWidth(self.SubsysBrowser_2.sizePolicy().hasHeightForWidth())223 self.SubsysBrowser_2.setSizePolicy(sizePolicy)224 self.SubsysBrowser_2.setMinimumSize(QtCore.QSize(141, 31))225 self.SubsysBrowser_2.setMaximumSize(QtCore.QSize(141, 31))226 self.SubsysBrowser_2.setObjectName(_fromUtf8("SubsysBrowser_2"))227 self.horizontalLayout_8.addWidget(self.SubsysBrowser_2)228 self.pktidBrowser_2 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)229 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)230 sizePolicy.setHorizontalStretch(0)231 sizePolicy.setVerticalStretch(0)232 sizePolicy.setHeightForWidth(self.pktidBrowser_2.sizePolicy().hasHeightForWidth())233 self.pktidBrowser_2.setSizePolicy(sizePolicy)234 self.pktidBrowser_2.setMinimumSize(QtCore.QSize(81, 31))235 self.pktidBrowser_2.setMaximumSize(QtCore.QSize(81, 31))236 self.pktidBrowser_2.setObjectName(_fromUtf8("pktidBrowser_2"))237 self.horizontalLayout_8.addWidget(self.pktidBrowser_2)238 self.countBrowser_2 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)239 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)240 sizePolicy.setHorizontalStretch(0)241 sizePolicy.setVerticalStretch(0)242 sizePolicy.setHeightForWidth(self.countBrowser_2.sizePolicy().hasHeightForWidth())243 self.countBrowser_2.setSizePolicy(sizePolicy)244 self.countBrowser_2.setMinimumSize(QtCore.QSize(91, 31))245 self.countBrowser_2.setMaximumSize(QtCore.QSize(91, 31))246 self.countBrowser_2.setObjectName(_fromUtf8("countBrowser_2"))247 self.horizontalLayout_8.addWidget(self.countBrowser_2)248 self.pushButton_2 = QtGui.QPushButton(self.scrollAreaWidgetContents)249 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)250 sizePolicy.setHorizontalStretch(0)251 sizePolicy.setVerticalStretch(0)252 sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth())253 self.pushButton_2.setSizePolicy(sizePolicy)254 self.pushButton_2.setMinimumSize(QtCore.QSize(101, 27))255 self.pushButton_2.setMaximumSize(QtCore.QSize(101, 27))256 self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))257 self.horizontalLayout_8.addWidget(self.pushButton_2)258 self.verticalLayout_2.addLayout(self.horizontalLayout_8)259 self.horizontalLayout_9 = QtGui.QHBoxLayout()260 self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))261 self.SubsysBrowser_3 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)262 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)263 sizePolicy.setHorizontalStretch(0)264 sizePolicy.setVerticalStretch(0)265 sizePolicy.setHeightForWidth(self.SubsysBrowser_3.sizePolicy().hasHeightForWidth())266 self.SubsysBrowser_3.setSizePolicy(sizePolicy)267 self.SubsysBrowser_3.setMinimumSize(QtCore.QSize(141, 31))268 self.SubsysBrowser_3.setMaximumSize(QtCore.QSize(141, 31))269 self.SubsysBrowser_3.setObjectName(_fromUtf8("SubsysBrowser_3"))270 self.horizontalLayout_9.addWidget(self.SubsysBrowser_3)271 self.pktidBrowser_3 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)272 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)273 sizePolicy.setHorizontalStretch(0)274 sizePolicy.setVerticalStretch(0)275 sizePolicy.setHeightForWidth(self.pktidBrowser_3.sizePolicy().hasHeightForWidth())276 self.pktidBrowser_3.setSizePolicy(sizePolicy)277 self.pktidBrowser_3.setMinimumSize(QtCore.QSize(81, 31))278 self.pktidBrowser_3.setMaximumSize(QtCore.QSize(81, 31))279 self.pktidBrowser_3.setObjectName(_fromUtf8("pktidBrowser_3"))280 self.horizontalLayout_9.addWidget(self.pktidBrowser_3)281 self.countBrowser_3 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)282 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)283 sizePolicy.setHorizontalStretch(0)284 sizePolicy.setVerticalStretch(0)285 sizePolicy.setHeightForWidth(self.countBrowser_3.sizePolicy().hasHeightForWidth())286 self.countBrowser_3.setSizePolicy(sizePolicy)287 self.countBrowser_3.setMinimumSize(QtCore.QSize(91, 31))288 self.countBrowser_3.setMaximumSize(QtCore.QSize(91, 31))289 self.countBrowser_3.setObjectName(_fromUtf8("countBrowser_3"))290 self.horizontalLayout_9.addWidget(self.countBrowser_3)291 self.pushButton_3 = QtGui.QPushButton(self.scrollAreaWidgetContents)292 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)293 sizePolicy.setHorizontalStretch(0)294 sizePolicy.setVerticalStretch(0)295 sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())296 self.pushButton_3.setSizePolicy(sizePolicy)297 self.pushButton_3.setMinimumSize(QtCore.QSize(101, 27))298 self.pushButton_3.setMaximumSize(QtCore.QSize(101, 27))299 self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))300 self.horizontalLayout_9.addWidget(self.pushButton_3)301 self.verticalLayout_2.addLayout(self.horizontalLayout_9)302 self.horizontalLayout_10 = QtGui.QHBoxLayout()303 self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))304 self.SubsysBrowser_4 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)305 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)306 sizePolicy.setHorizontalStretch(0)307 sizePolicy.setVerticalStretch(0)308 sizePolicy.setHeightForWidth(self.SubsysBrowser_4.sizePolicy().hasHeightForWidth())309 self.SubsysBrowser_4.setSizePolicy(sizePolicy)310 self.SubsysBrowser_4.setMinimumSize(QtCore.QSize(141, 31))311 self.SubsysBrowser_4.setMaximumSize(QtCore.QSize(141, 31))312 self.SubsysBrowser_4.setObjectName(_fromUtf8("SubsysBrowser_4"))313 self.horizontalLayout_10.addWidget(self.SubsysBrowser_4)314 self.pktidBrowser_4 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)315 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)316 sizePolicy.setHorizontalStretch(0)317 sizePolicy.setVerticalStretch(0)318 sizePolicy.setHeightForWidth(self.pktidBrowser_4.sizePolicy().hasHeightForWidth())319 self.pktidBrowser_4.setSizePolicy(sizePolicy)320 self.pktidBrowser_4.setMinimumSize(QtCore.QSize(81, 31))321 self.pktidBrowser_4.setMaximumSize(QtCore.QSize(81, 31))322 self.pktidBrowser_4.setObjectName(_fromUtf8("pktidBrowser_4"))323 self.horizontalLayout_10.addWidget(self.pktidBrowser_4)324 self.countBrowser_4 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)325 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)326 sizePolicy.setHorizontalStretch(0)327 sizePolicy.setVerticalStretch(0)328 sizePolicy.setHeightForWidth(self.countBrowser_4.sizePolicy().hasHeightForWidth())329 self.countBrowser_4.setSizePolicy(sizePolicy)330 self.countBrowser_4.setMinimumSize(QtCore.QSize(91, 31))331 self.countBrowser_4.setMaximumSize(QtCore.QSize(91, 31))332 self.countBrowser_4.setObjectName(_fromUtf8("countBrowser_4"))333 self.horizontalLayout_10.addWidget(self.countBrowser_4)334 self.pushButton_4 = QtGui.QPushButton(self.scrollAreaWidgetContents)335 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)336 sizePolicy.setHorizontalStretch(0)337 sizePolicy.setVerticalStretch(0)338 sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth())339 self.pushButton_4.setSizePolicy(sizePolicy)340 self.pushButton_4.setMinimumSize(QtCore.QSize(101, 27))341 self.pushButton_4.setMaximumSize(QtCore.QSize(101, 27))342 self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))343 self.horizontalLayout_10.addWidget(self.pushButton_4)344 self.verticalLayout_2.addLayout(self.horizontalLayout_10)345 self.horizontalLayout_11 = QtGui.QHBoxLayout()346 self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))347 self.SubsysBrowser_5 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)348 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)349 sizePolicy.setHorizontalStretch(0)350 sizePolicy.setVerticalStretch(0)351 sizePolicy.setHeightForWidth(self.SubsysBrowser_5.sizePolicy().hasHeightForWidth())352 self.SubsysBrowser_5.setSizePolicy(sizePolicy)353 self.SubsysBrowser_5.setMinimumSize(QtCore.QSize(141, 31))354 self.SubsysBrowser_5.setMaximumSize(QtCore.QSize(141, 31))355 self.SubsysBrowser_5.setObjectName(_fromUtf8("SubsysBrowser_5"))356 self.horizontalLayout_11.addWidget(self.SubsysBrowser_5)357 self.pktidBrowser_5 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)358 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)359 sizePolicy.setHorizontalStretch(0)360 sizePolicy.setVerticalStretch(0)361 sizePolicy.setHeightForWidth(self.pktidBrowser_5.sizePolicy().hasHeightForWidth())362 self.pktidBrowser_5.setSizePolicy(sizePolicy)363 self.pktidBrowser_5.setMinimumSize(QtCore.QSize(81, 31))364 self.pktidBrowser_5.setMaximumSize(QtCore.QSize(81, 31))365 self.pktidBrowser_5.setObjectName(_fromUtf8("pktidBrowser_5"))366 self.horizontalLayout_11.addWidget(self.pktidBrowser_5)367 self.countBrowser_5 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)368 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)369 sizePolicy.setHorizontalStretch(0)370 sizePolicy.setVerticalStretch(0)371 sizePolicy.setHeightForWidth(self.countBrowser_5.sizePolicy().hasHeightForWidth())372 self.countBrowser_5.setSizePolicy(sizePolicy)373 self.countBrowser_5.setMinimumSize(QtCore.QSize(91, 31))374 self.countBrowser_5.setMaximumSize(QtCore.QSize(91, 31))375 self.countBrowser_5.setObjectName(_fromUtf8("countBrowser_5"))376 self.horizontalLayout_11.addWidget(self.countBrowser_5)377 self.pushButton_5 = QtGui.QPushButton(self.scrollAreaWidgetContents)378 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)379 sizePolicy.setHorizontalStretch(0)380 sizePolicy.setVerticalStretch(0)381 sizePolicy.setHeightForWidth(self.pushButton_5.sizePolicy().hasHeightForWidth())382 self.pushButton_5.setSizePolicy(sizePolicy)383 self.pushButton_5.setMinimumSize(QtCore.QSize(101, 27))384 self.pushButton_5.setMaximumSize(QtCore.QSize(101, 27))385 self.pushButton_5.setObjectName(_fromUtf8("pushButton_5"))386 self.horizontalLayout_11.addWidget(self.pushButton_5)387 self.verticalLayout_2.addLayout(self.horizontalLayout_11)388 self.horizontalLayout_12 = QtGui.QHBoxLayout()389 self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12"))390 self.SubsysBrowser_6 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)391 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)392 sizePolicy.setHorizontalStretch(0)393 sizePolicy.setVerticalStretch(0)394 sizePolicy.setHeightForWidth(self.SubsysBrowser_6.sizePolicy().hasHeightForWidth())395 self.SubsysBrowser_6.setSizePolicy(sizePolicy)396 self.SubsysBrowser_6.setMinimumSize(QtCore.QSize(141, 31))397 self.SubsysBrowser_6.setMaximumSize(QtCore.QSize(141, 31))398 self.SubsysBrowser_6.setObjectName(_fromUtf8("SubsysBrowser_6"))399 self.horizontalLayout_12.addWidget(self.SubsysBrowser_6)400 self.pktidBrowser_6 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)401 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)402 sizePolicy.setHorizontalStretch(0)403 sizePolicy.setVerticalStretch(0)404 sizePolicy.setHeightForWidth(self.pktidBrowser_6.sizePolicy().hasHeightForWidth())405 self.pktidBrowser_6.setSizePolicy(sizePolicy)406 self.pktidBrowser_6.setMinimumSize(QtCore.QSize(81, 31))407 self.pktidBrowser_6.setMaximumSize(QtCore.QSize(81, 31))408 self.pktidBrowser_6.setObjectName(_fromUtf8("pktidBrowser_6"))409 self.horizontalLayout_12.addWidget(self.pktidBrowser_6)410 self.countBrowser_6 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)411 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)412 sizePolicy.setHorizontalStretch(0)413 sizePolicy.setVerticalStretch(0)414 sizePolicy.setHeightForWidth(self.countBrowser_6.sizePolicy().hasHeightForWidth())415 self.countBrowser_6.setSizePolicy(sizePolicy)416 self.countBrowser_6.setMinimumSize(QtCore.QSize(91, 31))417 self.countBrowser_6.setMaximumSize(QtCore.QSize(91, 31))418 self.countBrowser_6.setObjectName(_fromUtf8("countBrowser_6"))419 self.horizontalLayout_12.addWidget(self.countBrowser_6)420 self.pushButton_6 = QtGui.QPushButton(self.scrollAreaWidgetContents)421 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)422 sizePolicy.setHorizontalStretch(0)423 sizePolicy.setVerticalStretch(0)424 sizePolicy.setHeightForWidth(self.pushButton_6.sizePolicy().hasHeightForWidth())425 self.pushButton_6.setSizePolicy(sizePolicy)426 self.pushButton_6.setMinimumSize(QtCore.QSize(101, 27))427 self.pushButton_6.setMaximumSize(QtCore.QSize(101, 27))428 self.pushButton_6.setObjectName(_fromUtf8("pushButton_6"))429 self.horizontalLayout_12.addWidget(self.pushButton_6)430 self.verticalLayout_2.addLayout(self.horizontalLayout_12)431 self.horizontalLayout_13 = QtGui.QHBoxLayout()432 self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13"))433 self.SubsysBrowser_7 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)434 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)435 sizePolicy.setHorizontalStretch(0)436 sizePolicy.setVerticalStretch(0)437 sizePolicy.setHeightForWidth(self.SubsysBrowser_7.sizePolicy().hasHeightForWidth())438 self.SubsysBrowser_7.setSizePolicy(sizePolicy)439 self.SubsysBrowser_7.setMinimumSize(QtCore.QSize(141, 31))440 self.SubsysBrowser_7.setMaximumSize(QtCore.QSize(141, 31))441 self.SubsysBrowser_7.setObjectName(_fromUtf8("SubsysBrowser_7"))442 self.horizontalLayout_13.addWidget(self.SubsysBrowser_7)443 self.pktidBrowser_7 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)444 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)445 sizePolicy.setHorizontalStretch(0)446 sizePolicy.setVerticalStretch(0)447 sizePolicy.setHeightForWidth(self.pktidBrowser_7.sizePolicy().hasHeightForWidth())448 self.pktidBrowser_7.setSizePolicy(sizePolicy)449 self.pktidBrowser_7.setMinimumSize(QtCore.QSize(81, 31))450 self.pktidBrowser_7.setMaximumSize(QtCore.QSize(81, 31))451 self.pktidBrowser_7.setObjectName(_fromUtf8("pktidBrowser_7"))452 self.horizontalLayout_13.addWidget(self.pktidBrowser_7)453 self.countBrowser_7 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)454 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)455 sizePolicy.setHorizontalStretch(0)456 sizePolicy.setVerticalStretch(0)457 sizePolicy.setHeightForWidth(self.countBrowser_7.sizePolicy().hasHeightForWidth())458 self.countBrowser_7.setSizePolicy(sizePolicy)459 self.countBrowser_7.setMinimumSize(QtCore.QSize(91, 31))460 self.countBrowser_7.setMaximumSize(QtCore.QSize(91, 31))461 self.countBrowser_7.setObjectName(_fromUtf8("countBrowser_7"))462 self.horizontalLayout_13.addWidget(self.countBrowser_7)463 self.pushButton_7 = QtGui.QPushButton(self.scrollAreaWidgetContents)464 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)465 sizePolicy.setHorizontalStretch(0)466 sizePolicy.setVerticalStretch(0)467 sizePolicy.setHeightForWidth(self.pushButton_7.sizePolicy().hasHeightForWidth())468 self.pushButton_7.setSizePolicy(sizePolicy)469 self.pushButton_7.setMinimumSize(QtCore.QSize(101, 27))470 self.pushButton_7.setMaximumSize(QtCore.QSize(101, 27))471 self.pushButton_7.setObjectName(_fromUtf8("pushButton_7"))472 self.horizontalLayout_13.addWidget(self.pushButton_7)473 self.verticalLayout_2.addLayout(self.horizontalLayout_13)474 self.horizontalLayout_14 = QtGui.QHBoxLayout()475 self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14"))476 self.SubsysBrowser_8 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)477 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)478 sizePolicy.setHorizontalStretch(0)479 sizePolicy.setVerticalStretch(0)480 sizePolicy.setHeightForWidth(self.SubsysBrowser_8.sizePolicy().hasHeightForWidth())481 self.SubsysBrowser_8.setSizePolicy(sizePolicy)482 self.SubsysBrowser_8.setMinimumSize(QtCore.QSize(141, 31))483 self.SubsysBrowser_8.setMaximumSize(QtCore.QSize(141, 31))484 self.SubsysBrowser_8.setObjectName(_fromUtf8("SubsysBrowser_8"))485 self.horizontalLayout_14.addWidget(self.SubsysBrowser_8)486 self.pktidBrowser_8 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)487 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)488 sizePolicy.setHorizontalStretch(0)489 sizePolicy.setVerticalStretch(0)490 sizePolicy.setHeightForWidth(self.pktidBrowser_8.sizePolicy().hasHeightForWidth())491 self.pktidBrowser_8.setSizePolicy(sizePolicy)492 self.pktidBrowser_8.setMinimumSize(QtCore.QSize(81, 31))493 self.pktidBrowser_8.setMaximumSize(QtCore.QSize(81, 31))494 self.pktidBrowser_8.setObjectName(_fromUtf8("pktidBrowser_8"))495 self.horizontalLayout_14.addWidget(self.pktidBrowser_8)496 self.countBrowser_8 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)497 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)498 sizePolicy.setHorizontalStretch(0)499 sizePolicy.setVerticalStretch(0)500 sizePolicy.setHeightForWidth(self.countBrowser_8.sizePolicy().hasHeightForWidth())501 self.countBrowser_8.setSizePolicy(sizePolicy)502 self.countBrowser_8.setMinimumSize(QtCore.QSize(91, 31))503 self.countBrowser_8.setMaximumSize(QtCore.QSize(91, 31))504 self.countBrowser_8.setObjectName(_fromUtf8("countBrowser_8"))505 self.horizontalLayout_14.addWidget(self.countBrowser_8)506 self.pushButton_8 = QtGui.QPushButton(self.scrollAreaWidgetContents)507 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)508 sizePolicy.setHorizontalStretch(0)509 sizePolicy.setVerticalStretch(0)510 sizePolicy.setHeightForWidth(self.pushButton_8.sizePolicy().hasHeightForWidth())511 self.pushButton_8.setSizePolicy(sizePolicy)512 self.pushButton_8.setMinimumSize(QtCore.QSize(101, 27))513 self.pushButton_8.setMaximumSize(QtCore.QSize(101, 27))514 self.pushButton_8.setObjectName(_fromUtf8("pushButton_8"))515 self.horizontalLayout_14.addWidget(self.pushButton_8)516 self.verticalLayout_2.addLayout(self.horizontalLayout_14)517 self.horizontalLayout_15 = QtGui.QHBoxLayout()518 self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15"))519 self.SubsysBrowser_9 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)520 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)521 sizePolicy.setHorizontalStretch(0)522 sizePolicy.setVerticalStretch(0)523 sizePolicy.setHeightForWidth(self.SubsysBrowser_9.sizePolicy().hasHeightForWidth())524 self.SubsysBrowser_9.setSizePolicy(sizePolicy)525 self.SubsysBrowser_9.setMinimumSize(QtCore.QSize(141, 31))526 self.SubsysBrowser_9.setMaximumSize(QtCore.QSize(141, 31))527 self.SubsysBrowser_9.setObjectName(_fromUtf8("SubsysBrowser_9"))528 self.horizontalLayout_15.addWidget(self.SubsysBrowser_9)529 self.pktidBrowser_9 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)530 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)531 sizePolicy.setHorizontalStretch(0)532 sizePolicy.setVerticalStretch(0)533 sizePolicy.setHeightForWidth(self.pktidBrowser_9.sizePolicy().hasHeightForWidth())534 self.pktidBrowser_9.setSizePolicy(sizePolicy)535 self.pktidBrowser_9.setMinimumSize(QtCore.QSize(81, 31))536 self.pktidBrowser_9.setMaximumSize(QtCore.QSize(81, 31))537 self.pktidBrowser_9.setObjectName(_fromUtf8("pktidBrowser_9"))538 self.horizontalLayout_15.addWidget(self.pktidBrowser_9)539 self.countBrowser_9 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)540 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)541 sizePolicy.setHorizontalStretch(0)542 sizePolicy.setVerticalStretch(0)543 sizePolicy.setHeightForWidth(self.countBrowser_9.sizePolicy().hasHeightForWidth())544 self.countBrowser_9.setSizePolicy(sizePolicy)545 self.countBrowser_9.setMinimumSize(QtCore.QSize(91, 31))546 self.countBrowser_9.setMaximumSize(QtCore.QSize(91, 31))547 self.countBrowser_9.setObjectName(_fromUtf8("countBrowser_9"))548 self.horizontalLayout_15.addWidget(self.countBrowser_9)549 self.pushButton_9 = QtGui.QPushButton(self.scrollAreaWidgetContents)550 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)551 sizePolicy.setHorizontalStretch(0)552 sizePolicy.setVerticalStretch(0)553 sizePolicy.setHeightForWidth(self.pushButton_9.sizePolicy().hasHeightForWidth())554 self.pushButton_9.setSizePolicy(sizePolicy)555 self.pushButton_9.setMinimumSize(QtCore.QSize(101, 27))556 self.pushButton_9.setMaximumSize(QtCore.QSize(101, 27))557 self.pushButton_9.setObjectName(_fromUtf8("pushButton_9"))558 self.horizontalLayout_15.addWidget(self.pushButton_9)559 self.verticalLayout_2.addLayout(self.horizontalLayout_15)560 self.horizontalLayout_16 = QtGui.QHBoxLayout()561 self.horizontalLayout_16.setObjectName(_fromUtf8("horizontalLayout_16"))562 self.SubsysBrowser_10 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)563 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)564 sizePolicy.setHorizontalStretch(0)565 sizePolicy.setVerticalStretch(0)566 sizePolicy.setHeightForWidth(self.SubsysBrowser_10.sizePolicy().hasHeightForWidth())567 self.SubsysBrowser_10.setSizePolicy(sizePolicy)568 self.SubsysBrowser_10.setMinimumSize(QtCore.QSize(141, 31))569 self.SubsysBrowser_10.setMaximumSize(QtCore.QSize(141, 31))570 self.SubsysBrowser_10.setObjectName(_fromUtf8("SubsysBrowser_10"))571 self.horizontalLayout_16.addWidget(self.SubsysBrowser_10)572 self.pktidBrowser_10 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)573 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)574 sizePolicy.setHorizontalStretch(0)575 sizePolicy.setVerticalStretch(0)576 sizePolicy.setHeightForWidth(self.pktidBrowser_10.sizePolicy().hasHeightForWidth())577 self.pktidBrowser_10.setSizePolicy(sizePolicy)578 self.pktidBrowser_10.setMinimumSize(QtCore.QSize(81, 31))579 self.pktidBrowser_10.setMaximumSize(QtCore.QSize(81, 31))580 self.pktidBrowser_10.setObjectName(_fromUtf8("pktidBrowser_10"))581 self.horizontalLayout_16.addWidget(self.pktidBrowser_10)582 self.countBrowser_10 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)583 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)584 sizePolicy.setHorizontalStretch(0)585 sizePolicy.setVerticalStretch(0)586 sizePolicy.setHeightForWidth(self.countBrowser_10.sizePolicy().hasHeightForWidth())587 self.countBrowser_10.setSizePolicy(sizePolicy)588 self.countBrowser_10.setMinimumSize(QtCore.QSize(91, 31))589 self.countBrowser_10.setMaximumSize(QtCore.QSize(91, 31))590 self.countBrowser_10.setObjectName(_fromUtf8("countBrowser_10"))591 self.horizontalLayout_16.addWidget(self.countBrowser_10)592 self.pushButton_10 = QtGui.QPushButton(self.scrollAreaWidgetContents)593 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)594 sizePolicy.setHorizontalStretch(0)595 sizePolicy.setVerticalStretch(0)596 sizePolicy.setHeightForWidth(self.pushButton_10.sizePolicy().hasHeightForWidth())597 self.pushButton_10.setSizePolicy(sizePolicy)598 self.pushButton_10.setMinimumSize(QtCore.QSize(101, 27))599 self.pushButton_10.setMaximumSize(QtCore.QSize(101, 27))600 self.pushButton_10.setObjectName(_fromUtf8("pushButton_10"))601 self.horizontalLayout_16.addWidget(self.pushButton_10)602 self.verticalLayout_2.addLayout(self.horizontalLayout_16)603 self.horizontalLayout_17 = QtGui.QHBoxLayout()604 self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17"))605 self.SubsysBrowser_11 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)606 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)607 sizePolicy.setHorizontalStretch(0)608 sizePolicy.setVerticalStretch(0)609 sizePolicy.setHeightForWidth(self.SubsysBrowser_11.sizePolicy().hasHeightForWidth())610 self.SubsysBrowser_11.setSizePolicy(sizePolicy)611 self.SubsysBrowser_11.setMinimumSize(QtCore.QSize(141, 31))612 self.SubsysBrowser_11.setMaximumSize(QtCore.QSize(141, 31))613 self.SubsysBrowser_11.setObjectName(_fromUtf8("SubsysBrowser_11"))614 self.horizontalLayout_17.addWidget(self.SubsysBrowser_11)615 self.pktidBrowser_11 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)616 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)617 sizePolicy.setHorizontalStretch(0)618 sizePolicy.setVerticalStretch(0)619 sizePolicy.setHeightForWidth(self.pktidBrowser_11.sizePolicy().hasHeightForWidth())620 self.pktidBrowser_11.setSizePolicy(sizePolicy)621 self.pktidBrowser_11.setMinimumSize(QtCore.QSize(81, 31))622 self.pktidBrowser_11.setMaximumSize(QtCore.QSize(81, 31))623 self.pktidBrowser_11.setObjectName(_fromUtf8("pktidBrowser_11"))624 self.horizontalLayout_17.addWidget(self.pktidBrowser_11)625 self.countBrowser_11 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)626 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)627 sizePolicy.setHorizontalStretch(0)628 sizePolicy.setVerticalStretch(0)629 sizePolicy.setHeightForWidth(self.countBrowser_11.sizePolicy().hasHeightForWidth())630 self.countBrowser_11.setSizePolicy(sizePolicy)631 self.countBrowser_11.setMinimumSize(QtCore.QSize(91, 31))632 self.countBrowser_11.setMaximumSize(QtCore.QSize(91, 31))633 self.countBrowser_11.setObjectName(_fromUtf8("countBrowser_11"))634 self.horizontalLayout_17.addWidget(self.countBrowser_11)635 self.pushButton_11 = QtGui.QPushButton(self.scrollAreaWidgetContents)636 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)637 sizePolicy.setHorizontalStretch(0)638 sizePolicy.setVerticalStretch(0)639 sizePolicy.setHeightForWidth(self.pushButton_11.sizePolicy().hasHeightForWidth())640 self.pushButton_11.setSizePolicy(sizePolicy)641 self.pushButton_11.setMinimumSize(QtCore.QSize(101, 27))642 self.pushButton_11.setMaximumSize(QtCore.QSize(101, 27))643 self.pushButton_11.setObjectName(_fromUtf8("pushButton_11"))644 self.horizontalLayout_17.addWidget(self.pushButton_11)645 self.verticalLayout_2.addLayout(self.horizontalLayout_17)646 self.horizontalLayout_18 = QtGui.QHBoxLayout()647 self.horizontalLayout_18.setObjectName(_fromUtf8("horizontalLayout_18"))648 self.SubsysBrowser_12 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)649 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)650 sizePolicy.setHorizontalStretch(0)651 sizePolicy.setVerticalStretch(0)652 sizePolicy.setHeightForWidth(self.SubsysBrowser_12.sizePolicy().hasHeightForWidth())653 self.SubsysBrowser_12.setSizePolicy(sizePolicy)654 self.SubsysBrowser_12.setMinimumSize(QtCore.QSize(141, 31))655 self.SubsysBrowser_12.setMaximumSize(QtCore.QSize(141, 31))656 self.SubsysBrowser_12.setObjectName(_fromUtf8("SubsysBrowser_12"))657 self.horizontalLayout_18.addWidget(self.SubsysBrowser_12)658 self.pktidBrowser_12 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)659 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)660 sizePolicy.setHorizontalStretch(0)661 sizePolicy.setVerticalStretch(0)662 sizePolicy.setHeightForWidth(self.pktidBrowser_12.sizePolicy().hasHeightForWidth())663 self.pktidBrowser_12.setSizePolicy(sizePolicy)664 self.pktidBrowser_12.setMinimumSize(QtCore.QSize(81, 31))665 self.pktidBrowser_12.setMaximumSize(QtCore.QSize(81, 31))666 self.pktidBrowser_12.setObjectName(_fromUtf8("pktidBrowser_12"))667 self.horizontalLayout_18.addWidget(self.pktidBrowser_12)668 self.countBrowser_12 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)669 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)670 sizePolicy.setHorizontalStretch(0)671 sizePolicy.setVerticalStretch(0)672 sizePolicy.setHeightForWidth(self.countBrowser_12.sizePolicy().hasHeightForWidth())673 self.countBrowser_12.setSizePolicy(sizePolicy)674 self.countBrowser_12.setMinimumSize(QtCore.QSize(91, 31))675 self.countBrowser_12.setMaximumSize(QtCore.QSize(91, 31))676 self.countBrowser_12.setObjectName(_fromUtf8("countBrowser_12"))677 self.horizontalLayout_18.addWidget(self.countBrowser_12)678 self.pushButton_12 = QtGui.QPushButton(self.scrollAreaWidgetContents)679 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)680 sizePolicy.setHorizontalStretch(0)681 sizePolicy.setVerticalStretch(0)682 sizePolicy.setHeightForWidth(self.pushButton_12.sizePolicy().hasHeightForWidth())683 self.pushButton_12.setSizePolicy(sizePolicy)684 self.pushButton_12.setMinimumSize(QtCore.QSize(101, 27))685 self.pushButton_12.setMaximumSize(QtCore.QSize(101, 27))686 self.pushButton_12.setObjectName(_fromUtf8("pushButton_12"))687 self.horizontalLayout_18.addWidget(self.pushButton_12)688 self.verticalLayout_2.addLayout(self.horizontalLayout_18)689 self.horizontalLayout_19 = QtGui.QHBoxLayout()690 self.horizontalLayout_19.setObjectName(_fromUtf8("horizontalLayout_19"))691 self.SubsysBrowser_13 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)692 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)693 sizePolicy.setHorizontalStretch(0)694 sizePolicy.setVerticalStretch(0)695 sizePolicy.setHeightForWidth(self.SubsysBrowser_13.sizePolicy().hasHeightForWidth())696 self.SubsysBrowser_13.setSizePolicy(sizePolicy)697 self.SubsysBrowser_13.setMinimumSize(QtCore.QSize(141, 31))698 self.SubsysBrowser_13.setMaximumSize(QtCore.QSize(141, 31))699 self.SubsysBrowser_13.setObjectName(_fromUtf8("SubsysBrowser_13"))700 self.horizontalLayout_19.addWidget(self.SubsysBrowser_13)701 self.pktidBrowser_13 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)702 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)703 sizePolicy.setHorizontalStretch(0)704 sizePolicy.setVerticalStretch(0)705 sizePolicy.setHeightForWidth(self.pktidBrowser_13.sizePolicy().hasHeightForWidth())706 self.pktidBrowser_13.setSizePolicy(sizePolicy)707 self.pktidBrowser_13.setMinimumSize(QtCore.QSize(81, 31))708 self.pktidBrowser_13.setMaximumSize(QtCore.QSize(81, 31))709 self.pktidBrowser_13.setObjectName(_fromUtf8("pktidBrowser_13"))710 self.horizontalLayout_19.addWidget(self.pktidBrowser_13)711 self.countBrowser_13 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)712 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)713 sizePolicy.setHorizontalStretch(0)714 sizePolicy.setVerticalStretch(0)715 sizePolicy.setHeightForWidth(self.countBrowser_13.sizePolicy().hasHeightForWidth())716 self.countBrowser_13.setSizePolicy(sizePolicy)717 self.countBrowser_13.setMinimumSize(QtCore.QSize(91, 31))718 self.countBrowser_13.setMaximumSize(QtCore.QSize(91, 31))719 self.countBrowser_13.setObjectName(_fromUtf8("countBrowser_13"))720 self.horizontalLayout_19.addWidget(self.countBrowser_13)721 self.pushButton_13 = QtGui.QPushButton(self.scrollAreaWidgetContents)722 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)723 sizePolicy.setHorizontalStretch(0)724 sizePolicy.setVerticalStretch(0)725 sizePolicy.setHeightForWidth(self.pushButton_13.sizePolicy().hasHeightForWidth())726 self.pushButton_13.setSizePolicy(sizePolicy)727 self.pushButton_13.setMinimumSize(QtCore.QSize(101, 27))728 self.pushButton_13.setMaximumSize(QtCore.QSize(101, 27))729 self.pushButton_13.setObjectName(_fromUtf8("pushButton_13"))730 self.horizontalLayout_19.addWidget(self.pushButton_13)731 self.verticalLayout_2.addLayout(self.horizontalLayout_19)732 self.horizontalLayout_20 = QtGui.QHBoxLayout()733 self.horizontalLayout_20.setObjectName(_fromUtf8("horizontalLayout_20"))734 self.SubsysBrowser_14 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)735 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)736 sizePolicy.setHorizontalStretch(0)737 sizePolicy.setVerticalStretch(0)738 sizePolicy.setHeightForWidth(self.SubsysBrowser_14.sizePolicy().hasHeightForWidth())739 self.SubsysBrowser_14.setSizePolicy(sizePolicy)740 self.SubsysBrowser_14.setMinimumSize(QtCore.QSize(141, 31))741 self.SubsysBrowser_14.setMaximumSize(QtCore.QSize(141, 31))742 self.SubsysBrowser_14.setObjectName(_fromUtf8("SubsysBrowser_14"))743 self.horizontalLayout_20.addWidget(self.SubsysBrowser_14)744 self.pktidBrowser_14 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)745 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)746 sizePolicy.setHorizontalStretch(0)747 sizePolicy.setVerticalStretch(0)748 sizePolicy.setHeightForWidth(self.pktidBrowser_14.sizePolicy().hasHeightForWidth())749 self.pktidBrowser_14.setSizePolicy(sizePolicy)750 self.pktidBrowser_14.setMinimumSize(QtCore.QSize(81, 31))751 self.pktidBrowser_14.setMaximumSize(QtCore.QSize(81, 31))752 self.pktidBrowser_14.setObjectName(_fromUtf8("pktidBrowser_14"))753 self.horizontalLayout_20.addWidget(self.pktidBrowser_14)754 self.countBrowser_14 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)755 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)756 sizePolicy.setHorizontalStretch(0)757 sizePolicy.setVerticalStretch(0)758 sizePolicy.setHeightForWidth(self.countBrowser_14.sizePolicy().hasHeightForWidth())759 self.countBrowser_14.setSizePolicy(sizePolicy)760 self.countBrowser_14.setMinimumSize(QtCore.QSize(91, 31))761 self.countBrowser_14.setMaximumSize(QtCore.QSize(91, 31))762 self.countBrowser_14.setObjectName(_fromUtf8("countBrowser_14"))763 self.horizontalLayout_20.addWidget(self.countBrowser_14)764 self.pushButton_14 = QtGui.QPushButton(self.scrollAreaWidgetContents)765 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)766 sizePolicy.setHorizontalStretch(0)767 sizePolicy.setVerticalStretch(0)768 sizePolicy.setHeightForWidth(self.pushButton_14.sizePolicy().hasHeightForWidth())769 self.pushButton_14.setSizePolicy(sizePolicy)770 self.pushButton_14.setMinimumSize(QtCore.QSize(101, 27))771 self.pushButton_14.setMaximumSize(QtCore.QSize(101, 27))772 self.pushButton_14.setObjectName(_fromUtf8("pushButton_14"))773 self.horizontalLayout_20.addWidget(self.pushButton_14)774 self.verticalLayout_2.addLayout(self.horizontalLayout_20)775 self.horizontalLayout_21 = QtGui.QHBoxLayout()776 self.horizontalLayout_21.setObjectName(_fromUtf8("horizontalLayout_21"))777 self.SubsysBrowser_15 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)778 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)779 sizePolicy.setHorizontalStretch(0)780 sizePolicy.setVerticalStretch(0)781 sizePolicy.setHeightForWidth(self.SubsysBrowser_15.sizePolicy().hasHeightForWidth())782 self.SubsysBrowser_15.setSizePolicy(sizePolicy)783 self.SubsysBrowser_15.setMinimumSize(QtCore.QSize(141, 31))784 self.SubsysBrowser_15.setMaximumSize(QtCore.QSize(141, 31))785 self.SubsysBrowser_15.setObjectName(_fromUtf8("SubsysBrowser_15"))786 self.horizontalLayout_21.addWidget(self.SubsysBrowser_15)787 self.pktidBrowser_15 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)788 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)789 sizePolicy.setHorizontalStretch(0)790 sizePolicy.setVerticalStretch(0)791 sizePolicy.setHeightForWidth(self.pktidBrowser_15.sizePolicy().hasHeightForWidth())792 self.pktidBrowser_15.setSizePolicy(sizePolicy)793 self.pktidBrowser_15.setMinimumSize(QtCore.QSize(81, 31))794 self.pktidBrowser_15.setMaximumSize(QtCore.QSize(81, 31))795 self.pktidBrowser_15.setObjectName(_fromUtf8("pktidBrowser_15"))796 self.horizontalLayout_21.addWidget(self.pktidBrowser_15)797 self.countBrowser_15 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)798 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)799 sizePolicy.setHorizontalStretch(0)800 sizePolicy.setVerticalStretch(0)801 sizePolicy.setHeightForWidth(self.countBrowser_15.sizePolicy().hasHeightForWidth())802 self.countBrowser_15.setSizePolicy(sizePolicy)803 self.countBrowser_15.setMinimumSize(QtCore.QSize(91, 31))804 self.countBrowser_15.setMaximumSize(QtCore.QSize(91, 31))805 self.countBrowser_15.setObjectName(_fromUtf8("countBrowser_15"))806 self.horizontalLayout_21.addWidget(self.countBrowser_15)807 self.pushButton_15 = QtGui.QPushButton(self.scrollAreaWidgetContents)808 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)809 sizePolicy.setHorizontalStretch(0)810 sizePolicy.setVerticalStretch(0)811 sizePolicy.setHeightForWidth(self.pushButton_15.sizePolicy().hasHeightForWidth())812 self.pushButton_15.setSizePolicy(sizePolicy)813 self.pushButton_15.setMinimumSize(QtCore.QSize(101, 27))814 self.pushButton_15.setMaximumSize(QtCore.QSize(101, 27))815 self.pushButton_15.setObjectName(_fromUtf8("pushButton_15"))816 self.horizontalLayout_21.addWidget(self.pushButton_15)817 self.verticalLayout_2.addLayout(self.horizontalLayout_21)818 self.horizontalLayout_22 = QtGui.QHBoxLayout()819 self.horizontalLayout_22.setObjectName(_fromUtf8("horizontalLayout_22"))820 self.SubsysBrowser_16 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)821 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)822 sizePolicy.setHorizontalStretch(0)823 sizePolicy.setVerticalStretch(0)824 sizePolicy.setHeightForWidth(self.SubsysBrowser_16.sizePolicy().hasHeightForWidth())825 self.SubsysBrowser_16.setSizePolicy(sizePolicy)826 self.SubsysBrowser_16.setMinimumSize(QtCore.QSize(141, 31))827 self.SubsysBrowser_16.setMaximumSize(QtCore.QSize(141, 31))828 self.SubsysBrowser_16.setObjectName(_fromUtf8("SubsysBrowser_16"))829 self.horizontalLayout_22.addWidget(self.SubsysBrowser_16)830 self.pktidBrowser_16 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)831 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)832 sizePolicy.setHorizontalStretch(0)833 sizePolicy.setVerticalStretch(0)834 sizePolicy.setHeightForWidth(self.pktidBrowser_16.sizePolicy().hasHeightForWidth())835 self.pktidBrowser_16.setSizePolicy(sizePolicy)836 self.pktidBrowser_16.setMinimumSize(QtCore.QSize(81, 31))837 self.pktidBrowser_16.setMaximumSize(QtCore.QSize(81, 31))838 self.pktidBrowser_16.setObjectName(_fromUtf8("pktidBrowser_16"))839 self.horizontalLayout_22.addWidget(self.pktidBrowser_16)840 self.countBrowser_16 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)841 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)842 sizePolicy.setHorizontalStretch(0)843 sizePolicy.setVerticalStretch(0)844 sizePolicy.setHeightForWidth(self.countBrowser_16.sizePolicy().hasHeightForWidth())845 self.countBrowser_16.setSizePolicy(sizePolicy)846 self.countBrowser_16.setMinimumSize(QtCore.QSize(91, 31))847 self.countBrowser_16.setMaximumSize(QtCore.QSize(91, 31))848 self.countBrowser_16.setObjectName(_fromUtf8("countBrowser_16"))849 self.horizontalLayout_22.addWidget(self.countBrowser_16)850 self.pushButton_16 = QtGui.QPushButton(self.scrollAreaWidgetContents)851 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)852 sizePolicy.setHorizontalStretch(0)853 sizePolicy.setVerticalStretch(0)854 sizePolicy.setHeightForWidth(self.pushButton_16.sizePolicy().hasHeightForWidth())855 self.pushButton_16.setSizePolicy(sizePolicy)856 self.pushButton_16.setMinimumSize(QtCore.QSize(101, 27))857 self.pushButton_16.setMaximumSize(QtCore.QSize(101, 27))858 self.pushButton_16.setObjectName(_fromUtf8("pushButton_16"))859 self.horizontalLayout_22.addWidget(self.pushButton_16)860 self.verticalLayout_2.addLayout(self.horizontalLayout_22)861 self.horizontalLayout_23 = QtGui.QHBoxLayout()862 self.horizontalLayout_23.setObjectName(_fromUtf8("horizontalLayout_23"))863 self.SubsysBrowser_17 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)864 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)865 sizePolicy.setHorizontalStretch(0)866 sizePolicy.setVerticalStretch(0)867 sizePolicy.setHeightForWidth(self.SubsysBrowser_17.sizePolicy().hasHeightForWidth())868 self.SubsysBrowser_17.setSizePolicy(sizePolicy)869 self.SubsysBrowser_17.setMinimumSize(QtCore.QSize(141, 31))870 self.SubsysBrowser_17.setMaximumSize(QtCore.QSize(141, 31))871 self.SubsysBrowser_17.setObjectName(_fromUtf8("SubsysBrowser_17"))872 self.horizontalLayout_23.addWidget(self.SubsysBrowser_17)873 self.pktidBrowser_17 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)874 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)875 sizePolicy.setHorizontalStretch(0)876 sizePolicy.setVerticalStretch(0)877 sizePolicy.setHeightForWidth(self.pktidBrowser_17.sizePolicy().hasHeightForWidth())878 self.pktidBrowser_17.setSizePolicy(sizePolicy)879 self.pktidBrowser_17.setMinimumSize(QtCore.QSize(81, 31))880 self.pktidBrowser_17.setMaximumSize(QtCore.QSize(81, 31))881 self.pktidBrowser_17.setObjectName(_fromUtf8("pktidBrowser_17"))882 self.horizontalLayout_23.addWidget(self.pktidBrowser_17)883 self.countBrowser_17 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)884 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)885 sizePolicy.setHorizontalStretch(0)886 sizePolicy.setVerticalStretch(0)887 sizePolicy.setHeightForWidth(self.countBrowser_17.sizePolicy().hasHeightForWidth())888 self.countBrowser_17.setSizePolicy(sizePolicy)889 self.countBrowser_17.setMinimumSize(QtCore.QSize(91, 31))890 self.countBrowser_17.setMaximumSize(QtCore.QSize(91, 31))891 self.countBrowser_17.setObjectName(_fromUtf8("countBrowser_17"))892 self.horizontalLayout_23.addWidget(self.countBrowser_17)893 self.pushButton_17 = QtGui.QPushButton(self.scrollAreaWidgetContents)894 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)895 sizePolicy.setHorizontalStretch(0)896 sizePolicy.setVerticalStretch(0)897 sizePolicy.setHeightForWidth(self.pushButton_17.sizePolicy().hasHeightForWidth())898 self.pushButton_17.setSizePolicy(sizePolicy)899 self.pushButton_17.setMinimumSize(QtCore.QSize(101, 27))900 self.pushButton_17.setMaximumSize(QtCore.QSize(101, 27))901 self.pushButton_17.setObjectName(_fromUtf8("pushButton_17"))902 self.horizontalLayout_23.addWidget(self.pushButton_17)903 self.verticalLayout_2.addLayout(self.horizontalLayout_23)904 self.horizontalLayout_24 = QtGui.QHBoxLayout()905 self.horizontalLayout_24.setObjectName(_fromUtf8("horizontalLayout_24"))906 self.SubsysBrowser_18 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)907 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)908 sizePolicy.setHorizontalStretch(0)909 sizePolicy.setVerticalStretch(0)910 sizePolicy.setHeightForWidth(self.SubsysBrowser_18.sizePolicy().hasHeightForWidth())911 self.SubsysBrowser_18.setSizePolicy(sizePolicy)912 self.SubsysBrowser_18.setMinimumSize(QtCore.QSize(141, 31))913 self.SubsysBrowser_18.setMaximumSize(QtCore.QSize(141, 31))914 self.SubsysBrowser_18.setObjectName(_fromUtf8("SubsysBrowser_18"))915 self.horizontalLayout_24.addWidget(self.SubsysBrowser_18)916 self.pktidBrowser_18 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)917 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)918 sizePolicy.setHorizontalStretch(0)919 sizePolicy.setVerticalStretch(0)920 sizePolicy.setHeightForWidth(self.pktidBrowser_18.sizePolicy().hasHeightForWidth())921 self.pktidBrowser_18.setSizePolicy(sizePolicy)922 self.pktidBrowser_18.setMinimumSize(QtCore.QSize(81, 31))923 self.pktidBrowser_18.setMaximumSize(QtCore.QSize(81, 31))924 self.pktidBrowser_18.setObjectName(_fromUtf8("pktidBrowser_18"))925 self.horizontalLayout_24.addWidget(self.pktidBrowser_18)926 self.countBrowser_18 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)927 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)928 sizePolicy.setHorizontalStretch(0)929 sizePolicy.setVerticalStretch(0)930 sizePolicy.setHeightForWidth(self.countBrowser_18.sizePolicy().hasHeightForWidth())931 self.countBrowser_18.setSizePolicy(sizePolicy)932 self.countBrowser_18.setMinimumSize(QtCore.QSize(91, 31))933 self.countBrowser_18.setMaximumSize(QtCore.QSize(91, 31))934 self.countBrowser_18.setObjectName(_fromUtf8("countBrowser_18"))935 self.horizontalLayout_24.addWidget(self.countBrowser_18)936 self.pushButton_18 = QtGui.QPushButton(self.scrollAreaWidgetContents)937 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)938 sizePolicy.setHorizontalStretch(0)939 sizePolicy.setVerticalStretch(0)940 sizePolicy.setHeightForWidth(self.pushButton_18.sizePolicy().hasHeightForWidth())941 self.pushButton_18.setSizePolicy(sizePolicy)942 self.pushButton_18.setMinimumSize(QtCore.QSize(101, 27))943 self.pushButton_18.setMaximumSize(QtCore.QSize(101, 27))944 self.pushButton_18.setObjectName(_fromUtf8("pushButton_18"))945 self.horizontalLayout_24.addWidget(self.pushButton_18)946 self.verticalLayout_2.addLayout(self.horizontalLayout_24)947 self.horizontalLayout_25 = QtGui.QHBoxLayout()948 self.horizontalLayout_25.setObjectName(_fromUtf8("horizontalLayout_25"))949 self.SubsysBrowser_19 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)950 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)951 sizePolicy.setHorizontalStretch(0)952 sizePolicy.setVerticalStretch(0)953 sizePolicy.setHeightForWidth(self.SubsysBrowser_19.sizePolicy().hasHeightForWidth())954 self.SubsysBrowser_19.setSizePolicy(sizePolicy)955 self.SubsysBrowser_19.setMinimumSize(QtCore.QSize(141, 31))956 self.SubsysBrowser_19.setMaximumSize(QtCore.QSize(141, 31))957 self.SubsysBrowser_19.setObjectName(_fromUtf8("SubsysBrowser_19"))958 self.horizontalLayout_25.addWidget(self.SubsysBrowser_19)959 self.pktidBrowser_19 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)960 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)961 sizePolicy.setHorizontalStretch(0)962 sizePolicy.setVerticalStretch(0)963 sizePolicy.setHeightForWidth(self.pktidBrowser_19.sizePolicy().hasHeightForWidth())964 self.pktidBrowser_19.setSizePolicy(sizePolicy)965 self.pktidBrowser_19.setMinimumSize(QtCore.QSize(81, 31))966 self.pktidBrowser_19.setMaximumSize(QtCore.QSize(81, 31))967 self.pktidBrowser_19.setObjectName(_fromUtf8("pktidBrowser_19"))968 self.horizontalLayout_25.addWidget(self.pktidBrowser_19)969 self.countBrowser_19 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)970 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)971 sizePolicy.setHorizontalStretch(0)972 sizePolicy.setVerticalStretch(0)973 sizePolicy.setHeightForWidth(self.countBrowser_19.sizePolicy().hasHeightForWidth())974 self.countBrowser_19.setSizePolicy(sizePolicy)975 self.countBrowser_19.setMinimumSize(QtCore.QSize(91, 31))976 self.countBrowser_19.setMaximumSize(QtCore.QSize(91, 31))977 self.countBrowser_19.setObjectName(_fromUtf8("countBrowser_19"))978 self.horizontalLayout_25.addWidget(self.countBrowser_19)979 self.pushButton_19 = QtGui.QPushButton(self.scrollAreaWidgetContents)980 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)981 sizePolicy.setHorizontalStretch(0)982 sizePolicy.setVerticalStretch(0)983 sizePolicy.setHeightForWidth(self.pushButton_19.sizePolicy().hasHeightForWidth())984 self.pushButton_19.setSizePolicy(sizePolicy)985 self.pushButton_19.setMinimumSize(QtCore.QSize(101, 27))986 self.pushButton_19.setMaximumSize(QtCore.QSize(101, 27))987 self.pushButton_19.setObjectName(_fromUtf8("pushButton_19"))988 self.horizontalLayout_25.addWidget(self.pushButton_19)989 self.verticalLayout_2.addLayout(self.horizontalLayout_25)990 self.horizontalLayout_26 = QtGui.QHBoxLayout()991 self.horizontalLayout_26.setObjectName(_fromUtf8("horizontalLayout_26"))992 self.SubsysBrowser_20 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)993 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)994 sizePolicy.setHorizontalStretch(0)995 sizePolicy.setVerticalStretch(0)996 sizePolicy.setHeightForWidth(self.SubsysBrowser_20.sizePolicy().hasHeightForWidth())997 self.SubsysBrowser_20.setSizePolicy(sizePolicy)998 self.SubsysBrowser_20.setMinimumSize(QtCore.QSize(141, 31))999 self.SubsysBrowser_20.setMaximumSize(QtCore.QSize(141, 31))1000 self.SubsysBrowser_20.setObjectName(_fromUtf8("SubsysBrowser_20"))1001 self.horizontalLayout_26.addWidget(self.SubsysBrowser_20)1002 self.pktidBrowser_20 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)1003 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)1004 sizePolicy.setHorizontalStretch(0)1005 sizePolicy.setVerticalStretch(0)1006 sizePolicy.setHeightForWidth(self.pktidBrowser_20.sizePolicy().hasHeightForWidth())1007 self.pktidBrowser_20.setSizePolicy(sizePolicy)1008 self.pktidBrowser_20.setMinimumSize(QtCore.QSize(81, 31))1009 self.pktidBrowser_20.setMaximumSize(QtCore.QSize(81, 31))1010 self.pktidBrowser_20.setObjectName(_fromUtf8("pktidBrowser_20"))1011 self.horizontalLayout_26.addWidget(self.pktidBrowser_20)1012 self.countBrowser_20 = QtGui.QTextBrowser(self.scrollAreaWidgetContents)1013 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)1014 sizePolicy.setHorizontalStretch(0)1015 sizePolicy.setVerticalStretch(0)1016 sizePolicy.setHeightForWidth(self.countBrowser_20.sizePolicy().hasHeightForWidth())1017 self.countBrowser_20.setSizePolicy(sizePolicy)1018 self.countBrowser_20.setMinimumSize(QtCore.QSize(91, 31))1019 self.countBrowser_20.setMaximumSize(QtCore.QSize(91, 31))1020 self.countBrowser_20.setObjectName(_fromUtf8("countBrowser_20"))1021 self.horizontalLayout_26.addWidget(self.countBrowser_20)1022 self.pushButton_20 = QtGui.QPushButton(self.scrollAreaWidgetContents)1023 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)1024 sizePolicy.setHorizontalStretch(0)1025 sizePolicy.setVerticalStretch(0)1026 sizePolicy.setHeightForWidth(self.pushButton_20.sizePolicy().hasHeightForWidth())1027 self.pushButton_20.setSizePolicy(sizePolicy)1028 self.pushButton_20.setMinimumSize(QtCore.QSize(101, 27))1029 self.pushButton_20.setMaximumSize(QtCore.QSize(101, 27))1030 self.pushButton_20.setObjectName(_fromUtf8("pushButton_20"))1031 self.horizontalLayout_26.addWidget(self.pushButton_20)1032 self.verticalLayout_2.addLayout(self.horizontalLayout_26)1033 self.scrollArea.setWidget(self.scrollAreaWidgetContents)1034 self.verticalLayout.addWidget(self.scrollArea)1035 self.retranslateUi(TelemetrySystemDialog)1036 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TelemetrySystemDialog.accept)1037 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TelemetrySystemDialog.reject)1038 QtCore.QMetaObject.connectSlotsByName(TelemetrySystemDialog)1039 def retranslateUi(self, TelemetrySystemDialog):1040 TelemetrySystemDialog.setWindowTitle(_translate("TelemetrySystemDialog", "Dialog", None))1041 self.label.setText(_translate("TelemetrySystemDialog", "cFE/CFS Subsystem Telemetry", None))1042 self.label_6.setText(_translate("TelemetrySystemDialog", "Packets Received", None))1043 self.label_2.setText(_translate("TelemetrySystemDialog", "Available Pages", None))1044 self.label_3.setText(_translate("TelemetrySystemDialog", "Subsystem/Page", None))1045 self.label_4.setText(_translate("TelemetrySystemDialog", "Packet ID", None))1046 self.label_5.setText(_translate("TelemetrySystemDialog", "Packet Count", None))1047 self.pushButton_0.setText(_translate("TelemetrySystemDialog", "Display Page", None))1048 self.pushButton_1.setText(_translate("TelemetrySystemDialog", "Display Page", None))1049 self.pushButton_2.setText(_translate("TelemetrySystemDialog", "Display Page", None))1050 self.pushButton_3.setText(_translate("TelemetrySystemDialog", "Display Page", None))1051 self.pushButton_4.setText(_translate("TelemetrySystemDialog", "Display Page", None))1052 self.pushButton_5.setText(_translate("TelemetrySystemDialog", "Display Page", None))1053 self.pushButton_6.setText(_translate("TelemetrySystemDialog", "Display Page", None))1054 self.pushButton_7.setText(_translate("TelemetrySystemDialog", "Display Page", None))1055 self.pushButton_8.setText(_translate("TelemetrySystemDialog", "Display Page", None))1056 self.pushButton_9.setText(_translate("TelemetrySystemDialog", "Display Page", None))1057 self.pushButton_10.setText(_translate("TelemetrySystemDialog", "Display Page", None))1058 self.pushButton_11.setText(_translate("TelemetrySystemDialog", "Display Page", None))1059 self.pushButton_12.setText(_translate("TelemetrySystemDialog", "Display Page", None))1060 self.pushButton_13.setText(_translate("TelemetrySystemDialog", "Display Page", None))1061 self.pushButton_14.setText(_translate("TelemetrySystemDialog", "Display Page", None))1062 self.pushButton_15.setText(_translate("TelemetrySystemDialog", "Display Page", None))1063 self.pushButton_16.setText(_translate("TelemetrySystemDialog", "Display Page", None))1064 self.pushButton_17.setText(_translate("TelemetrySystemDialog", "Display Page", None))1065 self.pushButton_18.setText(_translate("TelemetrySystemDialog", "Display Page", None))1066 self.pushButton_19.setText(_translate("TelemetrySystemDialog", "Display Page", None))1067 self.pushButton_20.setText(_translate("TelemetrySystemDialog", "Display Page", None))1068if __name__ == "__main__":1069 import sys1070 app = QtGui.QApplication(sys.argv)1071 TelemetrySystemDialog = QtGui.QDialog()1072 ui = Ui_TelemetrySystemDialog()1073 ui.setupUi(TelemetrySystemDialog)1074 TelemetrySystemDialog.show()...

Full Screen

Full Screen

webbrowser.py

Source:webbrowser.py Github

copy

Full Screen

1#! /usr/bin/env python32"""Interfaces for launching and remotely controlling web browsers."""3# Maintained by Georg Brandl.4import os5import shlex6import shutil7import sys8import subprocess9import threading10__all__ = ["Error", "open", "open_new", "open_new_tab", "get", "register"]11class Error(Exception):12 pass13_lock = threading.RLock()14_browsers = {} # Dictionary of available browser controllers15_tryorder = None # Preference order of available browsers16_os_preferred_browser = None # The preferred browser17def register(name, klass, instance=None, *, preferred=False):18 """Register a browser connector."""19 with _lock:20 if _tryorder is None:21 register_standard_browsers()22 _browsers[name.lower()] = [klass, instance]23 # Preferred browsers go to the front of the list.24 # Need to match to the default browser returned by xdg-settings, which25 # may be of the form e.g. "firefox.desktop".26 if preferred or (_os_preferred_browser and name in _os_preferred_browser):27 _tryorder.insert(0, name)28 else:29 _tryorder.append(name)30def get(using=None):31 """Return a browser launcher instance appropriate for the environment."""32 if _tryorder is None:33 with _lock:34 if _tryorder is None:35 register_standard_browsers()36 if using is not None:37 alternatives = [using]38 else:39 alternatives = _tryorder40 for browser in alternatives:41 if '%s' in browser:42 # User gave us a command line, split it into name and args43 browser = shlex.split(browser)44 if browser[-1] == '&':45 return BackgroundBrowser(browser[:-1])46 else:47 return GenericBrowser(browser)48 else:49 # User gave us a browser name or path.50 try:51 command = _browsers[browser.lower()]52 except KeyError:53 command = _synthesize(browser)54 if command[1] is not None:55 return command[1]56 elif command[0] is not None:57 return command[0]()58 raise Error("could not locate runnable browser")59# Please note: the following definition hides a builtin function.60# It is recommended one does "import webbrowser" and uses webbrowser.open(url)61# instead of "from webbrowser import *".62def open(url, new=0, autoraise=True):63 """Display url using the default browser.64 If possible, open url in a location determined by new.65 - 0: the same browser window (the default).66 - 1: a new browser window.67 - 2: a new browser page ("tab").68 If possible, autoraise raises the window (the default) or not.69 """70 if _tryorder is None:71 with _lock:72 if _tryorder is None:73 register_standard_browsers()74 for name in _tryorder:75 browser = get(name)76 if browser.open(url, new, autoraise):77 return True78 return False79def open_new(url):80 """Open url in a new window of the default browser.81 If not possible, then open url in the only browser window.82 """83 return open(url, 1)84def open_new_tab(url):85 """Open url in a new page ("tab") of the default browser.86 If not possible, then the behavior becomes equivalent to open_new().87 """88 return open(url, 2)89def _synthesize(browser, *, preferred=False):90 """Attempt to synthesize a controller based on existing controllers.91 This is useful to create a controller when a user specifies a path to92 an entry in the BROWSER environment variable -- we can copy a general93 controller to operate using a specific installation of the desired94 browser in this way.95 If we can't create a controller in this way, or if there is no96 executable for the requested browser, return [None, None].97 """98 cmd = browser.split()[0]99 if not shutil.which(cmd):100 return [None, None]101 name = os.path.basename(cmd)102 try:103 command = _browsers[name.lower()]104 except KeyError:105 return [None, None]106 # now attempt to clone to fit the new name:107 controller = command[1]108 if controller and name.lower() == controller.basename:109 import copy110 controller = copy.copy(controller)111 controller.name = browser112 controller.basename = os.path.basename(browser)113 register(browser, None, instance=controller, preferred=preferred)114 return [None, controller]115 return [None, None]116# General parent classes117class BaseBrowser(object):118 """Parent class for all browsers. Do not use directly."""119 args = ['%s']120 def __init__(self, name=""):121 self.name = name122 self.basename = name123 def open(self, url, new=0, autoraise=True):124 raise NotImplementedError125 def open_new(self, url):126 return self.open(url, 1)127 def open_new_tab(self, url):128 return self.open(url, 2)129class GenericBrowser(BaseBrowser):130 """Class for all browsers started with a command131 and without remote functionality."""132 def __init__(self, name):133 if isinstance(name, str):134 self.name = name135 self.args = ["%s"]136 else:137 # name should be a list with arguments138 self.name = name[0]139 self.args = name[1:]140 self.basename = os.path.basename(self.name)141 def open(self, url, new=0, autoraise=True):142 sys.audit("webbrowser.open", url)143 cmdline = [self.name] + [arg.replace("%s", url)144 for arg in self.args]145 try:146 if sys.platform[:3] == 'win':147 p = subprocess.Popen(cmdline)148 else:149 p = subprocess.Popen(cmdline, close_fds=True)150 return not p.wait()151 except OSError:152 return False153class BackgroundBrowser(GenericBrowser):154 """Class for all browsers which are to be started in the155 background."""156 def open(self, url, new=0, autoraise=True):157 cmdline = [self.name] + [arg.replace("%s", url)158 for arg in self.args]159 sys.audit("webbrowser.open", url)160 try:161 if sys.platform[:3] == 'win':162 p = subprocess.Popen(cmdline)163 else:164 p = subprocess.Popen(cmdline, close_fds=True,165 start_new_session=True)166 return (p.poll() is None)167 except OSError:168 return False169class UnixBrowser(BaseBrowser):170 """Parent class for all Unix browsers with remote functionality."""171 raise_opts = None172 background = False173 redirect_stdout = True174 # In remote_args, %s will be replaced with the requested URL. %action will175 # be replaced depending on the value of 'new' passed to open.176 # remote_action is used for new=0 (open). If newwin is not None, it is177 # used for new=1 (open_new). If newtab is not None, it is used for178 # new=3 (open_new_tab). After both substitutions are made, any empty179 # strings in the transformed remote_args list will be removed.180 remote_args = ['%action', '%s']181 remote_action = None182 remote_action_newwin = None183 remote_action_newtab = None184 def _invoke(self, args, remote, autoraise, url=None):185 raise_opt = []186 if remote and self.raise_opts:187 # use autoraise argument only for remote invocation188 autoraise = int(autoraise)189 opt = self.raise_opts[autoraise]190 if opt: raise_opt = [opt]191 cmdline = [self.name] + raise_opt + args192 if remote or self.background:193 inout = subprocess.DEVNULL194 else:195 # for TTY browsers, we need stdin/out196 inout = None197 p = subprocess.Popen(cmdline, close_fds=True, stdin=inout,198 stdout=(self.redirect_stdout and inout or None),199 stderr=inout, start_new_session=True)200 if remote:201 # wait at most five seconds. If the subprocess is not finished, the202 # remote invocation has (hopefully) started a new instance.203 try:204 rc = p.wait(5)205 # if remote call failed, open() will try direct invocation206 return not rc207 except subprocess.TimeoutExpired:208 return True209 elif self.background:210 if p.poll() is None:211 return True212 else:213 return False214 else:215 return not p.wait()216 def open(self, url, new=0, autoraise=True):217 sys.audit("webbrowser.open", url)218 if new == 0:219 action = self.remote_action220 elif new == 1:221 action = self.remote_action_newwin222 elif new == 2:223 if self.remote_action_newtab is None:224 action = self.remote_action_newwin225 else:226 action = self.remote_action_newtab227 else:228 raise Error("Bad 'new' parameter to open(); " +229 "expected 0, 1, or 2, got %s" % new)230 args = [arg.replace("%s", url).replace("%action", action)231 for arg in self.remote_args]232 args = [arg for arg in args if arg]233 success = self._invoke(args, True, autoraise, url)234 if not success:235 # remote invocation failed, try straight way236 args = [arg.replace("%s", url) for arg in self.args]237 return self._invoke(args, False, False)238 else:239 return True240class Mozilla(UnixBrowser):241 """Launcher class for Mozilla browsers."""242 remote_args = ['%action', '%s']243 remote_action = ""244 remote_action_newwin = "-new-window"245 remote_action_newtab = "-new-tab"246 background = True247class Netscape(UnixBrowser):248 """Launcher class for Netscape browser."""249 raise_opts = ["-noraise", "-raise"]250 remote_args = ['-remote', 'openURL(%s%action)']251 remote_action = ""252 remote_action_newwin = ",new-window"253 remote_action_newtab = ",new-tab"254 background = True255class Galeon(UnixBrowser):256 """Launcher class for Galeon/Epiphany browsers."""257 raise_opts = ["-noraise", ""]258 remote_args = ['%action', '%s']259 remote_action = "-n"260 remote_action_newwin = "-w"261 background = True262class Chrome(UnixBrowser):263 "Launcher class for Google Chrome browser."264 remote_args = ['%action', '%s']265 remote_action = ""266 remote_action_newwin = "--new-window"267 remote_action_newtab = ""268 background = True269Chromium = Chrome270class Opera(UnixBrowser):271 "Launcher class for Opera browser."272 remote_args = ['%action', '%s']273 remote_action = ""274 remote_action_newwin = "--new-window"275 remote_action_newtab = ""276 background = True277class Elinks(UnixBrowser):278 "Launcher class for Elinks browsers."279 remote_args = ['-remote', 'openURL(%s%action)']280 remote_action = ""281 remote_action_newwin = ",new-window"282 remote_action_newtab = ",new-tab"283 background = False284 # elinks doesn't like its stdout to be redirected -285 # it uses redirected stdout as a signal to do -dump286 redirect_stdout = False287class Konqueror(BaseBrowser):288 """Controller for the KDE File Manager (kfm, or Konqueror).289 See the output of ``kfmclient --commands``290 for more information on the Konqueror remote-control interface.291 """292 def open(self, url, new=0, autoraise=True):293 sys.audit("webbrowser.open", url)294 # XXX Currently I know no way to prevent KFM from opening a new win.295 if new == 2:296 action = "newTab"297 else:298 action = "openURL"299 devnull = subprocess.DEVNULL300 try:301 p = subprocess.Popen(["kfmclient", action, url],302 close_fds=True, stdin=devnull,303 stdout=devnull, stderr=devnull)304 except OSError:305 # fall through to next variant306 pass307 else:308 p.wait()309 # kfmclient's return code unfortunately has no meaning as it seems310 return True311 try:312 p = subprocess.Popen(["konqueror", "--silent", url],313 close_fds=True, stdin=devnull,314 stdout=devnull, stderr=devnull,315 start_new_session=True)316 except OSError:317 # fall through to next variant318 pass319 else:320 if p.poll() is None:321 # Should be running now.322 return True323 try:324 p = subprocess.Popen(["kfm", "-d", url],325 close_fds=True, stdin=devnull,326 stdout=devnull, stderr=devnull,327 start_new_session=True)328 except OSError:329 return False330 else:331 return (p.poll() is None)332class Grail(BaseBrowser):333 # There should be a way to maintain a connection to Grail, but the334 # Grail remote control protocol doesn't really allow that at this335 # point. It probably never will!336 def _find_grail_rc(self):337 import glob338 import pwd339 import socket340 import tempfile341 tempdir = os.path.join(tempfile.gettempdir(),342 ".grail-unix")343 user = pwd.getpwuid(os.getuid())[0]344 filename = os.path.join(glob.escape(tempdir), glob.escape(user) + "-*")345 maybes = glob.glob(filename)346 if not maybes:347 return None348 s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)349 for fn in maybes:350 # need to PING each one until we find one that's live351 try:352 s.connect(fn)353 except OSError:354 # no good; attempt to clean it out, but don't fail:355 try:356 os.unlink(fn)357 except OSError:358 pass359 else:360 return s361 def _remote(self, action):362 s = self._find_grail_rc()363 if not s:364 return 0365 s.send(action)366 s.close()367 return 1368 def open(self, url, new=0, autoraise=True):369 sys.audit("webbrowser.open", url)370 if new:371 ok = self._remote("LOADNEW " + url)372 else:373 ok = self._remote("LOAD " + url)374 return ok375#376# Platform support for Unix377#378# These are the right tests because all these Unix browsers require either379# a console terminal or an X display to run.380def register_X_browsers():381 # use xdg-open if around382 if shutil.which("xdg-open"):383 register("xdg-open", None, BackgroundBrowser("xdg-open"))384 # The default GNOME3 browser385 if "GNOME_DESKTOP_SESSION_ID" in os.environ and shutil.which("gvfs-open"):386 register("gvfs-open", None, BackgroundBrowser("gvfs-open"))387 # The default GNOME browser388 if "GNOME_DESKTOP_SESSION_ID" in os.environ and shutil.which("gnome-open"):389 register("gnome-open", None, BackgroundBrowser("gnome-open"))390 # The default KDE browser391 if "KDE_FULL_SESSION" in os.environ and shutil.which("kfmclient"):392 register("kfmclient", Konqueror, Konqueror("kfmclient"))393 if shutil.which("x-www-browser"):394 register("x-www-browser", None, BackgroundBrowser("x-www-browser"))395 # The Mozilla browsers396 for browser in ("firefox", "iceweasel", "iceape", "seamonkey"):397 if shutil.which(browser):398 register(browser, None, Mozilla(browser))399 # The Netscape and old Mozilla browsers400 for browser in ("mozilla-firefox",401 "mozilla-firebird", "firebird",402 "mozilla", "netscape"):403 if shutil.which(browser):404 register(browser, None, Netscape(browser))405 # Konqueror/kfm, the KDE browser.406 if shutil.which("kfm"):407 register("kfm", Konqueror, Konqueror("kfm"))408 elif shutil.which("konqueror"):409 register("konqueror", Konqueror, Konqueror("konqueror"))410 # Gnome's Galeon and Epiphany411 for browser in ("galeon", "epiphany"):412 if shutil.which(browser):413 register(browser, None, Galeon(browser))414 # Skipstone, another Gtk/Mozilla based browser415 if shutil.which("skipstone"):416 register("skipstone", None, BackgroundBrowser("skipstone"))417 # Google Chrome/Chromium browsers418 for browser in ("google-chrome", "chrome", "chromium", "chromium-browser"):419 if shutil.which(browser):420 register(browser, None, Chrome(browser))421 # Opera, quite popular422 if shutil.which("opera"):423 register("opera", None, Opera("opera"))424 # Next, Mosaic -- old but still in use.425 if shutil.which("mosaic"):426 register("mosaic", None, BackgroundBrowser("mosaic"))427 # Grail, the Python browser. Does anybody still use it?428 if shutil.which("grail"):429 register("grail", Grail, None)430def register_standard_browsers():431 global _tryorder432 _tryorder = []433 if sys.platform == 'darwin':434 register("MacOSX", None, MacOSXOSAScript('default'))435 register("chrome", None, MacOSXOSAScript('chrome'))436 register("firefox", None, MacOSXOSAScript('firefox'))437 register("safari", None, MacOSXOSAScript('safari'))438 # OS X can use below Unix support (but we prefer using the OS X439 # specific stuff)440 if sys.platform == "serenityos":441 # SerenityOS webbrowser, simply called "Browser".442 register("Browser", None, BackgroundBrowser("Browser"))443 if sys.platform[:3] == "win":444 # First try to use the default Windows browser445 register("windows-default", WindowsDefault)446 # Detect some common Windows browsers, fallback to IE447 iexplore = os.path.join(os.environ.get("PROGRAMFILES", "C:\\Program Files"),448 "Internet Explorer\\IEXPLORE.EXE")449 for browser in ("firefox", "firebird", "seamonkey", "mozilla",450 "netscape", "opera", iexplore):451 if shutil.which(browser):452 register(browser, None, BackgroundBrowser(browser))453 else:454 # Prefer X browsers if present455 if os.environ.get("DISPLAY") or os.environ.get("WAYLAND_DISPLAY"):456 try:457 cmd = "xdg-settings get default-web-browser".split()458 raw_result = subprocess.check_output(cmd, stderr=subprocess.DEVNULL)459 result = raw_result.decode().strip()460 except (FileNotFoundError, subprocess.CalledProcessError, PermissionError, NotADirectoryError) :461 pass462 else:463 global _os_preferred_browser464 _os_preferred_browser = result465 register_X_browsers()466 # Also try console browsers467 if os.environ.get("TERM"):468 if shutil.which("www-browser"):469 register("www-browser", None, GenericBrowser("www-browser"))470 # The Links/elinks browsers <http://artax.karlin.mff.cuni.cz/~mikulas/links/>471 if shutil.which("links"):472 register("links", None, GenericBrowser("links"))473 if shutil.which("elinks"):474 register("elinks", None, Elinks("elinks"))475 # The Lynx browser <http://lynx.isc.org/>, <http://lynx.browser.org/>476 if shutil.which("lynx"):477 register("lynx", None, GenericBrowser("lynx"))478 # The w3m browser <http://w3m.sourceforge.net/>479 if shutil.which("w3m"):480 register("w3m", None, GenericBrowser("w3m"))481 # OK, now that we know what the default preference orders for each482 # platform are, allow user to override them with the BROWSER variable.483 if "BROWSER" in os.environ:484 userchoices = os.environ["BROWSER"].split(os.pathsep)485 userchoices.reverse()486 # Treat choices in same way as if passed into get() but do register487 # and prepend to _tryorder488 for cmdline in userchoices:489 if cmdline != '':490 cmd = _synthesize(cmdline, preferred=True)491 if cmd[1] is None:492 register(cmdline, None, GenericBrowser(cmdline), preferred=True)493 # what to do if _tryorder is now empty?494#495# Platform support for Windows496#497if sys.platform[:3] == "win":498 class WindowsDefault(BaseBrowser):499 def open(self, url, new=0, autoraise=True):500 sys.audit("webbrowser.open", url)501 try:502 os.startfile(url)503 except OSError:504 # [Error 22] No application is associated with the specified505 # file for this operation: '<URL>'506 return False507 else:508 return True509#510# Platform support for MacOS511#512if sys.platform == 'darwin':513 # Adapted from patch submitted to SourceForge by Steven J. Burr514 class MacOSX(BaseBrowser):515 """Launcher class for Aqua browsers on Mac OS X516 Optionally specify a browser name on instantiation. Note that this517 will not work for Aqua browsers if the user has moved the application518 package after installation.519 If no browser is specified, the default browser, as specified in the520 Internet System Preferences panel, will be used.521 """522 def __init__(self, name):523 self.name = name524 def open(self, url, new=0, autoraise=True):525 sys.audit("webbrowser.open", url)526 assert "'" not in url527 # hack for local urls528 if not ':' in url:529 url = 'file:'+url530 # new must be 0 or 1531 new = int(bool(new))532 if self.name == "default":533 # User called open, open_new or get without a browser parameter534 script = 'open location "%s"' % url.replace('"', '%22') # opens in default browser535 else:536 # User called get and chose a browser537 if self.name == "OmniWeb":538 toWindow = ""539 else:540 # Include toWindow parameter of OpenURL command for browsers541 # that support it. 0 == new window; -1 == existing542 toWindow = "toWindow %d" % (new - 1)543 cmd = 'OpenURL "%s"' % url.replace('"', '%22')544 script = '''tell application "%s"545 activate546 %s %s547 end tell''' % (self.name, cmd, toWindow)548 # Open pipe to AppleScript through osascript command549 osapipe = os.popen("osascript", "w")550 if osapipe is None:551 return False552 # Write script to osascript's stdin553 osapipe.write(script)554 rc = osapipe.close()555 return not rc556 class MacOSXOSAScript(BaseBrowser):557 def __init__(self, name):558 self._name = name559 def open(self, url, new=0, autoraise=True):560 if self._name == 'default':561 script = 'open location "%s"' % url.replace('"', '%22') # opens in default browser562 else:563 script = '''564 tell application "%s"565 activate566 open location "%s"567 end568 '''%(self._name, url.replace('"', '%22'))569 osapipe = os.popen("osascript", "w")570 if osapipe is None:571 return False572 osapipe.write(script)573 rc = osapipe.close()574 return not rc575def main():576 import getopt577 usage = """Usage: %s [-n | -t] url578 -n: open new window579 -t: open new tab""" % sys.argv[0]580 try:581 opts, args = getopt.getopt(sys.argv[1:], 'ntd')582 except getopt.error as msg:583 print(msg, file=sys.stderr)584 print(usage, file=sys.stderr)585 sys.exit(1)586 new_win = 0587 for o, a in opts:588 if o == '-n': new_win = 1589 elif o == '-t': new_win = 2590 if len(args) != 1:591 print(usage, file=sys.stderr)592 sys.exit(1)593 url = args[0]594 open(url, new_win)595 print("\a")596if __name__ == "__main__":...

Full Screen

Full Screen

GenericTelemetry.py

Source:GenericTelemetry.py Github

copy

Full Screen

1#!/usr/bin/env python2# 3import sys4import csv5import getopt 6import pdb7import zmq8from PyQt4 import QtGui, QtCore9from GenericTelemetryDialog import Ui_GenericTelemetryDialog10from struct import *11class SubsystemTelemetry(QtGui.QDialog):12 pktCount = 013 #14 # Init the class15 #16 def __init__(self):17 QtGui.QDialog.__init__(self)18 self.ui = Ui_GenericTelemetryDialog()19 self.ui.setupUi(self)20 # 21 # This method Decodes a telemetry item from the packet and displays it 22 #23 def displayTelemetryItem(self, datagram, tlmIndex, labelField, valueField):24 if tlmItemIsValid[tlmIndex] == True:25 TlmField = unpack(tlmItemFormat[tlmIndex], datagram[int(tlmItemStart[tlmIndex]):(int(tlmItemStart[tlmIndex]) + int(tlmItemSize[tlmIndex]))])26 if tlmItemDisplayType[tlmIndex] == 'Dec':27 valueField.setText(str(TlmField[0]))28 elif tlmItemDisplayType[tlmIndex] == 'Hex':29 valueField.setText(hex(TlmField[0]))30 elif tlmItemDisplayType[tlmIndex] == 'Enm':31 valueField.setText(tlmItemEnum[tlmIndex][int(TlmField[0])])32 elif tlmItemDisplayType[tlmIndex] == 'Str':33 valueField.setText(TlmField[0])34 labelField.setText(tlmItemDesc[tlmIndex])35 else:36 labelField.setText("(unused)")37 # Start the telemetry receiver (see TlmReceiver class)38 def initTlmReceiver(self, subscription):39 self.setWindowTitle(pageTitle + ' for: ' + subscription)40 self.thread = TlmReceiver(self, subscription)41 self.connect(self.thread, self.thread.signalTlmDatagram, self.processPendingDatagrams)42 self.thread.start()43 #44 # This method processes packets. Called when the TelemetryReceiver receives a message/packet45 #46 def processPendingDatagrams(self, datagram):47 #48 # Show number of packets received49 #50 self.pktCount += 151 self.ui.sequenceCount.setText(str(self.pktCount))52 #53 # Decode and display all packet elements54 #55 self.displayTelemetryItem(datagram, 0, self.ui.itemLabelTextBrowser_1, self.ui.itemValueTextBrowser_1)56 self.displayTelemetryItem(datagram, 1, self.ui.itemLabelTextBrowser_2, self.ui.itemValueTextBrowser_2)57 self.displayTelemetryItem(datagram, 2, self.ui.itemLabelTextBrowser_3, self.ui.itemValueTextBrowser_3)58 self.displayTelemetryItem(datagram, 3, self.ui.itemLabelTextBrowser_4, self.ui.itemValueTextBrowser_4)59 self.displayTelemetryItem(datagram, 4, self.ui.itemLabelTextBrowser_5, self.ui.itemValueTextBrowser_5)60 self.displayTelemetryItem(datagram, 5, self.ui.itemLabelTextBrowser_6, self.ui.itemValueTextBrowser_6)61 self.displayTelemetryItem(datagram, 6, self.ui.itemLabelTextBrowser_7, self.ui.itemValueTextBrowser_7)62 self.displayTelemetryItem(datagram, 7, self.ui.itemLabelTextBrowser_8, self.ui.itemValueTextBrowser_8)63 self.displayTelemetryItem(datagram, 8, self.ui.itemLabelTextBrowser_9, self.ui.itemValueTextBrowser_9)64 self.displayTelemetryItem(datagram, 9, self.ui.itemLabelTextBrowser_10, self.ui.itemValueTextBrowser_10)65 self.displayTelemetryItem(datagram, 10, self.ui.itemLabelTextBrowser_11, self.ui.itemValueTextBrowser_11)66 self.displayTelemetryItem(datagram, 11, self.ui.itemLabelTextBrowser_12, self.ui.itemValueTextBrowser_12)67 self.displayTelemetryItem(datagram, 12, self.ui.itemLabelTextBrowser_13, self.ui.itemValueTextBrowser_13)68 self.displayTelemetryItem(datagram, 13, self.ui.itemLabelTextBrowser_14, self.ui.itemValueTextBrowser_14)69 self.displayTelemetryItem(datagram, 14, self.ui.itemLabelTextBrowser_15, self.ui.itemValueTextBrowser_15)70 self.displayTelemetryItem(datagram, 15, self.ui.itemLabelTextBrowser_16, self.ui.itemValueTextBrowser_16)71 self.displayTelemetryItem(datagram, 16, self.ui.itemLabelTextBrowser_17, self.ui.itemValueTextBrowser_17)72 self.displayTelemetryItem(datagram, 17, self.ui.itemLabelTextBrowser_18, self.ui.itemValueTextBrowser_18)73 self.displayTelemetryItem(datagram, 18, self.ui.itemLabelTextBrowser_19, self.ui.itemValueTextBrowser_19)74 self.displayTelemetryItem(datagram, 19, self.ui.itemLabelTextBrowser_20, self.ui.itemValueTextBrowser_20)75 self.displayTelemetryItem(datagram, 20, self.ui.itemLabelTextBrowser_21, self.ui.itemValueTextBrowser_21)76 self.displayTelemetryItem(datagram, 21, self.ui.itemLabelTextBrowser_22, self.ui.itemValueTextBrowser_22)77 self.displayTelemetryItem(datagram, 22, self.ui.itemLabelTextBrowser_23, self.ui.itemValueTextBrowser_23)78 self.displayTelemetryItem(datagram, 23, self.ui.itemLabelTextBrowser_24, self.ui.itemValueTextBrowser_24)79 self.displayTelemetryItem(datagram, 24, self.ui.itemLabelTextBrowser_25, self.ui.itemValueTextBrowser_25)80 self.displayTelemetryItem(datagram, 25, self.ui.itemLabelTextBrowser_26, self.ui.itemValueTextBrowser_26)81 self.displayTelemetryItem(datagram, 26, self.ui.itemLabelTextBrowser_27, self.ui.itemValueTextBrowser_27)82 self.displayTelemetryItem(datagram, 27, self.ui.itemLabelTextBrowser_28, self.ui.itemValueTextBrowser_28)83 self.displayTelemetryItem(datagram, 28, self.ui.itemLabelTextBrowser_29, self.ui.itemValueTextBrowser_29)84 self.displayTelemetryItem(datagram, 29, self.ui.itemLabelTextBrowser_30, self.ui.itemValueTextBrowser_30)85 self.displayTelemetryItem(datagram, 30, self.ui.itemLabelTextBrowser_31, self.ui.itemValueTextBrowser_31)86 self.displayTelemetryItem(datagram, 31, self.ui.itemLabelTextBrowser_32, self.ui.itemValueTextBrowser_32)87 self.displayTelemetryItem(datagram, 32, self.ui.itemLabelTextBrowser_33, self.ui.itemValueTextBrowser_33)88 self.displayTelemetryItem(datagram, 33, self.ui.itemLabelTextBrowser_34, self.ui.itemValueTextBrowser_34)89 self.displayTelemetryItem(datagram, 34, self.ui.itemLabelTextBrowser_35, self.ui.itemValueTextBrowser_35)90 self.displayTelemetryItem(datagram, 35, self.ui.itemLabelTextBrowser_36, self.ui.itemValueTextBrowser_36)91 self.displayTelemetryItem(datagram, 36, self.ui.itemLabelTextBrowser_37, self.ui.itemValueTextBrowser_37)92 self.displayTelemetryItem(datagram, 37, self.ui.itemLabelTextBrowser_38, self.ui.itemValueTextBrowser_38)93 self.displayTelemetryItem(datagram, 38, self.ui.itemLabelTextBrowser_39, self.ui.itemValueTextBrowser_39)94 self.displayTelemetryItem(datagram, 39, self.ui.itemLabelTextBrowser_40, self.ui.itemValueTextBrowser_40)95# Subscribes and receives zeroMQ messages96class TlmReceiver(QtCore.QThread):97 98 def __init__(self, mainWindow, subscription):99 QtCore.QThread.__init__(self)100 # Setup signal to communicate with front-end GUI101 self.signalTlmDatagram = QtCore.SIGNAL("TlmDatagram")102 103 # Init zeroMQ104 self.context = zmq.Context()105 self.subscriber = self.context.socket(zmq.SUB)106 self.subscriber.connect("ipc:///tmp/GroundSystem")107 self.subscriber.setsockopt(zmq.SUBSCRIBE, subscription)108 109 def run(self):110 while True:111 # Read envelope with address112 [address, datagram] = self.subscriber.recv_multipart()113 #print("[%s] %s" % (address, datagram))114 # Send signal with received packet to front-end/GUI115 self.emit(self.signalTlmDatagram, datagram)116#117# Display usage118#119def usage():120 print "Must specify --title=<page name> --port=<udp_port> --appid=<packet_app_id(hex)> --endian=<endian(L|B) --file=<tlm_def_file> --sub=<subscriber_string>"121 print " example: --title=Executive Services --port=10800 --appid=800 --file=cfe-es-hk-table.txt --endian=L --sub=GroundSystem.Spacecraft1.0x886"122 print " (quotes are not on the title string in this example)" 123#124# Main 125#126if __name__ == '__main__':127 #128 # Set defaults for the arguments129 #130 pageTitle = "Telemetry Page" 131 udpPort = 10000132 appId = 999 133 tlmDefFile = "telemetry_def.txt"134 endian = "L"135 subscription = ""136 137 #138 # process cmd line args 139 #140 try: 141 opts, args = getopt.getopt(sys.argv[1:], "htpafl", ["help", "title=", "port=", "appid=","file=", "endian=", "sub="])142 except getopt.GetoptError: 143 usage() 144 sys.exit(2) 145 for opt, arg in opts: 146 if opt in ("-h", "--help"): 147 usage() 148 sys.exit() 149 elif opt in ("-p", "--port"): 150 udpPort = arg 151 elif opt in ("-t", "--title"): 152 pageTitle = arg 153 elif opt in ("-f", "--file"): 154 tlmDefFile = arg 155 elif opt in ("-t", "--appid"): 156 appId = arg 157 elif opt in ("-e", "--endian"): 158 endian = arg 159 elif opt in ("-s", "--sub"):160 subscription = arg161 if len(subscription) == 0:162 subscription = "GroundSystem"163 print 'Generic Telemetry Page started. Subscribed to ' + subscription164 if endian == 'L':165 py_endian = '<'166 else:167 py_endian = '>'168 #169 # Init the QT application and the telemetry class170 #171 app = QtGui.QApplication(sys.argv)172 Telem = SubsystemTelemetry()173 Telem.ui.subSystemTextBrowser.setText(pageTitle)174 Telem.ui.packetId.display(appId)175 #176 # Read in the contents of the telemetry packet defintion177 #178 tlmItemIsValid = []179 tlmItemDesc = []180 tlmItemStart = []181 tlmItemSize = []182 tlmItemDisplayType = []183 tlmItemFormat = []184 tlmItemEnum = [[] for i in range(40)]185 i = 0186 with open(tlmDefFile, 'rb') as tlmfile:187 reader = csv.reader(tlmfile, skipinitialspace = True)188 for row in reader:189 if row[0][0] != '#':190 tlmItemIsValid.append(True)191 tlmItemDesc.append(row[0])192 tlmItemStart.append(row[1])193 tlmItemSize.append(row[2])194 if row[3] == 's':195 tlmItemFormat.append(row[2]+row[3])196 else:197 tlmItemFormat.append(py_endian + row[3])198 tlmItemDisplayType.append(row[4])199 if row[4] == 'Enm':200 tlmItemEnum[i].append(row[5])201 tlmItemEnum[i].append(row[6])202 tlmItemEnum[i].append(row[7])203 tlmItemEnum[i].append(row[8])204 i = i + 1205 # 206 # Mark the remaining values as invalid207 #208 for j in range (i, 40):209 tlmItemIsValid.append(False)210 # 211 # Display the page 212 #213 Telem.show()214 Telem.raise_()215 Telem.initTlmReceiver(subscription)...

Full Screen

Full Screen

update_selenoid_browsers.py

Source:update_selenoid_browsers.py Github

copy

Full Screen

1##########################################################################2#3# pgAdmin 4 - PostgreSQL Tools4#5# Copyright (C) 2013 - 2021, The pgAdmin Development Team6# This software is released under the PostgreSQL Licence7#8# #########################################################################9# Updates browser images(selenoid-docker) depending on arguments passed while10# running this script.11# e.g. --chrome /usr/bin/google-chrome --firefox /usr/bin/firefox12# Access details about switches using help13# e.g. --help14import argparse15import os16import subprocess17import sys18import traceback19import requests20import json21def read_command_line():22 """Read the command line arguments.23 Returns:24 ArgumentParser: The parsed arguments object25 """26 parser = argparse.ArgumentParser(27 description='Get latest browser images(chrome & firefox) for selenoid.'28 'e.g. - --chrome /usr/bin/google-chrome --firefox '29 '/usr/bin/firefox')30 parser.add_argument("--chrome", metavar="CHROME",31 help="the Chrome executable path")32 parser.add_argument("--firefox", metavar="FIREFOX",33 help="the firefox executable path")34 args_val = parser.parse_args()35 return args_val36def get_browser_version(browser_name, executable_path):37 """38 Function returns browser version for specified browser using executable39 path passed in arguments.40 :param browser_name:41 :param executable_path: e.g. /usr/bin/firefox42 :return: browser version43 """44 # On Linux/Mac we run the browser executable with the --version flag,45 # then parse the output.46 browser_version_val = None47 try:48 result = subprocess.Popen([executable_path, '--version'],49 stdout=subprocess.PIPE)50 except FileNotFoundError:51 print('The specified browser executable could not be found.')52 sys.exit(1)53 version_str = result.stdout.read().decode("utf-8")54 if browser_name.lower() == "chrome":55 # Check for 'Chrom' not 'Chrome' in case the user is using Chromium.56 if "Chrom" not in version_str:57 print('The specified Chrome executable output an unexpected '58 'version string: {}.'.format(version_str))59 sys.exit(1)60 # On some linux distro `chrome--version` gives output like61 # 'Google Chrome 80.0.3987.132 unknown\n'62 # so we need to check and remove the unknown string from the version63 if version_str.endswith("unknown\n"):64 version_str = version_str.strip("unknown\n").strip()65 chrome_version = '.'.join(version_str.split()[-1].split('.')[:-2])66 # Make sure browser version has only 1 decimal point67 if chrome_version.count('.') != 1:68 print('The specified Chrome executable output an unexpected '69 'version string: {}.'.format(version_str))70 sys.exit(1)71 browser_version_val = chrome_version72 elif browser_name.lower() == "firefox":73 if "Firefox" not in version_str:74 print('The specified Firefox executable output an unexpected '75 'version string: {}.'.format(version_str))76 sys.exit(1)77 # Some time firefox --version gives output like78 # 'Running without a11y support!79 # Mozilla Firefox 68.7.0esr'80 # Other output - [root@localhost local]# /usr/bin/firefox --version81 # Mozilla Firefox 75.082 if 'esr' in version_str:83 firefox_version = '.'.join(84 version_str.split('esr')[0].split()[-1].split('.')[:-1])85 else:86 firefox_version = '.'.join(87 version_str.split()[-1].split('.')[:-1])88 if firefox_version.count('.') == 0:89 firefox_version = firefox_version + '.0'90 # Make sure browser version has only 1 decimal point91 if firefox_version.count('.') != 1:92 print('The specified Firefox executable output an unexpected '93 'version string: {}.'.format(version_str))94 sys.exit(1)95 browser_version_val = firefox_version96 else:97 print("{0} is not recognised ".format(browser_name))98 sys.exit(1)99 return browser_version_val100def check_and_download_vnc_browser_image(browser_name, browser_version):101 """102 Function checks presence for vnc images for passed browser103 at docker.io/selenoid/ registry104 :param browser_name:105 :param browser_version:106 :return:true if browser image is available & downloaded else false107 """108 res = requests.get(109 'https://registry.hub.docker.com/v2/repositories/selenoid/vnc_' +110 browser_name + '/tags/')111 res = res.json()112 version_tag = []113 if len(res['results']) > 0:114 for result in res['results']:115 if 'name' in result:116 version_tag.append(result['name'])117 vnc_image_available = False118 image_name = 'vnc_' + browser_name + ':' + browser_version119 for idx, tag in enumerate(version_tag):120 if browser_version == tag:121 command = 'docker pull selenoid/vnc_' + browser_name + ':' \122 + browser_version123 print(' VNC image is available & downloading now... {0}'.format(124 command))125 try:126 subprocess.call([command], shell=True, stdout=subprocess.PIPE)127 vnc_image_available = True128 except Exception:129 traceback.print_exc(file=sys.stderr)130 print(131 '{0} Image found but could not be downloaded.'.132 format(command))133 sys.exit(1)134 break135 elif idx == len(version_tag):136 print("{0} Image is not available.".format(image_name))137 vnc_image_available = False138 return vnc_image_available139def reload_selenoid_config():140 """141 Function runs command to refresh selenoid configuration142 :return: true if command execution for selenoid reload is successful143 else false144 """145 command = 'docker kill -s HUP selenoid'146 reload_successful = False147 try:148 subprocess.call([command], shell=True, stdout=subprocess.PIPE)149 print(" Selenoid Configuration is reloaded.")150 reload_successful = True151 except Exception:152 traceback.print_exc(file=sys.stderr)153 print('Error while reloading selenoid configuration.')154 sys.exit(1)155 return reload_successful156def edit_browsers_json(browser_name, browser_version):157 """158 Function edits browsers.json which is used by selenoid to159 load browser configuration.160 Default path for this file is161 "user_home_dir + '/.aerokube/selenoid/browsers.json'"162 Currently this is hardcoded, might need to modify163 if we want to pass customize browsers.json164 :param browser_name:165 :param browser_version:166 :return:167 """168 file_edited = True169 # Read existing browsers.json170 json_file = open(file_path, 'r')171 existing_data = json.load(json_file)172 updated_data = None173 # Update data for new browser images174 if browser_name.lower() == 'chrome':175 version_data = existing_data['chrome']['versions']176 if browser_version in version_data.keys():177 print(" {0}:{1} is already updated in browsers.json.".format(178 browser_name, browser_version))179 file_edited = True180 else:181 data_to_insert = dict(182 {browser_version: {183 'image': 'selenoid/vnc_chrome:' + browser_version,184 'port': '4444', 'path': '/'}})185 (existing_data['chrome']['versions']).update(data_to_insert)186 updated_data = existing_data187 print(updated_data)188 elif browser_name.lower() == 'firefox':189 version_data = existing_data['firefox']['versions']190 if browser_version in version_data.keys():191 print(" {0}:{1} is already updated in browsers.json.".format(192 browser_name, browser_version))193 file_edited = True194 else:195 data_to_insert = dict(196 {browser_version: {197 'image': 'selenoid/vnc_firefox:' + browser_version,198 'port': '4444', 'path': '/wd/hub'}})199 (existing_data['firefox']['versions']).update(data_to_insert)200 updated_data = existing_data201 else:202 print("Browser version not matched")203 file_edited = False204 # Write updated data in browsers.json205 if updated_data is not None:206 json_file = open(file_path, 'w')207 json.dump(updated_data, json_file)208 print(" 'browsers.json' is updated for {0} {1}".format(209 browser_name, browser_version))210 file_edited = True211 return file_edited212# Main Program starts here213# Read command line arguments & get list of browser_name, executable path.214args = vars(read_command_line())215# Get path path for browsers.json216user_home_dir = os.getenv("HOME")217file_path = user_home_dir + '/.aerokube/selenoid/browsers.json'218print("***** Updating '{0}' for new browser versions.*****".format(file_path))219# Iterate over arguments passed220for browser, executable_path in args.items():221 if executable_path is not None:222 # Get browser name223 browser_name = browser224 # Get browser version225 browser_version = get_browser_version(browser, executable_path)226 print(227 " Browser version for {0} is {1} in current executable path ".228 format(browser_name, browser_version))229 # Download vnc browser image.230 download_new_image = check_and_download_vnc_browser_image(231 browser_name, browser_version)232 # If browser vnc image is available, then edit browsers.json233 if download_new_image:234 if edit_browsers_json(browser_name, browser_version):235 print(236 " File 'browsers.json' is updated for {0} - {1} \n".format(237 browser_name, browser_version))238 else:239 print(240 " File 'browsers.json' can NOT be updated for {0} - {1} \n"241 .format(browser_name, browser_version))242 else:243 print(" Browser image is not available for {0}, {1}".format(244 browser_name, browser_version))245# Reload selenoid configuration246if reload_selenoid_config():247 print(...

Full Screen

Full Screen

dual_browser_story.py

Source:dual_browser_story.py Github

copy

Full Screen

1# Copyright 2016 The Chromium Authors. All rights reserved.2# Use of this source code is governed by a BSD-style license that can be3# found in the LICENSE file.4import collections5import logging6import re7import sys8import urllib9from telemetry import decorators10from telemetry import story as story_module11# TODO(perezju): Remove references to telementry.internal when12# https://github.com/catapult-project/catapult/issues/2102 is resolved.13from telemetry.internal.browser import browser_finder14from telemetry.internal.browser import browser_finder_exceptions15from telemetry.util import wpr_modes16from page_sets.top_10_mobile import URL_LIST17GOOGLE_SEARCH = 'https://www.google.com/search?'18SEARCH_QUERIES = [19 'science',20 'cat pictures',21 '1600 Amphitheatre Pkwy, Mountain View, CA',22 'tom hanks',23 'weather 94110',24 'goog',25 'population of california',26 'sfo jfk flights',27 'movies 94110',28 'tip on 100 bill'29]30def _OptionsForBrowser(browser_type, finder_options):31 """Return options used to get a browser of the given type.32 TODO(perezju): Currently this clones the finder_options passed via the33 command line to telemetry. When browser_options are split appart from34 finder_options (crbug.com/570348) we will be able to construct our own35 browser_options as needed.36 """37 finder_options = finder_options.Copy()38 finder_options.browser_type = browser_type39 finder_options.browser_executable = None40 finder_options.browser_options.browser_type = browser_type41 return finder_options42class MultiBrowserSharedState(story_module.SharedState):43 def __init__(self, test, finder_options, story_set):44 """A shared state to run a test involving multiple browsers.45 The story_set is expected to include SinglePage instances (class defined46 below) mapping each page to a browser on which to run. The state47 requires at least one page to run on the 'default' browser, i.e. the48 browser selected from the command line by the user.49 """50 super(MultiBrowserSharedState, self).__init__(51 test, finder_options, story_set)52 self._platform = None53 self._story_set = story_set54 self._possible_browsers = {}55 # We use an ordered dict to record the order in which browsers appear on56 # the story set. However, browsers are not created yet.57 self._browsers_created = False58 self._browsers = collections.OrderedDict(59 (s.browser_type, None) for s in story_set)60 self._current_story = None61 self._current_browser = None62 self._current_tab = None63 possible_browser = self._PrepareBrowser('default', finder_options)64 if not possible_browser:65 raise browser_finder_exceptions.BrowserFinderException(66 'No browser found.\n\nAvailable browsers:\n%s\n' %67 '\n'.join(browser_finder.GetAllAvailableBrowserTypes(finder_options)))68 if not finder_options.run_disabled_tests:69 self._CheckTestEnabled(test, possible_browser)70 extra_browser_types = set(story.browser_type for story in story_set)71 extra_browser_types.remove('default') # Must include 'default' browser.72 for browser_type in extra_browser_types:73 options = _OptionsForBrowser(browser_type, finder_options)74 if not self._PrepareBrowser(browser_type, options):75 logging.warning('Skipping %s (%s) because %s browser is not available',76 test.__name__, str(test), browser_type)77 logging.warning('Install %s to be able to run the test.', browser_type)78 sys.exit(0)79 # TODO(crbug/404771): Move network controller options out of80 # browser_options and into finder_options.81 browser_options = finder_options.browser_options82 if finder_options.use_live_sites:83 wpr_mode = wpr_modes.WPR_OFF84 elif browser_options.wpr_mode == wpr_modes.WPR_RECORD:85 wpr_mode = wpr_modes.WPR_RECORD86 else:87 wpr_mode = wpr_modes.WPR_REPLAY88 self.platform.network_controller.Open(wpr_mode,89 browser_options.extra_wpr_args)90 @property91 def current_tab(self):92 return self._current_tab93 @property94 def platform(self):95 return self._platform96 def _CheckTestEnabled(self, test, possible_browser):97 should_skip, msg = decorators.ShouldSkip(test, possible_browser)98 if should_skip:99 logging.warning(msg)100 logging.warning('You are trying to run a disabled test.')101 logging.warning(102 'Pass --also-run-disabled-tests to squelch this message.')103 sys.exit(0)104 def _PrepareBrowser(self, browser_type, options):105 """Add a browser to the dict of possible browsers.106 TODO(perezju): When available, use the GetBrowserForPlatform API instead.107 See: crbug.com/570348108 Returns:109 The possible browser if found, or None otherwise.110 """111 possible_browser = browser_finder.FindBrowser(options)112 if possible_browser is None:113 return None114 if self._platform is None:115 self._platform = possible_browser.platform116 else:117 assert self._platform is possible_browser.platform118 self._possible_browsers[browser_type] = (possible_browser, options)119 return possible_browser120 def _CreateAllBrowsersIfNeeeded(self):121 """Launch all browsers needed for the story set, if not already done.122 This ensures that all browsers are alive during the whole duration of the123 benchmark and, therefore, e.g. memory dumps are always provided for all124 of them.125 """126 if self._browsers_created:127 return128 for browser_type in self._browsers:129 possible_browser, options = self._possible_browsers[browser_type]130 self._browsers[browser_type] = possible_browser.Create(options)131 self._browsers_created = True132 def _CloseAllBrowsers(self):133 """Close all of the browsers that were launched for this benchmark."""134 if not self._browsers_created:135 return136 for browser_type, browser in self._browsers.iteritems():137 try:138 browser.Close()139 except Exception:140 logging.exception('Error while closing %s browser', browser_type)141 self._browsers[browser_type] = None142 self._browsers_created = False143 def CanRunStory(self, _):144 return True145 def WillRunStory(self, story):146 self._current_story = story147 self.platform.network_controller.StartReplay(148 self._story_set.WprFilePathForStory(story),149 story.make_javascript_deterministic)150 # Note: browsers need to be created after replay has been started.151 self._CreateAllBrowsersIfNeeeded()152 self._current_browser = self._browsers[story.browser_type]153 self._current_browser.Foreground()154 self._current_tab = self._current_browser.foreground_tab155 def RunStory(self, _):156 self._current_story.Run(self)157 def DidRunStory(self, _):158 self._current_story = None159 def TakeMemoryMeasurement(self):160 self.current_tab.action_runner.ForceGarbageCollection()161 self.platform.FlushEntireSystemCache()162 if not self.platform.tracing_controller.is_tracing_running:163 return # Tracing is not running, e.g., when recording a WPR archive.164 for browser_type, browser in self._browsers.iteritems():165 if not browser.DumpMemory():166 logging.error('Unable to dump memory for %s', browser_type)167 def TearDownState(self):168 self.platform.network_controller.Close()169 self._CloseAllBrowsers()170 def DumpStateUponFailure(self, unused_story, unused_results):171 if self._browsers:172 for browser_type, browser in self._browsers.iteritems():173 logging.info('vvvvv BROWSER STATE BELOW FOR \'%s\' vvvvv', browser_type)174 browser.DumpStateUponFailure()175 else:176 logging.warning('Cannot dump browser states: No browsers.')177class SinglePage(story_module.Story):178 def __init__(self, name, url, browser_type, phase):179 """A story that associates a particular page with a browser to view it.180 Args:181 name: A string with the name of the page as it will appear reported,182 e.g., on results and dashboards.183 url: A string with the url of the page to load.184 browser_type: A string identifying the browser where this page should be185 displayed. Accepts the same strings as the command line --browser186 option (e.g. 'android-webview'), and the special value 'default' to187 select the browser chosen by the user on the command line.188 """189 super(SinglePage, self).__init__(MultiBrowserSharedState, name=name)190 self._url = url191 self._browser_type = browser_type192 self.grouping_keys['phase'] = phase193 @property194 def url(self):195 return self._url196 @property197 def browser_type(self):198 return self._browser_type199 def Run(self, shared_state):200 shared_state.current_tab.Navigate(self._url)201 shared_state.current_tab.WaitForDocumentReadyStateToBeComplete()202 shared_state.TakeMemoryMeasurement()203class DualBrowserStorySet(story_module.StorySet):204 """A story set that switches back and forth between two browsers."""205 def __init__(self):206 super(DualBrowserStorySet, self).__init__(207 archive_data_file='data/dual_browser_story.json',208 cloud_storage_bucket=story_module.PARTNER_BUCKET)209 for query, url in zip(SEARCH_QUERIES, URL_LIST):210 # Stories that run on the android-webview browser.211 self.AddStory(SinglePage(212 name='google_%s' % re.sub('\W+', '_', query.lower()),213 url=GOOGLE_SEARCH + urllib.urlencode({'q': query}),214 browser_type='android-webview',215 phase='on_webview'))216 # Stories that run on the browser selected by command line options.217 self.AddStory(SinglePage(218 name=re.sub('\W+', '_', url),219 url=url,220 browser_type='default',...

Full Screen

Full Screen

profile_extender.py

Source:profile_extender.py Github

copy

Full Screen

...50 # TODO(eakuefner): Remove this after crrev.com/1874473006 rolls in.51 return getattr(self.finder_options, 'output_profile_path',52 self.finder_options.browser_options.output_profile_path)53 @property54 def browser(self):55 return self._browser56 @property57 def os_name(self):58 """Name of OS that extender is currently running on."""59 return self._os_name60 def EnabledOSList(self):61 """Returns a list of OSes that this extender can run on.62 Can be overridden by subclasses.63 Returns:64 List of OS ('win', 'mac', or 'linux') that this extender can run on.65 """66 return ['win', 'mac', 'linux']67 def SetUpBrowser(self):68 """Finds and starts the browser....

Full Screen

Full Screen

NotifiablePluginBrowser.py

Source:NotifiablePluginBrowser.py Github

copy

Full Screen

1from Screens import PluginBrowser as PBBase2from Screens.InfoBarGenerics import InfoBarNotifications3OriginalPluginBrowser = PBBase.PluginBrowser4if not issubclass(OriginalPluginBrowser, InfoBarNotifications):5 class PluginBrowser(OriginalPluginBrowser, InfoBarNotifications):6 def __init__(self, *args, **kwargs):7 OriginalPluginBrowser.__init__(self, *args, **kwargs)8 #if self.skinName in ("NotifiablePluginBrowser", "OriginalPluginBrowser"):9 # self.skinName = "PluginBrowser"10 InfoBarNotifications.__init__(self)11 NotifiablePluginBrowser = PluginBrowser12else:13 NotifiablePluginBrowser = OriginalPluginBrowser14def install():15 PBBase.PluginBrowser = NotifiablePluginBrowser16def uninstall():17 PBBase.PluginBrowser = OriginalPluginBrowser...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var Ladle = require('ladle').Ladle;2var ladle = new Ladle({port: 5984});3ladle.createDatabase('test', function(err, db) {4 if (err) {5 console.log(err);6 return;7 }8 db.info(function(err, info) {9 console.log(info);10 });11});

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('../lib/ladle');2var client = ladle.createClient({port: 5984});3client.get('/', function(err, res) {4 console.log(res.statusCode);5 console.log(res.body);6});7var ladle = require('ladle');8var client = ladle.createClient({port: 5984});9client.get('/', function(err, res) {10 console.log(res.statusCode);11 console.log(res.body);12});13var ladle = require('ladle');14var client = ladle.createClient({port: 5984});15client.get('/', function(err, res) {16 console.log(res.statusCode);17 console.log(res.body);18});19var ladle = require('ladle');20var client = ladle.createClient({port: 5984});21client.get('/', function(err, res) {22 console.log(res.statusCode);23 console.log(res.body);24});25var ladle = require('ladle');26var client = ladle.createClient({port: 5984});27client.get('/', function(err, res) {28 console.log(res.statusCode);29 console.log(res.body);30});31var ladle = require('ladle');32var client = ladle.createClient({port: 5984});33client.get('/', function(err, res) {34 console.log(res.statusCode);35 console.log(res.body);36});37var ladle = require('ladle');38var client = ladle.createClient({port: 5984});39client.get('/', function(err, res) {40 console.log(res.statusCode);41 console.log(res.body);42});43var ladle = require('ladle');44var client = ladle.createClient({port: 5984});45client.get('/', function(err, res) {46 console.log(res.statusCode);47 console.log(res.body);48});49var ladle = require('ladle');50var client = ladle.createClient({port: 5984});51client.get('/', function(err, res) {52 console.log(res.statusCode);53 console.log(res.body);54});55var ladle = require('ladle');56var client = ladle.createClient({port

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var browser = ladle.browser();3browser.start(function(err, browser) {4 browser.text('body', function(err, text) {5 console.log(text);6 });7 });8});9var ladle = require('ladle');10var phantom = ladle.phantom();11phantom.start(function(err, phantom) {12 phantom.text('body', function(err, text) {13 console.log(text);14 });15 });16});17var ladle = require('ladle');18var phantom = ladle.phantom({path: '/path/to/phantomjs'});19phantom.start(function(err, phantom) {20 phantom.text('body', function(err, text) {21 console.log(text);22 });23 });24});25var ladle = require('ladle');26var phantom = ladle.phantom({path: '/path/to/phantomjs', options: ['--ignore-ssl-errors=yes']});27phantom.start(function(err, phantom) {28 phantom.text('body', function(err, text) {29 console.log(text);30 });31 });32});33var ladle = require('ladle');34var phantom = ladle.phantom({path: '/path/to/phantomjs', options: ['--ignore-ssl-errors=yes']});35phantom.start(function(err, phantom) {36 phantom.text('body', function(err, text) {37 console.log(text);38 });39 });40});41var ladle = require('

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var server = ladle.spawn(3 {4 env: { NODE_ENV: 'development' }5 },6 function(err, server, close) {7 if (err) {8 console.log("Error starting server", err);9 return;10 }11 console.log("Server started");12 close();13 }14);

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle')2var browser = ladle.browser({3})4browser.get(function (err, data) {5 if (err) throw err6 console.log(data)7})8var ladle = require('ladle')9var node = ladle.node({10})11node.get(function (err, data) {12 if (err) throw err13 console.log(data)14})15var ladle = require('ladle')16var node = ladle.node({17})18node.get(function (err, data) {19 if (err) throw err20 console.log(data)21})22var ladle = require('ladle')23var node = ladle.node({24})25node.get(function (err, data) {26 if (err) throw err27 console.log(data)28})29var ladle = require('ladle')30var node = ladle.node({31})32node.get(function (err, data) {33 if (err) throw err34 console.log(data)35})36var ladle = require('ladle')37var node = ladle.node({38})39node.get(function (err, data) {40 if (err) throw err41 console.log(data)42})43var ladle = require('ladle')44var node = ladle.node({45})46node.get(function (err, data) {47 if (err) throw err48 console.log(data)49})

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var browser = ladle.browser();3 browser.title(function(title){4 console.log(title);5 browser.quit();6 });7});8var ladle = require('ladle');9var phantom = ladle.phantom();10 phantom.title(function(title){11 console.log(title);12 phantom.quit();13 });14});15var ladle = require('ladle');16var zombie = ladle.zombie();17 zombie.title(function(title){18 console.log(title);19 zombie.quit();20 });21});22var ladle = require('ladle');23ladle.browser(function(browser){24 browser.title(function(title){25 console.log(title);26 browser.quit();27 });28 });29});

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var redis = require('redis');3var client = redis.createClient();4var browser = ladle.browser(client);5browser.get('/', function(err, res){6 console.log(res);7});8var ladle = require('ladle');9var redis = require('redis');10var client = redis.createClient();11var node = ladle.node(client);12node.get('/', function(err, res){13 console.log(res);14});15var ladle = require('ladle');16var redis = require('redis');17var client = redis.createClient();18var phantom = ladle.phantom(client);19phantom.get('/', function(err, res){20 console.log(res);21});22var ladle = require('ladle');23var redis = require('redis');24var client = redis.createClient();25var selenium = ladle.selenium(client);26selenium.get('/', function(err, res){27 console.log(res);28});29var ladle = require('ladle');30var redis = require('redis');31var client = redis.createClient();32var zombie = ladle.zombie(client);33zombie.get('/', function(err, res){34 console.log(res);35});36var ladle = require('ladle');37var redis = require('redis');38var client = redis.createClient();39var phantom = ladle.phantom(client);40phantom.get('/', function(err, res){41 console.log(res);42});43var ladle = require('ladle');44var redis = require('redis');45var client = redis.createClient();46var selenium = ladle.selenium(client);47selenium.get('/', function(err, res){48 console.log(res);49});50var ladle = require('ladle');51var redis = require('redis');52var client = redis.createClient();53var zombie = ladle.zombie(client);54zombie.get('/', function(err, res){55 console.log(res);56});

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var browser = ladle.browser();3var client = browser.client();4var assert = require('assert');5 client.assertTitle('Google', function(err, res) {6 client.end();7 });8});9{10 "dependencies": {11 }12}

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var server = ladle.create('mongod', {dbpath: '/tmp/testdb'});3server.start(function (err, server) {4 server.stop(function (err) {5 });6});7var ladle = require('ladle');8var server = ladle.spawn('mongod', ['--dbpath', '/tmp/testdb']);9server.start(function (err, server) {10 server.stop(function (err) {11 });12});13var ladle = require('ladle');14var server = ladle.spawn('mongod', ['--dbpath', '/tmp/testdb'], {port: 27017});15server.start(function (err, server) {16 server.stop(function (err) {17 });18});19var ladle = require('ladle');20var server = ladle.spawn('mongod', ['--dbpath', '/tmp/testdb'], {port: 27017});21server.start(function (err, server) {22 server.stop(function (err) {23 });24});25var ladle = require('ladle');26var server = ladle.spawn('mongod', ['--dbpath', '/tmp/testdb'], {port: 27017});27server.start(function (err, server) {28 server.stop(function (err) {29 });30});31var ladle = require('ladle');32var server = ladle.spawn('mongod', ['--dbpath', '/tmp/testdb'], {port: 27017});33server.start(function (err, server) {34 server.stop(function (err) {35 });36});

Full Screen

Using AI Code Generation

copy

Full Screen

1var ladle = require('ladle');2var browser = ladle.browser({3});4var ladle = require('ladle');5var nodejs = ladle.nodejs({6});7var ladle = require('ladle');8var phantomjs = ladle.phantomjs({9});10var ladle = require('ladle');11var casperjs = ladle.casperjs({12});13var ladle = require('ladle');14var casperjs = ladle.casperjs({15});16var ladle = require('ladle');17var casperjs = ladle.casperjs({18});19var ladle = require('ladle');20var casperjs = ladle.casperjs({21});22var ladle = require('ladle');23var casperjs = ladle.casperjs({24});25var ladle = require('ladle');26var casperjs = ladle.casperjs({27});28var ladle = require('ladle

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run ladle automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful