diff --git a/Subsystems/cmdGui/CommandSystem.py b/Subsystems/cmdGui/CommandSystem.py index ed73e73..01ad4a2 100644 --- a/Subsystems/cmdGui/CommandSystem.py +++ b/Subsystems/cmdGui/CommandSystem.py @@ -26,7 +26,8 @@ import sys from pathlib import Path -from PyQt5.QtWidgets import QApplication, QDialog +from PyQt5.QtWidgets import (QApplication, QDialog, QHeaderView, QPushButton, + QTableWidgetItem) from Ui_CommandSystemDialog import Ui_CommandSystemDialog @@ -43,23 +44,13 @@ def __init__(self): self.setupUi(self) self.move(800, 100) - for n in range(21): - btn = getattr(self, f"pushButton_{n}") - btn.clicked.connect(lambda _, x=n: self.ProcessButtonGeneric(x)) - - for l in range(22): - btn = getattr(self, f"quickButton_{l+1}") - btn.clicked.connect(lambda _, x=l: self.ProcessQuickButton(x)) - # # Processes 'Display Page' button # def ProcessButtonGeneric(self, idx): if cmdPageIsValid[idx]: - lePID = getattr(self, f'lineEditPktId_{idx}') - leAddr = getattr(self, f'lineEdit_{idx}') - pktId = lePID.text() - address = leAddr.text() + pktId = self.tblCmdSys.item(idx, 1).text() + address = self.tblCmdSys.item(idx, 2).text() launch_string = ( f'python3 {ROOTDIR}/{cmdClass[0]} ' f'--title=\"{cmdPageDesc[idx]}\" --pktid={pktId} ' @@ -87,10 +78,8 @@ def checkParams(idx): def ProcessQuickButton(self, idx): if cmdPageIsValid[idx] and quickIndices[idx] >= 0: qIdx = quickIndices[idx] - lePID = getattr(self, f'lineEditPktId_{idx}') - leAddr = getattr(self, f'lineEdit_{idx}') - pktId = lePID.text() - address = leAddr.text() + pktId = self.tblCmdSys.item(idx, 1).text() + address = self.tblCmdSys.item(idx, 2).text() # if requires parameters if self.checkParams(qIdx): @@ -128,6 +117,7 @@ def ProcessQuickButton(self, idx): # app = QApplication(sys.argv) Command = CommandSystem() + tbl = Command.tblCmdSys # # Read in the contents of the telemetry packet definition @@ -141,7 +131,7 @@ def ProcessQuickButton(self, idx): reader = csv.reader(cmdfile, skipinitialspace=True) for cmdRow in reader: try: - if cmdRow[0][0] != '#': + if not cmdRow[0].startswith('#'): cmdPageIsValid.append(True) cmdPageDesc.append(cmdRow[0]) cmdPageDefFile.append(cmdRow[1]) @@ -190,24 +180,30 @@ def ProcessQuickButton(self, idx): # # fill the data fields on the page # - for k in range(22): - subsysBrowser = getattr(Command, f'SubsysBrowser_{k}') + for k, desc in enumerate(cmdPageDesc): if cmdPageIsValid[k]: - lineEditPktId = getattr(Command, f'lineEditPktId_{k}') - lineEditAddress = getattr(Command, f'lineEdit_{k}') - quickButton = getattr(Command, f'quickButton_{k+1}') - subsysBrowser.setText(cmdPageDesc[k]) - lineEditPktId.setText(hex(cmdPageAppid[k])) - lineEditAddress.setText(cmdPageAddress[k]) + tbl.insertRow(k) + for col, text in enumerate( + (desc, hex(cmdPageAppid[k]), cmdPageAddress[k])): + tblItem = QTableWidgetItem(text) + tbl.setItem(k, col, tblItem) + tblBtn = QPushButton("Display Page") + tblBtn.clicked.connect( + lambda _, x=k: Command.ProcessButtonGeneric(x)) + tbl.setCellWidget(k, 3, tblBtn) quickIdx = -1 try: - quickIdx = subsys.index(cmdPageDesc[k]) - quickButton.setText(quickCmd[quickIdx]) + quickIdx = subsys.index(desc) except ValueError: - pass # Ignore quick button + pass # Ignore quick button + else: + quickBtn = QPushButton(quickCmd[quickIdx]) + quickBtn.clicked.connect( + lambda _, x=k: Command.ProcessQuickButton(x)) + tbl.setCellWidget(k, 4, quickBtn) quickIndices.append(quickIdx) - else: - subsysBrowser.setText("(unused)") + tbl.horizontalHeader().setSectionResizeMode(QHeaderView.ResizeToContents) + tbl.horizontalHeader().setStretchLastSection(True) # # Display the page diff --git a/Subsystems/cmdGui/CommandSystemDialog.ui b/Subsystems/cmdGui/CommandSystemDialog.ui index f0c4e0c..74a0f3d 100644 --- a/Subsystems/cmdGui/CommandSystemDialog.ui +++ b/Subsystems/cmdGui/CommandSystemDialog.ui @@ -132,2644 +132,46 @@ - + - 70 + 30 120 - 630 - 857 + 701 + 721 - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - Packet ID - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - Send To - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 201 - 31 - - - - - 201 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 0 - 0 - - - - - 100 - 31 - - - - - 100 - 31 - - - - - - - - - 0 - 0 - - - - - 101 - 31 - - - - - 101 - 31 - - - - Qt::NoFocus - - - Display Page - - - - - - - - 0 - 0 - - - - - 121 - 32 - - - - - 121 - 32 - - - - - - - - - - - - 0 - 0 - - - - - 121 - 0 - - - - - 121 - 16777215 - - - - - - - - - - - - 0 - 0 - - - - - 201 - 31 - - - - - 201 - 31 - - - - Subsystem/Page - - - - + + QAbstractItemView::NoEditTriggers + + + false + + + + Subsystem/Page + + + + + Packet ID + + + + + Send To + + + + + + + + + + + + diff --git a/Subsystems/cmdGui/GenericCommandDialog.ui b/Subsystems/cmdGui/GenericCommandDialog.ui index 984b4b9..42c425a 100644 --- a/Subsystems/cmdGui/GenericCommandDialog.ui +++ b/Subsystems/cmdGui/GenericCommandDialog.ui @@ -151,1236 +151,31 @@ + + + + QAbstractItemView::NoEditTriggers + + + false + + + 40 + + + + Command + + + + + + + + + - - - - Qt::ScrollBarAlwaysOn - - - true - - - - - 0 - 0 - 515 - 1000 - - - - - 0 - 1000 - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - - - - 391 - 31 - - - - - 1234 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 73 - 32 - - - - - 73 - 32 - - - - Send - - - - - - - - - diff --git a/Subsystems/cmdGui/Parameter.py b/Subsystems/cmdGui/Parameter.py index a1f1687..1cd6d9d 100644 --- a/Subsystems/cmdGui/Parameter.py +++ b/Subsystems/cmdGui/Parameter.py @@ -25,7 +25,9 @@ import sys from pathlib import Path -from PyQt5.QtWidgets import QApplication, QDialog +from PyQt5.QtCore import Qt +from PyQt5.QtWidgets import (QApplication, QDialog, QHeaderView, + QTableWidgetItem) from HTMLDocsParser import HTMLDocsParser from Ui_ParameterDialog import Ui_Dialog @@ -49,20 +51,17 @@ def __init__(self): # def ProcessSendButton(self): input_list = [] - for j in range(1, 11): - inputStr = getattr(self, f"input_{j}") - input_list.append(inputStr.text().strip()) + for j in range(self.tblParameters.rowCount()): + item = tbl.item(j, 2) + input_list.append(item.text().strip()) - k = 0 param_list = [] - while input_list[k]: + for k, inpt in enumerate(input_list): dataType = dataTypesNew[k] if dataType == '--string': - param_list.append( - f'{dataType}=\"{stringLen[k]}:{input_list[k]}\"') + param_list.append(f'{dataType}=\"{stringLen[k]}:{inpt}\"') else: - param_list.append(f'{dataType}={input_list[k]}') # --byte=4 - k += 1 + param_list.append(f'{dataType}={inpt}') # --byte=4 param_string = ' '.join(param_list) launch_string = ( f'{ROOTDIR}/../cmdUtil/cmdUtil --host={pageAddress} ' @@ -118,6 +117,7 @@ def ProcessSendButton(self): # app = QApplication(sys.argv) # creates instance of QtApplication class param = Parameter() # creates instance of Parameter class + tbl = param.tblParameters # # Gets parameter information from pickle files @@ -134,14 +134,22 @@ def ProcessSendButton(self): param.commandAddressTextBrowser.setText( f'{cmdDesc} Command') # command name - for i in range(10): - paramName = getattr(param, f"paramName_{i+1}") - descrip = getattr(param, f"descrip_{i+1}") + for i, name in enumerate(paramNames): + tbl.insertRow(i) + ## Create and insert the table items + for n in range(tbl.columnCount()): + tblItem = QTableWidgetItem() + tbl.setItem(i, n, tblItem) + ## Make the first two items in each row uneditable + for n in range(tbl.columnCount() - 1): + tbl.item(i, n).setFlags(Qt.ItemIsEnabled) try: - paramName.setText(paramNames[i]) - descrip.setText(paramDesc[i]) + tbl.item(i, 0).setText(name) + tbl.item(i, 1).setText(paramDesc[i]) except IndexError: pass # Ignore nonexistent array items + tbl.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) + # tbl.verticalHeader().setSectionResizeMode(QHeaderView.Stretch) # # Displays the dialog diff --git a/Subsystems/cmdGui/ParameterDialog.ui b/Subsystems/cmdGui/ParameterDialog.ui index 3998ce8..b89c55d 100644 --- a/Subsystems/cmdGui/ParameterDialog.ui +++ b/Subsystems/cmdGui/ParameterDialog.ui @@ -9,8 +9,8 @@ 0 0 - 786 - 534 + 782 + 550 @@ -167,530 +167,40 @@ - + 20 180 - 741 + 731 301 - - - 0 - 0 - - - - - 0 - 500 - - - - - - 0 - 0 - 725 - 1000 - + + false + + + + Parameter + + + + + Description - - - 0 - 1000 - + + + + Input - - - - 150 - 30 - 281 - 41 - - - - - 281 - 41 - - - - - 300 - 41 - - - - - 8 - - - - - - - 440 - 10 - 91 - 21 - - - - - Sans Serif - 10 - - - - Input - - - - - - 10 - 10 - 111 - 21 - - - - - Sans Serif - 10 - - - - Parameter - - - - - - 150 - 10 - 111 - 21 - - - - - Sans Serif - 10 - - - - Description - - - - - - 150 - 80 - 281 - 41 - - - - - 8 - - - - - - - 150 - 130 - 281 - 41 - - - - - 8 - - - - - - - 150 - 180 - 281 - 41 - - - - - 8 - - - - - - - 150 - 230 - 281 - 41 - - - - - 8 - - - - - - - 150 - 280 - 281 - 41 - - - - - 8 - - - - - - - 150 - 330 - 281 - 41 - - - - - 8 - - - - - - - 150 - 380 - 281 - 41 - - - - - 8 - - - - - - - 150 - 430 - 281 - 41 - - - - - 8 - - - - - - - 150 - 480 - 281 - 41 - - - - - 8 - - - - - - - 440 - 30 - 271 - 41 - - - - - - - 440 - 80 - 271 - 41 - - - - - - - 440 - 130 - 271 - 41 - - - - - - - 440 - 180 - 271 - 41 - - - - - - - 440 - 230 - 271 - 41 - - - - - - - 440 - 280 - 271 - 41 - - - - - - - 440 - 330 - 271 - 41 - - - - - - - 440 - 380 - 271 - 41 - - - - - - - 440 - 430 - 271 - 41 - - - - - - - 440 - 480 - 271 - 41 - - - - - - - 10 - 30 - 131 - 41 - - - - true - - - - - - 10 - 80 - 131 - 41 - - - - true - - - - - - 10 - 130 - 131 - 41 - - - - true - - - - - - 10 - 180 - 131 - 41 - - - - true - - - - - - 10 - 230 - 131 - 41 - - - - true - - - - - - 10 - 280 - 131 - 41 - - - - true - - - - - - 10 - 330 - 131 - 41 - - - - true - - - - - - 10 - 380 - 131 - 41 - - - - true - - - - - - 10 - 430 - 131 - 41 - - - - true - - - - - - 10 - 480 - 131 - 41 - - - - true - - - + - input_1 - input_2 - input_3 - input_4 - input_5 - input_6 - input_7 - input_8 - input_9 - input_10 - descrip_4 - descrip_5 - descrip_2 - descrip_6 - descrip_7 - descrip_8 - descrip_9 - descrip_10 status_box SendButton_1 subSystemTextBrowser commandAddressTextBrowser - scrollArea_2 - descrip_1 - descrip_3 - paramName_1 - paramName_2 - paramName_3 - paramName_4 - paramName_5 - paramName_6 - paramName_7 - paramName_8 - paramName_9 - paramName_10 diff --git a/Subsystems/cmdGui/UdpCommands.py b/Subsystems/cmdGui/UdpCommands.py index 9927287..ba02561 100644 --- a/Subsystems/cmdGui/UdpCommands.py +++ b/Subsystems/cmdGui/UdpCommands.py @@ -39,7 +39,8 @@ import sys from pathlib import Path -from PyQt5.QtWidgets import QApplication, QDialog +from PyQt5.QtWidgets import (QApplication, QDialog, QHeaderView, QPushButton, + QTableWidgetItem) from Ui_GenericCommandDialog import Ui_GenericCommandDialog @@ -54,10 +55,10 @@ def __init__(self): self.setupUi(self) self.setWindowTitle(pageTitle) - for j in range(25): - btn = getattr(self, f"SendButton_{j+1}") - btn.clicked.connect( - lambda _, x=j: self.ProcessSendButtonGeneric(x)) + # for j in range(self.tblCommands.rowCount()): + # btn = self.tblCommands.cellWidget(j, 1) + # btn.clicked.connect( + # lambda _, x=j: self.ProcessSendButtonGeneric(x)) # # Determines if command requires parameters @@ -162,6 +163,7 @@ def usage(): Commands.subSystemLineEdit.setText(pageTitle) Commands.packetId.display(pagePktId) Commands.commandAddressLineEdit.setText(pageAddress) + tbl = Commands.tblCommands # # Reads commands from command definition file @@ -173,18 +175,22 @@ def usage(): cmdItemIsValid = [] for i in range(len(cmdDesc)): cmdItemIsValid.append(True) - for i in range(len(cmdDesc), 26): - cmdItemIsValid.append(False) # # Fill the data fields on the page # - for i in range(25): - itemLabelTextBrowser = getattr(Commands, f"itemLabelTextBrowser_{i+1}") + for i, cmd in enumerate(cmdDesc): if cmdItemIsValid[i]: - itemLabelTextBrowser.setText(cmdDesc[i]) - else: - itemLabelTextBrowser.setText("(unused)") + tbl.insertRow(i) + tblItem = QTableWidgetItem(cmdDesc[i]) + tbl.setItem(i, 0, tblItem) + tblBtn = QPushButton("Send") + tblBtn.clicked.connect( + lambda _, x=i: Commands.ProcessSendButtonGeneric(x)) + tbl.setCellWidget(i, 1, tblBtn) + tbl.horizontalHeader().setSectionResizeMode(QHeaderView.ResizeToContents) + tbl.horizontalHeader().setStretchLastSection(True) + # tbl.verticalHeader().setSectionResizeMode(QHeaderView.Stretch) # # Display the page diff --git a/Subsystems/cmdGui/Ui_CommandSystemDialog.py b/Subsystems/cmdGui/Ui_CommandSystemDialog.py index 0445337..6ae441b 100644 --- a/Subsystems/cmdGui/Ui_CommandSystemDialog.py +++ b/Subsystems/cmdGui/Ui_CommandSystemDialog.py @@ -46,1098 +46,23 @@ def setupUi(self, CommandSystemDialog): self.buttonBox.setCenterButtons(True) self.buttonBox.setObjectName("buttonBox") self.horizontalLayout_2.addWidget(self.buttonBox) - self.layoutWidget = QtWidgets.QWidget(CommandSystemDialog) - self.layoutWidget.setGeometry(QtCore.QRect(70, 120, 630, 857)) - self.layoutWidget.setObjectName("layoutWidget") - self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget) - self.gridLayout.setContentsMargins(0, 0, 0, 0) - self.gridLayout.setObjectName("gridLayout") - self.quickButton_3 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_3.sizePolicy().hasHeightForWidth()) - self.quickButton_3.setSizePolicy(sizePolicy) - self.quickButton_3.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_3.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_3.setText("") - self.quickButton_3.setObjectName("quickButton_3") - self.gridLayout.addWidget(self.quickButton_3, 3, 4, 1, 1) - self.SubsysBrowser_6 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_6.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_6.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_6.setReadOnly(True) - self.SubsysBrowser_6.setObjectName("SubsysBrowser_6") - self.gridLayout.addWidget(self.SubsysBrowser_6, 7, 0, 1, 1) - self.quickButton_4 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_4.sizePolicy().hasHeightForWidth()) - self.quickButton_4.setSizePolicy(sizePolicy) - self.quickButton_4.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_4.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_4.setText("") - self.quickButton_4.setObjectName("quickButton_4") - self.gridLayout.addWidget(self.quickButton_4, 4, 4, 1, 1) - self.SubsysBrowser_18 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_18.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_18.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_18.setReadOnly(True) - self.SubsysBrowser_18.setObjectName("SubsysBrowser_18") - self.gridLayout.addWidget(self.SubsysBrowser_18, 19, 0, 1, 1) - self.lineEditPktId_18 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_18.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_18.setSizePolicy(sizePolicy) - self.lineEditPktId_18.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_18.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_18.setObjectName("lineEditPktId_18") - self.gridLayout.addWidget(self.lineEditPktId_18, 19, 1, 1, 1) - self.lineEdit_18 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_18.sizePolicy().hasHeightForWidth()) - self.lineEdit_18.setSizePolicy(sizePolicy) - self.lineEdit_18.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_18.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_18.setObjectName("lineEdit_18") - self.gridLayout.addWidget(self.lineEdit_18, 19, 2, 1, 1) - self.pushButton_18 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_18.sizePolicy().hasHeightForWidth()) - self.pushButton_18.setSizePolicy(sizePolicy) - self.pushButton_18.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_18.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_18.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_18.setObjectName("pushButton_18") - self.gridLayout.addWidget(self.pushButton_18, 19, 3, 1, 1) - self.quickButton_19 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_19.sizePolicy().hasHeightForWidth()) - self.quickButton_19.setSizePolicy(sizePolicy) - self.quickButton_19.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_19.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_19.setText("") - self.quickButton_19.setObjectName("quickButton_19") - self.gridLayout.addWidget(self.quickButton_19, 19, 4, 1, 1) - self.SubsysBrowser_19 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_19.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_19.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_19.setReadOnly(True) - self.SubsysBrowser_19.setObjectName("SubsysBrowser_19") - self.gridLayout.addWidget(self.SubsysBrowser_19, 20, 0, 1, 1) - self.lineEditPktId_19 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_19.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_19.setSizePolicy(sizePolicy) - self.lineEditPktId_19.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_19.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_19.setObjectName("lineEditPktId_19") - self.gridLayout.addWidget(self.lineEditPktId_19, 20, 1, 1, 1) - self.lineEdit_19 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_19.sizePolicy().hasHeightForWidth()) - self.lineEdit_19.setSizePolicy(sizePolicy) - self.lineEdit_19.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_19.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_19.setObjectName("lineEdit_19") - self.gridLayout.addWidget(self.lineEdit_19, 20, 2, 1, 1) - self.pushButton_19 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_19.sizePolicy().hasHeightForWidth()) - self.pushButton_19.setSizePolicy(sizePolicy) - self.pushButton_19.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_19.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_19.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_19.setObjectName("pushButton_19") - self.gridLayout.addWidget(self.pushButton_19, 20, 3, 1, 1) - self.SubsysBrowser_16 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_16.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_16.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_16.setReadOnly(True) - self.SubsysBrowser_16.setObjectName("SubsysBrowser_16") - self.gridLayout.addWidget(self.SubsysBrowser_16, 17, 0, 1, 1) - self.lineEditPktId_16 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_16.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_16.setSizePolicy(sizePolicy) - self.lineEditPktId_16.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_16.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_16.setObjectName("lineEditPktId_16") - self.gridLayout.addWidget(self.lineEditPktId_16, 17, 1, 1, 1) - self.lineEdit_16 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_16.sizePolicy().hasHeightForWidth()) - self.lineEdit_16.setSizePolicy(sizePolicy) - self.lineEdit_16.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_16.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_16.setObjectName("lineEdit_16") - self.gridLayout.addWidget(self.lineEdit_16, 17, 2, 1, 1) - self.pushButton_16 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_16.sizePolicy().hasHeightForWidth()) - self.pushButton_16.setSizePolicy(sizePolicy) - self.pushButton_16.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_16.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_16.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_16.setObjectName("pushButton_16") - self.gridLayout.addWidget(self.pushButton_16, 17, 3, 1, 1) - self.quickButton_17 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_17.sizePolicy().hasHeightForWidth()) - self.quickButton_17.setSizePolicy(sizePolicy) - self.quickButton_17.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_17.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_17.setText("") - self.quickButton_17.setObjectName("quickButton_17") - self.gridLayout.addWidget(self.quickButton_17, 17, 4, 1, 1) - self.quickButton_9 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_9.sizePolicy().hasHeightForWidth()) - self.quickButton_9.setSizePolicy(sizePolicy) - self.quickButton_9.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_9.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_9.setText("") - self.quickButton_9.setObjectName("quickButton_9") - self.gridLayout.addWidget(self.quickButton_9, 9, 4, 1, 1) - self.SubsysBrowser_9 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_9.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_9.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_9.setReadOnly(True) - self.SubsysBrowser_9.setObjectName("SubsysBrowser_9") - self.gridLayout.addWidget(self.SubsysBrowser_9, 10, 0, 1, 1) - self.SubsysBrowser_3 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_3.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_3.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_3.setReadOnly(True) - self.SubsysBrowser_3.setObjectName("SubsysBrowser_3") - self.gridLayout.addWidget(self.SubsysBrowser_3, 4, 0, 1, 1) - self.pushButton_5 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_5.sizePolicy().hasHeightForWidth()) - self.pushButton_5.setSizePolicy(sizePolicy) - self.pushButton_5.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_5.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_5.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_5.setObjectName("pushButton_5") - self.gridLayout.addWidget(self.pushButton_5, 6, 3, 1, 1) - self.lineEditPktId_4 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_4.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_4.setSizePolicy(sizePolicy) - self.lineEditPktId_4.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_4.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_4.setObjectName("lineEditPktId_4") - self.gridLayout.addWidget(self.lineEditPktId_4, 5, 1, 1, 1) - self.label_4 = QtWidgets.QLabel(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth()) - self.label_4.setSizePolicy(sizePolicy) - self.label_4.setMinimumSize(QtCore.QSize(81, 31)) - self.label_4.setMaximumSize(QtCore.QSize(81, 31)) - self.label_4.setObjectName("label_4") - self.gridLayout.addWidget(self.label_4, 0, 1, 1, 1) - self.SubsysBrowser_4 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_4.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_4.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_4.setReadOnly(True) - self.SubsysBrowser_4.setObjectName("SubsysBrowser_4") - self.gridLayout.addWidget(self.SubsysBrowser_4, 5, 0, 1, 1) - self.lineEdit_5 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_5.sizePolicy().hasHeightForWidth()) - self.lineEdit_5.setSizePolicy(sizePolicy) - self.lineEdit_5.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_5.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_5.setObjectName("lineEdit_5") - self.gridLayout.addWidget(self.lineEdit_5, 6, 2, 1, 1) - self.lineEdit_4 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_4.sizePolicy().hasHeightForWidth()) - self.lineEdit_4.setSizePolicy(sizePolicy) - self.lineEdit_4.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_4.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_4.setObjectName("lineEdit_4") - self.gridLayout.addWidget(self.lineEdit_4, 5, 2, 1, 1) - self.pushButton_3 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth()) - self.pushButton_3.setSizePolicy(sizePolicy) - self.pushButton_3.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_3.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_3.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_3.setObjectName("pushButton_3") - self.gridLayout.addWidget(self.pushButton_3, 4, 3, 1, 1) - self.lineEdit_11 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_11.sizePolicy().hasHeightForWidth()) - self.lineEdit_11.setSizePolicy(sizePolicy) - self.lineEdit_11.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_11.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_11.setObjectName("lineEdit_11") - self.gridLayout.addWidget(self.lineEdit_11, 12, 2, 1, 1) - self.pushButton_11 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_11.sizePolicy().hasHeightForWidth()) - self.pushButton_11.setSizePolicy(sizePolicy) - self.pushButton_11.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_11.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_11.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_11.setObjectName("pushButton_11") - self.gridLayout.addWidget(self.pushButton_11, 12, 3, 1, 1) - self.quickButton_12 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_12.sizePolicy().hasHeightForWidth()) - self.quickButton_12.setSizePolicy(sizePolicy) - self.quickButton_12.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_12.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_12.setText("") - self.quickButton_12.setObjectName("quickButton_12") - self.gridLayout.addWidget(self.quickButton_12, 12, 4, 1, 1) - self.SubsysBrowser_12 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_12.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_12.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_12.setReadOnly(True) - self.SubsysBrowser_12.setObjectName("SubsysBrowser_12") - self.gridLayout.addWidget(self.SubsysBrowser_12, 13, 0, 1, 1) - self.quickButton_2 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_2.sizePolicy().hasHeightForWidth()) - self.quickButton_2.setSizePolicy(sizePolicy) - self.quickButton_2.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_2.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_2.setText("") - self.quickButton_2.setObjectName("quickButton_2") - self.gridLayout.addWidget(self.quickButton_2, 2, 4, 1, 1) - self.SubsysBrowser_2 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_2.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_2.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_2.setReadOnly(True) - self.SubsysBrowser_2.setObjectName("SubsysBrowser_2") - self.gridLayout.addWidget(self.SubsysBrowser_2, 3, 0, 1, 1) - self.SubsysBrowser_0 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_0.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_0.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_0.setReadOnly(True) - self.SubsysBrowser_0.setObjectName("SubsysBrowser_0") - self.gridLayout.addWidget(self.SubsysBrowser_0, 1, 0, 1, 1) - self.pushButton_10 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_10.sizePolicy().hasHeightForWidth()) - self.pushButton_10.setSizePolicy(sizePolicy) - self.pushButton_10.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_10.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_10.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_10.setObjectName("pushButton_10") - self.gridLayout.addWidget(self.pushButton_10, 11, 3, 1, 1) - self.quickButton_11 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_11.sizePolicy().hasHeightForWidth()) - self.quickButton_11.setSizePolicy(sizePolicy) - self.quickButton_11.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_11.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_11.setText("") - self.quickButton_11.setObjectName("quickButton_11") - self.gridLayout.addWidget(self.quickButton_11, 11, 4, 1, 1) - self.SubsysBrowser_11 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_11.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_11.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_11.setReadOnly(True) - self.SubsysBrowser_11.setObjectName("SubsysBrowser_11") - self.gridLayout.addWidget(self.SubsysBrowser_11, 12, 0, 1, 1) - self.lineEditPktId_11 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_11.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_11.setSizePolicy(sizePolicy) - self.lineEditPktId_11.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_11.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_11.setObjectName("lineEditPktId_11") - self.gridLayout.addWidget(self.lineEditPktId_11, 12, 1, 1, 1) - self.lineEditPktId_12 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_12.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_12.setSizePolicy(sizePolicy) - self.lineEditPktId_12.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_12.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_12.setObjectName("lineEditPktId_12") - self.gridLayout.addWidget(self.lineEditPktId_12, 13, 1, 1, 1) - self.lineEdit_0 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_0.sizePolicy().hasHeightForWidth()) - self.lineEdit_0.setSizePolicy(sizePolicy) - self.lineEdit_0.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_0.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_0.setObjectName("lineEdit_0") - self.gridLayout.addWidget(self.lineEdit_0, 1, 2, 1, 1) - self.lineEditPktId_7 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_7.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_7.setSizePolicy(sizePolicy) - self.lineEditPktId_7.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_7.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_7.setObjectName("lineEditPktId_7") - self.gridLayout.addWidget(self.lineEditPktId_7, 8, 1, 1, 1) - self.lineEdit_7 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_7.sizePolicy().hasHeightForWidth()) - self.lineEdit_7.setSizePolicy(sizePolicy) - self.lineEdit_7.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_7.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_7.setObjectName("lineEdit_7") - self.gridLayout.addWidget(self.lineEdit_7, 8, 2, 1, 1) - self.lineEditPktId_0 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_0.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_0.setSizePolicy(sizePolicy) - self.lineEditPktId_0.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_0.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_0.setObjectName("lineEditPktId_0") - self.gridLayout.addWidget(self.lineEditPktId_0, 1, 1, 1, 1) - self.pushButton_2 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth()) - self.pushButton_2.setSizePolicy(sizePolicy) - self.pushButton_2.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_2.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_2.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_2.setObjectName("pushButton_2") - self.gridLayout.addWidget(self.pushButton_2, 3, 3, 1, 1) - self.label_5 = QtWidgets.QLabel(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth()) - self.label_5.setSizePolicy(sizePolicy) - self.label_5.setMinimumSize(QtCore.QSize(81, 31)) - self.label_5.setMaximumSize(QtCore.QSize(81, 31)) - self.label_5.setObjectName("label_5") - self.gridLayout.addWidget(self.label_5, 0, 2, 1, 1) - self.pushButton_1 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_1.sizePolicy().hasHeightForWidth()) - self.pushButton_1.setSizePolicy(sizePolicy) - self.pushButton_1.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_1.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_1.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_1.setObjectName("pushButton_1") - self.gridLayout.addWidget(self.pushButton_1, 2, 3, 1, 1) - self.SubsysBrowser_1 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_1.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_1.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_1.setReadOnly(True) - self.SubsysBrowser_1.setObjectName("SubsysBrowser_1") - self.gridLayout.addWidget(self.SubsysBrowser_1, 2, 0, 1, 1) - self.pushButton_7 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_7.sizePolicy().hasHeightForWidth()) - self.pushButton_7.setSizePolicy(sizePolicy) - self.pushButton_7.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_7.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_7.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_7.setObjectName("pushButton_7") - self.gridLayout.addWidget(self.pushButton_7, 8, 3, 1, 1) - self.quickButton_8 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_8.sizePolicy().hasHeightForWidth()) - self.quickButton_8.setSizePolicy(sizePolicy) - self.quickButton_8.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_8.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_8.setText("") - self.quickButton_8.setObjectName("quickButton_8") - self.gridLayout.addWidget(self.quickButton_8, 8, 4, 1, 1) - self.lineEditPktId_2 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_2.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_2.setSizePolicy(sizePolicy) - self.lineEditPktId_2.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_2.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_2.setObjectName("lineEditPktId_2") - self.gridLayout.addWidget(self.lineEditPktId_2, 3, 1, 1, 1) - self.lineEditPktId_5 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_5.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_5.setSizePolicy(sizePolicy) - self.lineEditPktId_5.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_5.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_5.setObjectName("lineEditPktId_5") - self.gridLayout.addWidget(self.lineEditPktId_5, 6, 1, 1, 1) - self.pushButton_6 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_6.sizePolicy().hasHeightForWidth()) - self.pushButton_6.setSizePolicy(sizePolicy) - self.pushButton_6.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_6.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_6.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_6.setObjectName("pushButton_6") - self.gridLayout.addWidget(self.pushButton_6, 7, 3, 1, 1) - self.pushButton_9 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_9.sizePolicy().hasHeightForWidth()) - self.pushButton_9.setSizePolicy(sizePolicy) - self.pushButton_9.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_9.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_9.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_9.setObjectName("pushButton_9") - self.gridLayout.addWidget(self.pushButton_9, 10, 3, 1, 1) - self.quickButton_10 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_10.sizePolicy().hasHeightForWidth()) - self.quickButton_10.setSizePolicy(sizePolicy) - self.quickButton_10.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_10.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_10.setText("") - self.quickButton_10.setObjectName("quickButton_10") - self.gridLayout.addWidget(self.quickButton_10, 10, 4, 1, 1) - self.SubsysBrowser_15 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_15.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_15.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_15.setReadOnly(True) - self.SubsysBrowser_15.setObjectName("SubsysBrowser_15") - self.gridLayout.addWidget(self.SubsysBrowser_15, 16, 0, 1, 1) - self.lineEditPktId_15 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_15.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_15.setSizePolicy(sizePolicy) - self.lineEditPktId_15.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_15.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_15.setObjectName("lineEditPktId_15") - self.gridLayout.addWidget(self.lineEditPktId_15, 16, 1, 1, 1) - self.lineEdit_15 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_15.sizePolicy().hasHeightForWidth()) - self.lineEdit_15.setSizePolicy(sizePolicy) - self.lineEdit_15.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_15.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_15.setObjectName("lineEdit_15") - self.gridLayout.addWidget(self.lineEdit_15, 16, 2, 1, 1) - self.pushButton_15 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_15.sizePolicy().hasHeightForWidth()) - self.pushButton_15.setSizePolicy(sizePolicy) - self.pushButton_15.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_15.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_15.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_15.setObjectName("pushButton_15") - self.gridLayout.addWidget(self.pushButton_15, 16, 3, 1, 1) - self.quickButton_16 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_16.sizePolicy().hasHeightForWidth()) - self.quickButton_16.setSizePolicy(sizePolicy) - self.quickButton_16.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_16.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_16.setText("") - self.quickButton_16.setObjectName("quickButton_16") - self.gridLayout.addWidget(self.quickButton_16, 16, 4, 1, 1) - self.quickButton_6 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_6.sizePolicy().hasHeightForWidth()) - self.quickButton_6.setSizePolicy(sizePolicy) - self.quickButton_6.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_6.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_6.setText("") - self.quickButton_6.setObjectName("quickButton_6") - self.gridLayout.addWidget(self.quickButton_6, 6, 4, 1, 1) - self.lineEdit_12 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_12.sizePolicy().hasHeightForWidth()) - self.lineEdit_12.setSizePolicy(sizePolicy) - self.lineEdit_12.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_12.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_12.setObjectName("lineEdit_12") - self.gridLayout.addWidget(self.lineEdit_12, 13, 2, 1, 1) - self.pushButton_12 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_12.sizePolicy().hasHeightForWidth()) - self.pushButton_12.setSizePolicy(sizePolicy) - self.pushButton_12.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_12.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_12.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_12.setObjectName("pushButton_12") - self.gridLayout.addWidget(self.pushButton_12, 13, 3, 1, 1) - self.quickButton_13 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_13.sizePolicy().hasHeightForWidth()) - self.quickButton_13.setSizePolicy(sizePolicy) - self.quickButton_13.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_13.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_13.setText("") - self.quickButton_13.setObjectName("quickButton_13") - self.gridLayout.addWidget(self.quickButton_13, 13, 4, 1, 1) - self.SubsysBrowser_13 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_13.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_13.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_13.setReadOnly(True) - self.SubsysBrowser_13.setObjectName("SubsysBrowser_13") - self.gridLayout.addWidget(self.SubsysBrowser_13, 14, 0, 1, 1) - self.SubsysBrowser_14 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_14.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_14.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_14.setReadOnly(True) - self.SubsysBrowser_14.setObjectName("SubsysBrowser_14") - self.gridLayout.addWidget(self.SubsysBrowser_14, 15, 0, 1, 1) - self.lineEditPktId_14 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_14.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_14.setSizePolicy(sizePolicy) - self.lineEditPktId_14.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_14.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_14.setObjectName("lineEditPktId_14") - self.gridLayout.addWidget(self.lineEditPktId_14, 15, 1, 1, 1) - self.lineEdit_14 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_14.sizePolicy().hasHeightForWidth()) - self.lineEdit_14.setSizePolicy(sizePolicy) - self.lineEdit_14.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_14.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_14.setObjectName("lineEdit_14") - self.gridLayout.addWidget(self.lineEdit_14, 15, 2, 1, 1) - self.pushButton_14 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_14.sizePolicy().hasHeightForWidth()) - self.pushButton_14.setSizePolicy(sizePolicy) - self.pushButton_14.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_14.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_14.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_14.setObjectName("pushButton_14") - self.gridLayout.addWidget(self.pushButton_14, 15, 3, 1, 1) - self.quickButton_15 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_15.sizePolicy().hasHeightForWidth()) - self.quickButton_15.setSizePolicy(sizePolicy) - self.quickButton_15.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_15.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_15.setText("") - self.quickButton_15.setObjectName("quickButton_15") - self.gridLayout.addWidget(self.quickButton_15, 15, 4, 1, 1) - self.SubsysBrowser_8 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_8.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_8.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_8.setReadOnly(True) - self.SubsysBrowser_8.setObjectName("SubsysBrowser_8") - self.gridLayout.addWidget(self.SubsysBrowser_8, 9, 0, 1, 1) - self.lineEditPktId_8 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_8.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_8.setSizePolicy(sizePolicy) - self.lineEditPktId_8.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_8.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_8.setObjectName("lineEditPktId_8") - self.gridLayout.addWidget(self.lineEditPktId_8, 9, 1, 1, 1) - self.lineEditPktId_13 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_13.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_13.setSizePolicy(sizePolicy) - self.lineEditPktId_13.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_13.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_13.setObjectName("lineEditPktId_13") - self.gridLayout.addWidget(self.lineEditPktId_13, 14, 1, 1, 1) - self.lineEdit_13 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_13.sizePolicy().hasHeightForWidth()) - self.lineEdit_13.setSizePolicy(sizePolicy) - self.lineEdit_13.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_13.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_13.setObjectName("lineEdit_13") - self.gridLayout.addWidget(self.lineEdit_13, 14, 2, 1, 1) - self.pushButton_13 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_13.sizePolicy().hasHeightForWidth()) - self.pushButton_13.setSizePolicy(sizePolicy) - self.pushButton_13.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_13.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_13.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_13.setObjectName("pushButton_13") - self.gridLayout.addWidget(self.pushButton_13, 14, 3, 1, 1) - self.quickButton_14 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_14.sizePolicy().hasHeightForWidth()) - self.quickButton_14.setSizePolicy(sizePolicy) - self.quickButton_14.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_14.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_14.setText("") - self.quickButton_14.setObjectName("quickButton_14") - self.gridLayout.addWidget(self.quickButton_14, 14, 4, 1, 1) - self.pushButton_4 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth()) - self.pushButton_4.setSizePolicy(sizePolicy) - self.pushButton_4.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_4.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_4.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_4.setObjectName("pushButton_4") - self.gridLayout.addWidget(self.pushButton_4, 5, 3, 1, 1) - self.lineEdit_3 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_3.sizePolicy().hasHeightForWidth()) - self.lineEdit_3.setSizePolicy(sizePolicy) - self.lineEdit_3.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_3.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_3.setObjectName("lineEdit_3") - self.gridLayout.addWidget(self.lineEdit_3, 4, 2, 1, 1) - self.SubsysBrowser_7 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_7.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_7.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_7.setReadOnly(True) - self.SubsysBrowser_7.setObjectName("SubsysBrowser_7") - self.gridLayout.addWidget(self.SubsysBrowser_7, 8, 0, 1, 1) - self.pushButton_0 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_0.sizePolicy().hasHeightForWidth()) - self.pushButton_0.setSizePolicy(sizePolicy) - self.pushButton_0.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_0.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_0.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_0.setObjectName("pushButton_0") - self.gridLayout.addWidget(self.pushButton_0, 1, 3, 1, 1) - self.lineEditPktId_6 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_6.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_6.setSizePolicy(sizePolicy) - self.lineEditPktId_6.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_6.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_6.setObjectName("lineEditPktId_6") - self.gridLayout.addWidget(self.lineEditPktId_6, 7, 1, 1, 1) - self.SubsysBrowser_10 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_10.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_10.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_10.setReadOnly(True) - self.SubsysBrowser_10.setObjectName("SubsysBrowser_10") - self.gridLayout.addWidget(self.SubsysBrowser_10, 11, 0, 1, 1) - self.lineEditPktId_10 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_10.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_10.setSizePolicy(sizePolicy) - self.lineEditPktId_10.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_10.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_10.setObjectName("lineEditPktId_10") - self.gridLayout.addWidget(self.lineEditPktId_10, 11, 1, 1, 1) - self.lineEdit_10 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_10.sizePolicy().hasHeightForWidth()) - self.lineEdit_10.setSizePolicy(sizePolicy) - self.lineEdit_10.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_10.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_10.setObjectName("lineEdit_10") - self.gridLayout.addWidget(self.lineEdit_10, 11, 2, 1, 1) - self.lineEdit_2 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_2.sizePolicy().hasHeightForWidth()) - self.lineEdit_2.setSizePolicy(sizePolicy) - self.lineEdit_2.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_2.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_2.setObjectName("lineEdit_2") - self.gridLayout.addWidget(self.lineEdit_2, 3, 2, 1, 1) - self.SubsysBrowser_5 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_5.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_5.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_5.setReadOnly(True) - self.SubsysBrowser_5.setObjectName("SubsysBrowser_5") - self.gridLayout.addWidget(self.SubsysBrowser_5, 6, 0, 1, 1) - self.lineEditPktId_3 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_3.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_3.setSizePolicy(sizePolicy) - self.lineEditPktId_3.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_3.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_3.setObjectName("lineEditPktId_3") - self.gridLayout.addWidget(self.lineEditPktId_3, 4, 1, 1, 1) - self.lineEdit_1 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_1.sizePolicy().hasHeightForWidth()) - self.lineEdit_1.setSizePolicy(sizePolicy) - self.lineEdit_1.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_1.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_1.setObjectName("lineEdit_1") - self.gridLayout.addWidget(self.lineEdit_1, 2, 2, 1, 1) - self.lineEdit_8 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_8.sizePolicy().hasHeightForWidth()) - self.lineEdit_8.setSizePolicy(sizePolicy) - self.lineEdit_8.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_8.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_8.setObjectName("lineEdit_8") - self.gridLayout.addWidget(self.lineEdit_8, 9, 2, 1, 1) - self.pushButton_8 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_8.sizePolicy().hasHeightForWidth()) - self.pushButton_8.setSizePolicy(sizePolicy) - self.pushButton_8.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_8.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_8.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_8.setObjectName("pushButton_8") - self.gridLayout.addWidget(self.pushButton_8, 9, 3, 1, 1) - self.lineEditPktId_1 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_1.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_1.setSizePolicy(sizePolicy) - self.lineEditPktId_1.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_1.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_1.setObjectName("lineEditPktId_1") - self.gridLayout.addWidget(self.lineEditPktId_1, 2, 1, 1, 1) - self.lineEdit_6 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_6.sizePolicy().hasHeightForWidth()) - self.lineEdit_6.setSizePolicy(sizePolicy) - self.lineEdit_6.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_6.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_6.setObjectName("lineEdit_6") - self.gridLayout.addWidget(self.lineEdit_6, 7, 2, 1, 1) - self.lineEditPktId_9 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_9.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_9.setSizePolicy(sizePolicy) - self.lineEditPktId_9.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_9.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_9.setObjectName("lineEditPktId_9") - self.gridLayout.addWidget(self.lineEditPktId_9, 10, 1, 1, 1) - self.lineEdit_9 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_9.sizePolicy().hasHeightForWidth()) - self.lineEdit_9.setSizePolicy(sizePolicy) - self.lineEdit_9.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_9.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_9.setObjectName("lineEdit_9") - self.gridLayout.addWidget(self.lineEdit_9, 10, 2, 1, 1) - self.quickButton_7 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_7.sizePolicy().hasHeightForWidth()) - self.quickButton_7.setSizePolicy(sizePolicy) - self.quickButton_7.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_7.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_7.setText("") - self.quickButton_7.setObjectName("quickButton_7") - self.gridLayout.addWidget(self.quickButton_7, 7, 4, 1, 1) - self.quickButton_5 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_5.sizePolicy().hasHeightForWidth()) - self.quickButton_5.setSizePolicy(sizePolicy) - self.quickButton_5.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_5.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_5.setText("") - self.quickButton_5.setObjectName("quickButton_5") - self.gridLayout.addWidget(self.quickButton_5, 5, 4, 1, 1) - self.SubsysBrowser_17 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_17.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_17.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_17.setReadOnly(True) - self.SubsysBrowser_17.setObjectName("SubsysBrowser_17") - self.gridLayout.addWidget(self.SubsysBrowser_17, 18, 0, 1, 1) - self.lineEditPktId_17 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_17.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_17.setSizePolicy(sizePolicy) - self.lineEditPktId_17.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_17.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_17.setObjectName("lineEditPktId_17") - self.gridLayout.addWidget(self.lineEditPktId_17, 18, 1, 1, 1) - self.lineEdit_17 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_17.sizePolicy().hasHeightForWidth()) - self.lineEdit_17.setSizePolicy(sizePolicy) - self.lineEdit_17.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_17.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_17.setObjectName("lineEdit_17") - self.gridLayout.addWidget(self.lineEdit_17, 18, 2, 1, 1) - self.pushButton_17 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_17.sizePolicy().hasHeightForWidth()) - self.pushButton_17.setSizePolicy(sizePolicy) - self.pushButton_17.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_17.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_17.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_17.setObjectName("pushButton_17") - self.gridLayout.addWidget(self.pushButton_17, 18, 3, 1, 1) - self.quickButton_18 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_18.sizePolicy().hasHeightForWidth()) - self.quickButton_18.setSizePolicy(sizePolicy) - self.quickButton_18.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_18.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_18.setText("") - self.quickButton_18.setObjectName("quickButton_18") - self.gridLayout.addWidget(self.quickButton_18, 18, 4, 1, 1) - self.quickButton_20 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_20.sizePolicy().hasHeightForWidth()) - self.quickButton_20.setSizePolicy(sizePolicy) - self.quickButton_20.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_20.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_20.setText("") - self.quickButton_20.setObjectName("quickButton_20") - self.gridLayout.addWidget(self.quickButton_20, 20, 4, 1, 1) - self.SubsysBrowser_20 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_20.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_20.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_20.setReadOnly(True) - self.SubsysBrowser_20.setObjectName("SubsysBrowser_20") - self.gridLayout.addWidget(self.SubsysBrowser_20, 21, 0, 1, 1) - self.lineEditPktId_20 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_20.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_20.setSizePolicy(sizePolicy) - self.lineEditPktId_20.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_20.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_20.setObjectName("lineEditPktId_20") - self.gridLayout.addWidget(self.lineEditPktId_20, 21, 1, 1, 1) - self.lineEdit_20 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_20.sizePolicy().hasHeightForWidth()) - self.lineEdit_20.setSizePolicy(sizePolicy) - self.lineEdit_20.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_20.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_20.setObjectName("lineEdit_20") - self.gridLayout.addWidget(self.lineEdit_20, 21, 2, 1, 1) - self.pushButton_20 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_20.sizePolicy().hasHeightForWidth()) - self.pushButton_20.setSizePolicy(sizePolicy) - self.pushButton_20.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_20.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_20.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_20.setObjectName("pushButton_20") - self.gridLayout.addWidget(self.pushButton_20, 21, 3, 1, 1) - self.quickButton_21 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_21.sizePolicy().hasHeightForWidth()) - self.quickButton_21.setSizePolicy(sizePolicy) - self.quickButton_21.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_21.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_21.setText("") - self.quickButton_21.setObjectName("quickButton_21") - self.gridLayout.addWidget(self.quickButton_21, 21, 4, 1, 1) - self.SubsysBrowser_21 = QtWidgets.QLineEdit(self.layoutWidget) - self.SubsysBrowser_21.setMinimumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_21.setMaximumSize(QtCore.QSize(201, 31)) - self.SubsysBrowser_21.setReadOnly(True) - self.SubsysBrowser_21.setObjectName("SubsysBrowser_21") - self.gridLayout.addWidget(self.SubsysBrowser_21, 22, 0, 1, 1) - self.lineEditPktId_21 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEditPktId_21.sizePolicy().hasHeightForWidth()) - self.lineEditPktId_21.setSizePolicy(sizePolicy) - self.lineEditPktId_21.setMinimumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_21.setMaximumSize(QtCore.QSize(81, 31)) - self.lineEditPktId_21.setObjectName("lineEditPktId_21") - self.gridLayout.addWidget(self.lineEditPktId_21, 22, 1, 1, 1) - self.lineEdit_21 = QtWidgets.QLineEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.lineEdit_21.sizePolicy().hasHeightForWidth()) - self.lineEdit_21.setSizePolicy(sizePolicy) - self.lineEdit_21.setMinimumSize(QtCore.QSize(100, 31)) - self.lineEdit_21.setMaximumSize(QtCore.QSize(100, 31)) - self.lineEdit_21.setObjectName("lineEdit_21") - self.gridLayout.addWidget(self.lineEdit_21, 22, 2, 1, 1) - self.pushButton_21 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_21.sizePolicy().hasHeightForWidth()) - self.pushButton_21.setSizePolicy(sizePolicy) - self.pushButton_21.setMinimumSize(QtCore.QSize(101, 31)) - self.pushButton_21.setMaximumSize(QtCore.QSize(101, 31)) - self.pushButton_21.setFocusPolicy(QtCore.Qt.NoFocus) - self.pushButton_21.setObjectName("pushButton_21") - self.gridLayout.addWidget(self.pushButton_21, 22, 3, 1, 1) - self.quickButton_22 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_22.sizePolicy().hasHeightForWidth()) - self.quickButton_22.setSizePolicy(sizePolicy) - self.quickButton_22.setMinimumSize(QtCore.QSize(121, 32)) - self.quickButton_22.setMaximumSize(QtCore.QSize(121, 32)) - self.quickButton_22.setText("") - self.quickButton_22.setObjectName("quickButton_22") - self.gridLayout.addWidget(self.quickButton_22, 22, 4, 1, 1) - self.quickButton_1 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.quickButton_1.sizePolicy().hasHeightForWidth()) - self.quickButton_1.setSizePolicy(sizePolicy) - self.quickButton_1.setMinimumSize(QtCore.QSize(121, 0)) - self.quickButton_1.setMaximumSize(QtCore.QSize(121, 16777215)) - self.quickButton_1.setText("") - self.quickButton_1.setObjectName("quickButton_1") - self.gridLayout.addWidget(self.quickButton_1, 1, 4, 1, 1) - self.label_3 = QtWidgets.QLabel(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) - self.label_3.setSizePolicy(sizePolicy) - self.label_3.setMinimumSize(QtCore.QSize(201, 31)) - self.label_3.setMaximumSize(QtCore.QSize(201, 31)) - self.label_3.setObjectName("label_3") - self.gridLayout.addWidget(self.label_3, 0, 0, 1, 1) + self.tblCmdSys = QtWidgets.QTableWidget(CommandSystemDialog) + self.tblCmdSys.setGeometry(QtCore.QRect(30, 120, 701, 721)) + self.tblCmdSys.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) + self.tblCmdSys.setObjectName("tblCmdSys") + self.tblCmdSys.setColumnCount(5) + self.tblCmdSys.setRowCount(0) + item = QtWidgets.QTableWidgetItem() + self.tblCmdSys.setHorizontalHeaderItem(0, item) + item = QtWidgets.QTableWidgetItem() + self.tblCmdSys.setHorizontalHeaderItem(1, item) + item = QtWidgets.QTableWidgetItem() + self.tblCmdSys.setHorizontalHeaderItem(2, item) + item = QtWidgets.QTableWidgetItem() + self.tblCmdSys.setHorizontalHeaderItem(3, item) + item = QtWidgets.QTableWidgetItem() + self.tblCmdSys.setHorizontalHeaderItem(4, item) + self.tblCmdSys.verticalHeader().setVisible(False) self.retranslateUi(CommandSystemDialog) self.buttonBox.clicked['QAbstractButton*'].connect(CommandSystemDialog.close) @@ -1148,29 +73,10 @@ def retranslateUi(self, CommandSystemDialog): CommandSystemDialog.setWindowTitle(_translate("CommandSystemDialog", "Command System Main Page")) self.label.setText(_translate("CommandSystemDialog", "cFE/CFS Subsystem Commands")) self.label_2.setText(_translate("CommandSystemDialog", "Available Pages")) - self.pushButton_18.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_19.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_16.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_5.setText(_translate("CommandSystemDialog", "Display Page")) - self.label_4.setText(_translate("CommandSystemDialog", "Packet ID")) - self.pushButton_3.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_11.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_10.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_2.setText(_translate("CommandSystemDialog", "Display Page")) - self.label_5.setText(_translate("CommandSystemDialog", "Send To")) - self.pushButton_1.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_7.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_6.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_9.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_15.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_12.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_14.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_13.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_4.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_0.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_8.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_17.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_20.setText(_translate("CommandSystemDialog", "Display Page")) - self.pushButton_21.setText(_translate("CommandSystemDialog", "Display Page")) - self.label_3.setText(_translate("CommandSystemDialog", "Subsystem/Page")) + item = self.tblCmdSys.horizontalHeaderItem(0) + item.setText(_translate("CommandSystemDialog", "Subsystem/Page")) + item = self.tblCmdSys.horizontalHeaderItem(1) + item.setText(_translate("CommandSystemDialog", "Packet ID")) + item = self.tblCmdSys.horizontalHeaderItem(2) + item.setText(_translate("CommandSystemDialog", "Send To")) diff --git a/Subsystems/cmdGui/Ui_GenericCommandDialog.py b/Subsystems/cmdGui/Ui_GenericCommandDialog.py index 0996edc..f5f7f15 100644 --- a/Subsystems/cmdGui/Ui_GenericCommandDialog.py +++ b/Subsystems/cmdGui/Ui_GenericCommandDialog.py @@ -75,494 +75,19 @@ def setupUi(self, GenericCommandDialog): self.label.setAlignment(QtCore.Qt.AlignCenter) self.label.setObjectName("label") self.verticalLayout_4.addWidget(self.label) + self.tblCommands = QtWidgets.QTableWidget(GenericCommandDialog) + self.tblCommands.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) + self.tblCommands.setObjectName("tblCommands") + self.tblCommands.setColumnCount(2) + self.tblCommands.setRowCount(0) + item = QtWidgets.QTableWidgetItem() + self.tblCommands.setHorizontalHeaderItem(0, item) + item = QtWidgets.QTableWidgetItem() + self.tblCommands.setHorizontalHeaderItem(1, item) + self.tblCommands.verticalHeader().setVisible(False) + self.tblCommands.verticalHeader().setMinimumSectionSize(40) + self.verticalLayout_4.addWidget(self.tblCommands) self.verticalLayout_6.addLayout(self.verticalLayout_4) - self.scrollArea = QtWidgets.QScrollArea(GenericCommandDialog) - self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) - self.scrollArea.setWidgetResizable(True) - self.scrollArea.setObjectName("scrollArea") - self.scrollAreaWidgetContents = QtWidgets.QWidget() - self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 515, 1000)) - self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(0, 1000)) - self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") - self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents) - self.verticalLayout_5.setObjectName("verticalLayout_5") - self.horizontalLayout_2 = QtWidgets.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.itemLabelTextBrowser_1 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_1.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_1.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_1.setReadOnly(True) - self.itemLabelTextBrowser_1.setObjectName("itemLabelTextBrowser_1") - self.horizontalLayout_2.addWidget(self.itemLabelTextBrowser_1) - self.SendButton_1 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_1.sizePolicy().hasHeightForWidth()) - self.SendButton_1.setSizePolicy(sizePolicy) - self.SendButton_1.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_1.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_1.setObjectName("SendButton_1") - self.horizontalLayout_2.addWidget(self.SendButton_1) - self.verticalLayout_5.addLayout(self.horizontalLayout_2) - self.horizontalLayout_3 = QtWidgets.QHBoxLayout() - self.horizontalLayout_3.setObjectName("horizontalLayout_3") - self.itemLabelTextBrowser_2 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_2.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_2.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_2.setReadOnly(True) - self.itemLabelTextBrowser_2.setObjectName("itemLabelTextBrowser_2") - self.horizontalLayout_3.addWidget(self.itemLabelTextBrowser_2) - self.SendButton_2 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_2.sizePolicy().hasHeightForWidth()) - self.SendButton_2.setSizePolicy(sizePolicy) - self.SendButton_2.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_2.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_2.setObjectName("SendButton_2") - self.horizontalLayout_3.addWidget(self.SendButton_2) - self.verticalLayout_5.addLayout(self.horizontalLayout_3) - self.horizontalLayout_4 = QtWidgets.QHBoxLayout() - self.horizontalLayout_4.setObjectName("horizontalLayout_4") - self.itemLabelTextBrowser_3 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_3.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_3.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_3.setReadOnly(True) - self.itemLabelTextBrowser_3.setObjectName("itemLabelTextBrowser_3") - self.horizontalLayout_4.addWidget(self.itemLabelTextBrowser_3) - self.SendButton_3 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_3.sizePolicy().hasHeightForWidth()) - self.SendButton_3.setSizePolicy(sizePolicy) - self.SendButton_3.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_3.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_3.setObjectName("SendButton_3") - self.horizontalLayout_4.addWidget(self.SendButton_3) - self.verticalLayout_5.addLayout(self.horizontalLayout_4) - self.horizontalLayout_5 = QtWidgets.QHBoxLayout() - self.horizontalLayout_5.setObjectName("horizontalLayout_5") - self.itemLabelTextBrowser_4 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_4.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_4.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_4.setReadOnly(True) - self.itemLabelTextBrowser_4.setObjectName("itemLabelTextBrowser_4") - self.horizontalLayout_5.addWidget(self.itemLabelTextBrowser_4) - self.SendButton_4 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_4.sizePolicy().hasHeightForWidth()) - self.SendButton_4.setSizePolicy(sizePolicy) - self.SendButton_4.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_4.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_4.setObjectName("SendButton_4") - self.horizontalLayout_5.addWidget(self.SendButton_4) - self.verticalLayout_5.addLayout(self.horizontalLayout_5) - self.horizontalLayout_6 = QtWidgets.QHBoxLayout() - self.horizontalLayout_6.setObjectName("horizontalLayout_6") - self.itemLabelTextBrowser_5 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_5.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_5.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_5.setReadOnly(True) - self.itemLabelTextBrowser_5.setObjectName("itemLabelTextBrowser_5") - self.horizontalLayout_6.addWidget(self.itemLabelTextBrowser_5) - self.SendButton_5 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_5.sizePolicy().hasHeightForWidth()) - self.SendButton_5.setSizePolicy(sizePolicy) - self.SendButton_5.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_5.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_5.setObjectName("SendButton_5") - self.horizontalLayout_6.addWidget(self.SendButton_5) - self.verticalLayout_5.addLayout(self.horizontalLayout_6) - self.horizontalLayout_7 = QtWidgets.QHBoxLayout() - self.horizontalLayout_7.setObjectName("horizontalLayout_7") - self.itemLabelTextBrowser_6 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_6.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_6.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_6.setReadOnly(True) - self.itemLabelTextBrowser_6.setObjectName("itemLabelTextBrowser_6") - self.horizontalLayout_7.addWidget(self.itemLabelTextBrowser_6) - self.SendButton_6 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_6.sizePolicy().hasHeightForWidth()) - self.SendButton_6.setSizePolicy(sizePolicy) - self.SendButton_6.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_6.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_6.setObjectName("SendButton_6") - self.horizontalLayout_7.addWidget(self.SendButton_6) - self.verticalLayout_5.addLayout(self.horizontalLayout_7) - self.horizontalLayout_8 = QtWidgets.QHBoxLayout() - self.horizontalLayout_8.setObjectName("horizontalLayout_8") - self.itemLabelTextBrowser_7 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_7.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_7.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_7.setReadOnly(True) - self.itemLabelTextBrowser_7.setObjectName("itemLabelTextBrowser_7") - self.horizontalLayout_8.addWidget(self.itemLabelTextBrowser_7) - self.SendButton_7 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_7.sizePolicy().hasHeightForWidth()) - self.SendButton_7.setSizePolicy(sizePolicy) - self.SendButton_7.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_7.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_7.setObjectName("SendButton_7") - self.horizontalLayout_8.addWidget(self.SendButton_7) - self.verticalLayout_5.addLayout(self.horizontalLayout_8) - self.horizontalLayout_9 = QtWidgets.QHBoxLayout() - self.horizontalLayout_9.setObjectName("horizontalLayout_9") - self.itemLabelTextBrowser_8 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_8.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_8.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_8.setReadOnly(True) - self.itemLabelTextBrowser_8.setObjectName("itemLabelTextBrowser_8") - self.horizontalLayout_9.addWidget(self.itemLabelTextBrowser_8) - self.SendButton_8 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_8.sizePolicy().hasHeightForWidth()) - self.SendButton_8.setSizePolicy(sizePolicy) - self.SendButton_8.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_8.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_8.setObjectName("SendButton_8") - self.horizontalLayout_9.addWidget(self.SendButton_8) - self.verticalLayout_5.addLayout(self.horizontalLayout_9) - self.horizontalLayout_10 = QtWidgets.QHBoxLayout() - self.horizontalLayout_10.setObjectName("horizontalLayout_10") - self.itemLabelTextBrowser_9 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_9.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_9.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_9.setReadOnly(True) - self.itemLabelTextBrowser_9.setObjectName("itemLabelTextBrowser_9") - self.horizontalLayout_10.addWidget(self.itemLabelTextBrowser_9) - self.SendButton_9 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_9.sizePolicy().hasHeightForWidth()) - self.SendButton_9.setSizePolicy(sizePolicy) - self.SendButton_9.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_9.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_9.setObjectName("SendButton_9") - self.horizontalLayout_10.addWidget(self.SendButton_9) - self.verticalLayout_5.addLayout(self.horizontalLayout_10) - self.horizontalLayout_11 = QtWidgets.QHBoxLayout() - self.horizontalLayout_11.setObjectName("horizontalLayout_11") - self.itemLabelTextBrowser_10 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_10.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_10.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_10.setReadOnly(True) - self.itemLabelTextBrowser_10.setObjectName("itemLabelTextBrowser_10") - self.horizontalLayout_11.addWidget(self.itemLabelTextBrowser_10) - self.SendButton_10 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_10.sizePolicy().hasHeightForWidth()) - self.SendButton_10.setSizePolicy(sizePolicy) - self.SendButton_10.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_10.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_10.setObjectName("SendButton_10") - self.horizontalLayout_11.addWidget(self.SendButton_10) - self.verticalLayout_5.addLayout(self.horizontalLayout_11) - self.horizontalLayout_12 = QtWidgets.QHBoxLayout() - self.horizontalLayout_12.setObjectName("horizontalLayout_12") - self.itemLabelTextBrowser_11 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_11.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_11.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_11.setReadOnly(True) - self.itemLabelTextBrowser_11.setObjectName("itemLabelTextBrowser_11") - self.horizontalLayout_12.addWidget(self.itemLabelTextBrowser_11) - self.SendButton_11 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_11.sizePolicy().hasHeightForWidth()) - self.SendButton_11.setSizePolicy(sizePolicy) - self.SendButton_11.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_11.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_11.setObjectName("SendButton_11") - self.horizontalLayout_12.addWidget(self.SendButton_11) - self.verticalLayout_5.addLayout(self.horizontalLayout_12) - self.horizontalLayout_13 = QtWidgets.QHBoxLayout() - self.horizontalLayout_13.setObjectName("horizontalLayout_13") - self.itemLabelTextBrowser_12 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_12.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_12.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_12.setReadOnly(True) - self.itemLabelTextBrowser_12.setObjectName("itemLabelTextBrowser_12") - self.horizontalLayout_13.addWidget(self.itemLabelTextBrowser_12) - self.SendButton_12 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_12.sizePolicy().hasHeightForWidth()) - self.SendButton_12.setSizePolicy(sizePolicy) - self.SendButton_12.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_12.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_12.setObjectName("SendButton_12") - self.horizontalLayout_13.addWidget(self.SendButton_12) - self.verticalLayout_5.addLayout(self.horizontalLayout_13) - self.horizontalLayout_14 = QtWidgets.QHBoxLayout() - self.horizontalLayout_14.setObjectName("horizontalLayout_14") - self.itemLabelTextBrowser_13 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_13.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_13.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_13.setReadOnly(True) - self.itemLabelTextBrowser_13.setObjectName("itemLabelTextBrowser_13") - self.horizontalLayout_14.addWidget(self.itemLabelTextBrowser_13) - self.SendButton_13 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_13.sizePolicy().hasHeightForWidth()) - self.SendButton_13.setSizePolicy(sizePolicy) - self.SendButton_13.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_13.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_13.setObjectName("SendButton_13") - self.horizontalLayout_14.addWidget(self.SendButton_13) - self.verticalLayout_5.addLayout(self.horizontalLayout_14) - self.horizontalLayout_15 = QtWidgets.QHBoxLayout() - self.horizontalLayout_15.setObjectName("horizontalLayout_15") - self.itemLabelTextBrowser_14 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_14.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_14.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_14.setReadOnly(True) - self.itemLabelTextBrowser_14.setObjectName("itemLabelTextBrowser_14") - self.horizontalLayout_15.addWidget(self.itemLabelTextBrowser_14) - self.SendButton_14 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_14.sizePolicy().hasHeightForWidth()) - self.SendButton_14.setSizePolicy(sizePolicy) - self.SendButton_14.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_14.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_14.setObjectName("SendButton_14") - self.horizontalLayout_15.addWidget(self.SendButton_14) - self.verticalLayout_5.addLayout(self.horizontalLayout_15) - self.horizontalLayout_16 = QtWidgets.QHBoxLayout() - self.horizontalLayout_16.setObjectName("horizontalLayout_16") - self.itemLabelTextBrowser_15 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_15.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_15.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_15.setReadOnly(True) - self.itemLabelTextBrowser_15.setObjectName("itemLabelTextBrowser_15") - self.horizontalLayout_16.addWidget(self.itemLabelTextBrowser_15) - self.SendButton_15 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_15.sizePolicy().hasHeightForWidth()) - self.SendButton_15.setSizePolicy(sizePolicy) - self.SendButton_15.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_15.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_15.setObjectName("SendButton_15") - self.horizontalLayout_16.addWidget(self.SendButton_15) - self.verticalLayout_5.addLayout(self.horizontalLayout_16) - self.horizontalLayout_17 = QtWidgets.QHBoxLayout() - self.horizontalLayout_17.setObjectName("horizontalLayout_17") - self.itemLabelTextBrowser_16 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_16.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_16.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_16.setReadOnly(True) - self.itemLabelTextBrowser_16.setObjectName("itemLabelTextBrowser_16") - self.horizontalLayout_17.addWidget(self.itemLabelTextBrowser_16) - self.SendButton_16 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_16.sizePolicy().hasHeightForWidth()) - self.SendButton_16.setSizePolicy(sizePolicy) - self.SendButton_16.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_16.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_16.setObjectName("SendButton_16") - self.horizontalLayout_17.addWidget(self.SendButton_16) - self.verticalLayout_5.addLayout(self.horizontalLayout_17) - self.horizontalLayout_18 = QtWidgets.QHBoxLayout() - self.horizontalLayout_18.setObjectName("horizontalLayout_18") - self.itemLabelTextBrowser_17 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_17.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_17.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_17.setReadOnly(True) - self.itemLabelTextBrowser_17.setObjectName("itemLabelTextBrowser_17") - self.horizontalLayout_18.addWidget(self.itemLabelTextBrowser_17) - self.SendButton_17 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_17.sizePolicy().hasHeightForWidth()) - self.SendButton_17.setSizePolicy(sizePolicy) - self.SendButton_17.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_17.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_17.setObjectName("SendButton_17") - self.horizontalLayout_18.addWidget(self.SendButton_17) - self.verticalLayout_5.addLayout(self.horizontalLayout_18) - self.horizontalLayout_19 = QtWidgets.QHBoxLayout() - self.horizontalLayout_19.setObjectName("horizontalLayout_19") - self.itemLabelTextBrowser_18 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_18.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_18.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_18.setReadOnly(True) - self.itemLabelTextBrowser_18.setObjectName("itemLabelTextBrowser_18") - self.horizontalLayout_19.addWidget(self.itemLabelTextBrowser_18) - self.SendButton_18 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_18.sizePolicy().hasHeightForWidth()) - self.SendButton_18.setSizePolicy(sizePolicy) - self.SendButton_18.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_18.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_18.setObjectName("SendButton_18") - self.horizontalLayout_19.addWidget(self.SendButton_18) - self.verticalLayout_5.addLayout(self.horizontalLayout_19) - self.horizontalLayout_20 = QtWidgets.QHBoxLayout() - self.horizontalLayout_20.setObjectName("horizontalLayout_20") - self.itemLabelTextBrowser_19 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_19.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_19.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_19.setReadOnly(True) - self.itemLabelTextBrowser_19.setObjectName("itemLabelTextBrowser_19") - self.horizontalLayout_20.addWidget(self.itemLabelTextBrowser_19) - self.SendButton_19 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_19.sizePolicy().hasHeightForWidth()) - self.SendButton_19.setSizePolicy(sizePolicy) - self.SendButton_19.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_19.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_19.setObjectName("SendButton_19") - self.horizontalLayout_20.addWidget(self.SendButton_19) - self.verticalLayout_5.addLayout(self.horizontalLayout_20) - self.horizontalLayout_21 = QtWidgets.QHBoxLayout() - self.horizontalLayout_21.setObjectName("horizontalLayout_21") - self.itemLabelTextBrowser_20 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_20.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_20.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_20.setReadOnly(True) - self.itemLabelTextBrowser_20.setObjectName("itemLabelTextBrowser_20") - self.horizontalLayout_21.addWidget(self.itemLabelTextBrowser_20) - self.SendButton_20 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_20.sizePolicy().hasHeightForWidth()) - self.SendButton_20.setSizePolicy(sizePolicy) - self.SendButton_20.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_20.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_20.setObjectName("SendButton_20") - self.horizontalLayout_21.addWidget(self.SendButton_20) - self.verticalLayout_5.addLayout(self.horizontalLayout_21) - self.horizontalLayout_22 = QtWidgets.QHBoxLayout() - self.horizontalLayout_22.setObjectName("horizontalLayout_22") - self.itemLabelTextBrowser_21 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_21.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_21.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_21.setReadOnly(True) - self.itemLabelTextBrowser_21.setObjectName("itemLabelTextBrowser_21") - self.horizontalLayout_22.addWidget(self.itemLabelTextBrowser_21) - self.SendButton_21 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_21.sizePolicy().hasHeightForWidth()) - self.SendButton_21.setSizePolicy(sizePolicy) - self.SendButton_21.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_21.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_21.setObjectName("SendButton_21") - self.horizontalLayout_22.addWidget(self.SendButton_21) - self.verticalLayout_5.addLayout(self.horizontalLayout_22) - self.horizontalLayout_23 = QtWidgets.QHBoxLayout() - self.horizontalLayout_23.setObjectName("horizontalLayout_23") - self.itemLabelTextBrowser_22 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_22.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_22.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_22.setReadOnly(True) - self.itemLabelTextBrowser_22.setObjectName("itemLabelTextBrowser_22") - self.horizontalLayout_23.addWidget(self.itemLabelTextBrowser_22) - self.SendButton_22 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_22.sizePolicy().hasHeightForWidth()) - self.SendButton_22.setSizePolicy(sizePolicy) - self.SendButton_22.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_22.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_22.setObjectName("SendButton_22") - self.horizontalLayout_23.addWidget(self.SendButton_22) - self.verticalLayout_5.addLayout(self.horizontalLayout_23) - self.horizontalLayout_24 = QtWidgets.QHBoxLayout() - self.horizontalLayout_24.setObjectName("horizontalLayout_24") - self.itemLabelTextBrowser_23 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_23.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_23.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_23.setReadOnly(True) - self.itemLabelTextBrowser_23.setObjectName("itemLabelTextBrowser_23") - self.horizontalLayout_24.addWidget(self.itemLabelTextBrowser_23) - self.SendButton_23 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_23.sizePolicy().hasHeightForWidth()) - self.SendButton_23.setSizePolicy(sizePolicy) - self.SendButton_23.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_23.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_23.setObjectName("SendButton_23") - self.horizontalLayout_24.addWidget(self.SendButton_23) - self.verticalLayout_5.addLayout(self.horizontalLayout_24) - self.horizontalLayout_25 = QtWidgets.QHBoxLayout() - self.horizontalLayout_25.setObjectName("horizontalLayout_25") - self.itemLabelTextBrowser_24 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_24.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_24.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_24.setReadOnly(True) - self.itemLabelTextBrowser_24.setObjectName("itemLabelTextBrowser_24") - self.horizontalLayout_25.addWidget(self.itemLabelTextBrowser_24) - self.SendButton_24 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_24.sizePolicy().hasHeightForWidth()) - self.SendButton_24.setSizePolicy(sizePolicy) - self.SendButton_24.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_24.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_24.setObjectName("SendButton_24") - self.horizontalLayout_25.addWidget(self.SendButton_24) - self.verticalLayout_5.addLayout(self.horizontalLayout_25) - self.horizontalLayout_26 = QtWidgets.QHBoxLayout() - self.horizontalLayout_26.setObjectName("horizontalLayout_26") - self.itemLabelTextBrowser_25 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) - self.itemLabelTextBrowser_25.setMinimumSize(QtCore.QSize(391, 31)) - self.itemLabelTextBrowser_25.setMaximumSize(QtCore.QSize(1234, 31)) - self.itemLabelTextBrowser_25.setReadOnly(True) - self.itemLabelTextBrowser_25.setObjectName("itemLabelTextBrowser_25") - self.horizontalLayout_26.addWidget(self.itemLabelTextBrowser_25) - self.SendButton_25 = QtWidgets.QPushButton(self.scrollAreaWidgetContents) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SendButton_25.sizePolicy().hasHeightForWidth()) - self.SendButton_25.setSizePolicy(sizePolicy) - self.SendButton_25.setMinimumSize(QtCore.QSize(73, 32)) - self.SendButton_25.setMaximumSize(QtCore.QSize(73, 32)) - self.SendButton_25.setObjectName("SendButton_25") - self.horizontalLayout_26.addWidget(self.SendButton_25) - self.verticalLayout_5.addLayout(self.horizontalLayout_26) - self.scrollArea.setWidget(self.scrollAreaWidgetContents) - self.verticalLayout_6.addWidget(self.scrollArea) self.retranslateUi(GenericCommandDialog) self.buttonBox.clicked['QAbstractButton*'].connect(GenericCommandDialog.close) @@ -575,29 +100,6 @@ def retranslateUi(self, GenericCommandDialog): self.packetIdLabel.setText(_translate("GenericCommandDialog", "Packet ID")) self.label_5.setText(_translate("GenericCommandDialog", "Send To:")) self.label.setText(_translate("GenericCommandDialog", "Command")) - self.SendButton_1.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_2.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_3.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_4.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_5.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_6.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_7.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_8.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_9.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_10.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_11.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_12.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_13.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_14.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_15.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_16.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_17.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_18.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_19.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_20.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_21.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_22.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_23.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_24.setText(_translate("GenericCommandDialog", "Send")) - self.SendButton_25.setText(_translate("GenericCommandDialog", "Send")) + item = self.tblCommands.horizontalHeaderItem(0) + item.setText(_translate("GenericCommandDialog", "Command")) diff --git a/Subsystems/cmdGui/Ui_ParameterDialog.py b/Subsystems/cmdGui/Ui_ParameterDialog.py index 3644c4e..cfe226a 100644 --- a/Subsystems/cmdGui/Ui_ParameterDialog.py +++ b/Subsystems/cmdGui/Ui_ParameterDialog.py @@ -12,7 +12,7 @@ class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.setEnabled(True) - Dialog.resize(786, 534) + Dialog.resize(782, 550) self.label_title = QtWidgets.QLabel(Dialog) self.label_title.setGeometry(QtCore.QRect(330, 120, 91, 31)) font = QtGui.QFont() @@ -56,207 +56,25 @@ def setupUi(self, Dialog): self.commandAddressTextBrowser = QtWidgets.QTextBrowser(Dialog) self.commandAddressTextBrowser.setGeometry(QtCore.QRect(260, 40, 211, 41)) self.commandAddressTextBrowser.setObjectName("commandAddressTextBrowser") - self.scrollArea_2 = QtWidgets.QScrollArea(Dialog) - self.scrollArea_2.setGeometry(QtCore.QRect(20, 180, 741, 301)) - self.scrollArea_2.setMinimumSize(QtCore.QSize(0, 0)) - self.scrollArea_2.setBaseSize(QtCore.QSize(0, 500)) - self.scrollArea_2.setObjectName("scrollArea_2") - self.scrollAreaWidgetContents_2 = QtWidgets.QWidget() - self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 725, 1000)) - self.scrollAreaWidgetContents_2.setMinimumSize(QtCore.QSize(0, 1000)) - self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2") - self.descrip_1 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_1.setGeometry(QtCore.QRect(150, 30, 281, 41)) - self.descrip_1.setMinimumSize(QtCore.QSize(281, 41)) - self.descrip_1.setMaximumSize(QtCore.QSize(300, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_1.setFont(font) - self.descrip_1.setObjectName("descrip_1") - self.label_input_title_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2) - self.label_input_title_2.setGeometry(QtCore.QRect(440, 10, 91, 21)) - font = QtGui.QFont() - font.setFamily("Sans Serif") - font.setPointSize(10) - self.label_input_title_2.setFont(font) - self.label_input_title_2.setObjectName("label_input_title_2") - self.label_param_title_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2) - self.label_param_title_3.setGeometry(QtCore.QRect(10, 10, 111, 21)) - font = QtGui.QFont() - font.setFamily("Sans Serif") - font.setPointSize(10) - self.label_param_title_3.setFont(font) - self.label_param_title_3.setObjectName("label_param_title_3") - self.label_descrip_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2) - self.label_descrip_2.setGeometry(QtCore.QRect(150, 10, 111, 21)) - font = QtGui.QFont() - font.setFamily("Sans Serif") - font.setPointSize(10) - self.label_descrip_2.setFont(font) - self.label_descrip_2.setObjectName("label_descrip_2") - self.descrip_2 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_2.setGeometry(QtCore.QRect(150, 80, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_2.setFont(font) - self.descrip_2.setObjectName("descrip_2") - self.descrip_3 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_3.setGeometry(QtCore.QRect(150, 130, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_3.setFont(font) - self.descrip_3.setObjectName("descrip_3") - self.descrip_4 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_4.setGeometry(QtCore.QRect(150, 180, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_4.setFont(font) - self.descrip_4.setObjectName("descrip_4") - self.descrip_5 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_5.setGeometry(QtCore.QRect(150, 230, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_5.setFont(font) - self.descrip_5.setObjectName("descrip_5") - self.descrip_6 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_6.setGeometry(QtCore.QRect(150, 280, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_6.setFont(font) - self.descrip_6.setObjectName("descrip_6") - self.descrip_7 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_7.setGeometry(QtCore.QRect(150, 330, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_7.setFont(font) - self.descrip_7.setObjectName("descrip_7") - self.descrip_8 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_8.setGeometry(QtCore.QRect(150, 380, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_8.setFont(font) - self.descrip_8.setObjectName("descrip_8") - self.descrip_9 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_9.setGeometry(QtCore.QRect(150, 430, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_9.setFont(font) - self.descrip_9.setObjectName("descrip_9") - self.descrip_10 = QtWidgets.QTextBrowser(self.scrollAreaWidgetContents_2) - self.descrip_10.setGeometry(QtCore.QRect(150, 480, 281, 41)) - font = QtGui.QFont() - font.setPointSize(8) - self.descrip_10.setFont(font) - self.descrip_10.setObjectName("descrip_10") - self.input_1 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_1.setGeometry(QtCore.QRect(440, 30, 271, 41)) - self.input_1.setObjectName("input_1") - self.input_2 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_2.setGeometry(QtCore.QRect(440, 80, 271, 41)) - self.input_2.setObjectName("input_2") - self.input_3 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_3.setGeometry(QtCore.QRect(440, 130, 271, 41)) - self.input_3.setObjectName("input_3") - self.input_4 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_4.setGeometry(QtCore.QRect(440, 180, 271, 41)) - self.input_4.setObjectName("input_4") - self.input_5 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_5.setGeometry(QtCore.QRect(440, 230, 271, 41)) - self.input_5.setObjectName("input_5") - self.input_6 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_6.setGeometry(QtCore.QRect(440, 280, 271, 41)) - self.input_6.setObjectName("input_6") - self.input_7 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_7.setGeometry(QtCore.QRect(440, 330, 271, 41)) - self.input_7.setObjectName("input_7") - self.input_8 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_8.setGeometry(QtCore.QRect(440, 380, 271, 41)) - self.input_8.setObjectName("input_8") - self.input_9 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_9.setGeometry(QtCore.QRect(440, 430, 271, 41)) - self.input_9.setObjectName("input_9") - self.input_10 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.input_10.setGeometry(QtCore.QRect(440, 480, 271, 41)) - self.input_10.setObjectName("input_10") - self.paramName_1 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_1.setGeometry(QtCore.QRect(10, 30, 131, 41)) - self.paramName_1.setReadOnly(True) - self.paramName_1.setObjectName("paramName_1") - self.paramName_2 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_2.setGeometry(QtCore.QRect(10, 80, 131, 41)) - self.paramName_2.setReadOnly(True) - self.paramName_2.setObjectName("paramName_2") - self.paramName_3 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_3.setGeometry(QtCore.QRect(10, 130, 131, 41)) - self.paramName_3.setReadOnly(True) - self.paramName_3.setObjectName("paramName_3") - self.paramName_4 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_4.setGeometry(QtCore.QRect(10, 180, 131, 41)) - self.paramName_4.setReadOnly(True) - self.paramName_4.setObjectName("paramName_4") - self.paramName_5 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_5.setGeometry(QtCore.QRect(10, 230, 131, 41)) - self.paramName_5.setReadOnly(True) - self.paramName_5.setObjectName("paramName_5") - self.paramName_6 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_6.setGeometry(QtCore.QRect(10, 280, 131, 41)) - self.paramName_6.setReadOnly(True) - self.paramName_6.setObjectName("paramName_6") - self.paramName_7 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_7.setGeometry(QtCore.QRect(10, 330, 131, 41)) - self.paramName_7.setReadOnly(True) - self.paramName_7.setObjectName("paramName_7") - self.paramName_8 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_8.setGeometry(QtCore.QRect(10, 380, 131, 41)) - self.paramName_8.setReadOnly(True) - self.paramName_8.setObjectName("paramName_8") - self.paramName_9 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_9.setGeometry(QtCore.QRect(10, 430, 131, 41)) - self.paramName_9.setReadOnly(True) - self.paramName_9.setObjectName("paramName_9") - self.paramName_10 = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2) - self.paramName_10.setGeometry(QtCore.QRect(10, 480, 131, 41)) - self.paramName_10.setReadOnly(True) - self.paramName_10.setObjectName("paramName_10") - self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) + self.tblParameters = QtWidgets.QTableWidget(Dialog) + self.tblParameters.setGeometry(QtCore.QRect(20, 180, 731, 301)) + self.tblParameters.setObjectName("tblParameters") + self.tblParameters.setColumnCount(3) + self.tblParameters.setRowCount(0) + item = QtWidgets.QTableWidgetItem() + self.tblParameters.setHorizontalHeaderItem(0, item) + item = QtWidgets.QTableWidgetItem() + self.tblParameters.setHorizontalHeaderItem(1, item) + item = QtWidgets.QTableWidgetItem() + self.tblParameters.setHorizontalHeaderItem(2, item) + self.tblParameters.verticalHeader().setVisible(False) self.retranslateUi(Dialog) self.buttonBox.clicked['QAbstractButton*'].connect(Dialog.close) QtCore.QMetaObject.connectSlotsByName(Dialog) - Dialog.setTabOrder(self.input_1, self.input_2) - Dialog.setTabOrder(self.input_2, self.input_3) - Dialog.setTabOrder(self.input_3, self.input_4) - Dialog.setTabOrder(self.input_4, self.input_5) - Dialog.setTabOrder(self.input_5, self.input_6) - Dialog.setTabOrder(self.input_6, self.input_7) - Dialog.setTabOrder(self.input_7, self.input_8) - Dialog.setTabOrder(self.input_8, self.input_9) - Dialog.setTabOrder(self.input_9, self.input_10) - Dialog.setTabOrder(self.input_10, self.descrip_4) - Dialog.setTabOrder(self.descrip_4, self.descrip_5) - Dialog.setTabOrder(self.descrip_5, self.descrip_2) - Dialog.setTabOrder(self.descrip_2, self.descrip_6) - Dialog.setTabOrder(self.descrip_6, self.descrip_7) - Dialog.setTabOrder(self.descrip_7, self.descrip_8) - Dialog.setTabOrder(self.descrip_8, self.descrip_9) - Dialog.setTabOrder(self.descrip_9, self.descrip_10) - Dialog.setTabOrder(self.descrip_10, self.status_box) Dialog.setTabOrder(self.status_box, self.SendButton_1) Dialog.setTabOrder(self.SendButton_1, self.subSystemTextBrowser) Dialog.setTabOrder(self.subSystemTextBrowser, self.commandAddressTextBrowser) - Dialog.setTabOrder(self.commandAddressTextBrowser, self.scrollArea_2) - Dialog.setTabOrder(self.scrollArea_2, self.descrip_1) - Dialog.setTabOrder(self.descrip_1, self.descrip_3) - Dialog.setTabOrder(self.descrip_3, self.paramName_1) - Dialog.setTabOrder(self.paramName_1, self.paramName_2) - Dialog.setTabOrder(self.paramName_2, self.paramName_3) - Dialog.setTabOrder(self.paramName_3, self.paramName_4) - Dialog.setTabOrder(self.paramName_4, self.paramName_5) - Dialog.setTabOrder(self.paramName_5, self.paramName_6) - Dialog.setTabOrder(self.paramName_6, self.paramName_7) - Dialog.setTabOrder(self.paramName_7, self.paramName_8) - Dialog.setTabOrder(self.paramName_8, self.paramName_9) - Dialog.setTabOrder(self.paramName_9, self.paramName_10) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate @@ -267,7 +85,10 @@ def retranslateUi(self, Dialog): self.SendButton_1.setText(_translate("Dialog", "Send")) self.label_5.setText(_translate("Dialog", "Command:")) self.subSystemCommandPageLabel.setText(_translate("Dialog", "Subsystem:")) - self.label_input_title_2.setText(_translate("Dialog", "Input")) - self.label_param_title_3.setText(_translate("Dialog", "Parameter")) - self.label_descrip_2.setText(_translate("Dialog", "Description")) + item = self.tblParameters.horizontalHeaderItem(0) + item.setText(_translate("Dialog", "Parameter")) + item = self.tblParameters.horizontalHeaderItem(1) + item.setText(_translate("Dialog", "Description")) + item = self.tblParameters.horizontalHeaderItem(2) + item.setText(_translate("Dialog", "Input")) diff --git a/Subsystems/tlmGUI/GenericTelemetry.py b/Subsystems/tlmGUI/GenericTelemetry.py index ca081e8..92ada77 100644 --- a/Subsystems/tlmGUI/GenericTelemetry.py +++ b/Subsystems/tlmGUI/GenericTelemetry.py @@ -28,7 +28,8 @@ import zmq from PyQt5.QtCore import QThread, pyqtSignal -from PyQt5.QtWidgets import QApplication, QDialog, QTableWidgetItem +from PyQt5.QtWidgets import (QApplication, QDialog, QHeaderView, + QTableWidgetItem) from Ui_GenericTelemetryDialog import Ui_GenericTelemetryDialog @@ -190,6 +191,7 @@ def usage(): # app = QApplication(sys.argv) Telem = SubsystemTelemetry() + tbl = Telem.tblTelemetry Telem.subSystemLineEdit.setText(pageTitle) Telem.packetId.display(appId) @@ -206,7 +208,7 @@ def usage(): with open(f"{ROOTDIR}/{tlmDefFile}") as tlmfile: reader = csv.reader(tlmfile, skipinitialspace=True) for row in reader: - if not row[0].startswith('#'): + if not row[0].startswith("#"): tlmItemIsValid.append(True) tlmItemDesc.append(row[0]) tlmItemStart.append(row[1]) @@ -223,6 +225,8 @@ def usage(): Telem.tblTelemetry.setItem(i, 0, lblItem) Telem.tblTelemetry.setItem(i, 1, valItem) i += 1 + tbl.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) + tbl.verticalHeader().setSectionResizeMode(QHeaderView.Stretch) # # Display the page diff --git a/Subsystems/tlmGUI/GenericTelemetryDialog-ORIG.ui b/Subsystems/tlmGUI/GenericTelemetryDialog-ORIG.ui deleted file mode 100644 index fa9ecc6..0000000 --- a/Subsystems/tlmGUI/GenericTelemetryDialog-ORIG.ui +++ /dev/null @@ -1,2146 +0,0 @@ - - - GenericTelemetryDialog - - - - 0 - 0 - 1046 - 816 - - - - Telemetry Page - - - - - 40 - 22 - 841 - 65 - - - - - - - - - Subsystem Telemetry Page - - - - - - - - 141 - 31 - - - - - 141 - 31 - - - - true - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - 0 - 0 - - - - - 0 - 21 - - - - - 16777215 - 25 - - - - Packet ID - - - - - - - - 0 - 0 - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Sequence Count - - - - - - - - 101 - 31 - - - - - 101 - 31 - - - - QAbstractSpinBox::NoButtons - - - 16384 - - - 0 - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - QDialogButtonBox::Close - - - - - - - - - 29 - 750 - 711 - 19 - - - - - 12 - - - - *No packets? Remember to select the IP address of your spacecraft in the Main Window. - - - - - - 40 - 100 - 451 - 23 - - - - - - - - 0 - 0 - - - - - 161 - 17 - - - - Telemetry Point Label - - - Qt::AlignCenter - - - - - - - - 0 - 0 - - - - - 161 - 17 - - - - Telemetry Point Value - - - Qt::AlignCenter - - - - - - - - - 30 - 130 - 961 - 601 - - - - Qt::ScrollBarAlwaysOn - - - true - - - - - 0 - 0 - 945 - 1000 - - - - - 0 - 1000 - - - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - - Qt::Vertical - - - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - 0 - 0 - - - - - 161 - 31 - - - - - 161 - 31 - - - - true - - - - - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - 151 - 31 - - - - - 151 - 31 - - - - true - - - - - - - - - - - - 510 - 100 - 451 - 23 - - - - - - - - 0 - 0 - - - - - 161 - 17 - - - - Telemetry Point Label - - - Qt::AlignCenter - - - - - - - - 0 - 0 - - - - - 161 - 17 - - - - Telemetry Point Value - - - Qt::AlignCenter - - - - - - - - - - buttonBox - clicked(QAbstractButton*) - GenericTelemetryDialog - close() - - - 99 - 46 - - - 522 - 407 - - - - - diff --git a/Subsystems/tlmGUI/GenericTelemetryDialog.ui b/Subsystems/tlmGUI/GenericTelemetryDialog.ui index 4b59f51..f1d2ed2 100644 --- a/Subsystems/tlmGUI/GenericTelemetryDialog.ui +++ b/Subsystems/tlmGUI/GenericTelemetryDialog.ui @@ -6,8 +6,8 @@ 0 0 - 630 - 816 + 574 + 836 @@ -16,9 +16,9 @@ - 90 - 730 - 431 + 29 + 750 + 711 61 @@ -28,29 +28,30 @@ - <html><head/><body><p>*No packets? Remember to select the IP address of your<br/>spacecraft in the Main Window.</p></body></html> + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Noto Sans'; font-size:12pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">*No packets? Remember to select the IP address of<br />your spacecraft in the Main Window.</p></body></html> - 70 - 110 - 470 - 601 + 20 + 100 + 431 + 621 - - Qt::ScrollBarAlwaysOff - - - QAbstractScrollArea::AdjustToContentsOnFirstShow - QAbstractItemView::NoEditTriggers - 225 + 200 + + + false @@ -66,9 +67,9 @@ - 510 - 50 - 81 + 450 + 100 + 100 31 @@ -76,13 +77,13 @@ QDialogButtonBox::Close - + - 270 - 25 + 260 + 24 73 - 60 + 54 @@ -123,10 +124,10 @@ - + - 370 + 350 23 125 62 @@ -167,7 +168,7 @@ - + 42 diff --git a/Subsystems/tlmGUI/TelemetrySystem.py b/Subsystems/tlmGUI/TelemetrySystem.py index 2293f4a..616a2b3 100644 --- a/Subsystems/tlmGUI/TelemetrySystem.py +++ b/Subsystems/tlmGUI/TelemetrySystem.py @@ -29,7 +29,8 @@ import zmq from PyQt5.QtCore import QThread, pyqtSignal -from PyQt5.QtWidgets import QApplication, QDialog +from PyQt5.QtWidgets import (QApplication, QDialog, QHeaderView, QPushButton, + QTableWidgetItem) from Ui_TelemetrySystemDialog import Ui_TelemetrySystemDialog @@ -49,10 +50,10 @@ def __init__(self): self.pktCount = 0 self.subscription = None - for k in range(21): - pushButton = getattr(self, f"pushButton_{k}") - pushButton.clicked.connect( - lambda _, x=k: self.ProcessButtonGeneric(x)) + # for k in range(21): + # pushButton = getattr(self, f"pushButton_{k}") + # pushButton.clicked.connect( + # lambda _, x=k: self.ProcessButtonGeneric(x)) # # convert a string of binary bytes to ascii hex @@ -97,7 +98,8 @@ def initTSTlmReceiver(self, subscr): self.thread.start() # - # This method processes packets. Called when the TelemetryReceiver receives a message/packet + # This method processes packets. + # Called when the TelemetryReceiver receives a message/packet # def processPendingDatagrams(self, datagram): # @@ -108,29 +110,31 @@ def processPendingDatagrams(self, datagram): # sendSocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # - # Decode the packet and forward it to the correct port (if there is one) + # Decode the packet and forward it to the + # correct port (if there is one) # streamId = unpack(">H", datagram[:2]) - # Uncomment the next two lines to debug + ## Uncomment the next two lines to debug # print("Packet ID =", hex(streamId[0])) # self.dumpPacket(datagram) - for l in range(21): + for l in range(self.tblTlmSys.rowCount()): if streamId[0] == tlmPageAppid[l]: # send_host = "127.0.0.1" # send_port = tlmPagePort[l] # sendSocket.sendto(datagram, (send_host, send_port)) tlmPageCount[l] += 1 - # - # I wish I knew a better way to update the count field in the GUI - # Maybe store a pointer to the field in the gui - # - if l < 15: - countSpinBox_l = getattr(self, f"countSpinBox_{l}") - else: - countSpinBox_l = getattr(self, f"countSpinBox_{l+1}") - countSpinBox_l.setValue(tlmPageCount[l]) + ## I wish I knew a better way to update the count field + ## in the GUI. Maybe store a pointer to the field in the gui + self.tblTlmSys.item(l, 2).setText(str(tlmPageCount[l])) + + ## Unclear why line 15 is skipped. Removing for now, need + ## to evaluate long term (lbleier 06/01/2020) + # if l < 15: + # self.tblTlmSys.item(l, 2).setText(str(tlmPageCount[l])) + # else: + # self.tblTlmSys.item(l + 1, 2).setText(str(tlmPageCount[l])) ## Reimplements closeEvent ## to properly quit the thread @@ -159,7 +163,7 @@ def __init__(self, subscr): def run(self): while self.runs: # Receive and read envelope with address - address, datagram = self.subscriber.recv_multipart() + _, datagram = self.subscriber.recv_multipart() # Send signal with received packet to front-end/GUI self.tsSignalTlmDatagram.emit(datagram) @@ -173,6 +177,7 @@ def run(self): # app = QApplication(sys.argv) Telem = TelemetrySystem() + tbl = Telem.tblTlmSys # # Set defaults for the arguments @@ -207,7 +212,7 @@ def run(self): with open(tlmDefFile) as tlmfile: reader = csv.reader(tlmfile, skipinitialspace=True) for row in reader: - if row[0][0] != '#': + if not row[0].startswith('#'): tlmPageIsValid.append(True) tlmPageDesc.append(row[0]) tlmClass.append(row[1]) @@ -217,25 +222,27 @@ def run(self): tlmPageCount.append(0) i += 1 # - # Mark the remaining values ad invalid + # Mark the remaining values as invalid # - for _ in range(i, 21): - tlmPageAppid.append(0) - tlmPageIsValid.append(False) + # for _ in range(i, 21): + # tlmPageAppid.append(0) + # tlmPageIsValid.append(False) # # fill the data fields on the page # - for i in range(21): - subsysBrowser = getattr(Telem, f"SubsysBrowser_{i}") + for i, desc in enumerate(tlmPageDesc): if tlmPageIsValid[i]: - pktidBrowser = getattr(Telem, f"pktidBrowser_{i}") - countSpinBox = getattr(Telem, f"countSpinBox_{i}") - subsysBrowser.setPlainText(tlmPageDesc[i]) - pktidBrowser.setText(hex(tlmPageAppid[i])) - countSpinBox.setValue(tlmPageCount[0]) - else: - subsysBrowser.setPlainText("(unused)") + tbl.insertRow(i) + for col, text in enumerate( + (desc, hex(tlmPageAppid[i]), tlmPageCount[0])): + tblItem = QTableWidgetItem(str(text)) + tbl.setItem(i, col, tblItem) + btn = QPushButton("Display Page") + btn.clicked.connect(lambda _, x=i: Telem.ProcessButtonGeneric(x)) + tbl.setCellWidget(i, tbl.columnCount() - 1, btn) + tbl.horizontalHeader().setSectionResizeMode(QHeaderView.ResizeToContents) + tbl.horizontalHeader().setStretchLastSection(True) # # Display the page diff --git a/Subsystems/tlmGUI/TelemetrySystemDialog.ui b/Subsystems/tlmGUI/TelemetrySystemDialog.ui index 50258c8..451078d 100644 --- a/Subsystems/tlmGUI/TelemetrySystemDialog.ui +++ b/Subsystems/tlmGUI/TelemetrySystemDialog.ui @@ -198,2080 +198,33 @@ - - - - 0 - 0 - + + + QAbstractItemView::NoEditTriggers - - - 0 - 800 - - - - Qt::ScrollBarAlwaysOn - - - true - - - - - 0 - 0 - 591 - 1000 - + + false + + + + Subsystem/Page - - - 0 - 1000 - + + + + Packet ID - - - - 10 - 11 - 523 - 892 - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - Subsystem/Page - - - - - - - - 0 - 0 - - - - - 81 - 31 - - - - - 81 - 31 - - - - Packet ID - - - - - - - - 0 - 0 - - - - - 91 - 31 - - - - - 100 - 31 - - - - Packet Count - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 110 - 27 - - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - - - - - 0 - 0 - - - - - 141 - 31 - - - - - 141 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - - - - - - 81 - 31 - - - - - 81 - 31 - - - - true - - - QAbstractSpinBox::NoButtons - - - 16384 - - - - - - - - 0 - 0 - - - - - 101 - 27 - - - - - 120 - 27 - - - - Display Page - - - - - - - - + + + + Packet Count + + + + + + + diff --git a/Subsystems/tlmGUI/Ui_GenericTelemetryDialog.py b/Subsystems/tlmGUI/Ui_GenericTelemetryDialog.py index 9304866..5eb76ca 100644 --- a/Subsystems/tlmGUI/Ui_GenericTelemetryDialog.py +++ b/Subsystems/tlmGUI/Ui_GenericTelemetryDialog.py @@ -11,17 +11,15 @@ class Ui_GenericTelemetryDialog(object): def setupUi(self, GenericTelemetryDialog): GenericTelemetryDialog.setObjectName("GenericTelemetryDialog") - GenericTelemetryDialog.resize(630, 816) + GenericTelemetryDialog.resize(574, 836) self.label_6 = QtWidgets.QLabel(GenericTelemetryDialog) - self.label_6.setGeometry(QtCore.QRect(90, 730, 431, 61)) + self.label_6.setGeometry(QtCore.QRect(29, 750, 711, 61)) font = QtGui.QFont() font.setPointSize(12) self.label_6.setFont(font) self.label_6.setObjectName("label_6") self.tblTelemetry = QtWidgets.QTableWidget(GenericTelemetryDialog) - self.tblTelemetry.setGeometry(QtCore.QRect(70, 110, 470, 601)) - self.tblTelemetry.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) - self.tblTelemetry.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContentsOnFirstShow) + self.tblTelemetry.setGeometry(QtCore.QRect(20, 100, 431, 621)) self.tblTelemetry.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) self.tblTelemetry.setObjectName("tblTelemetry") self.tblTelemetry.setColumnCount(2) @@ -30,15 +28,16 @@ def setupUi(self, GenericTelemetryDialog): self.tblTelemetry.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tblTelemetry.setHorizontalHeaderItem(1, item) - self.tblTelemetry.horizontalHeader().setDefaultSectionSize(225) + self.tblTelemetry.horizontalHeader().setDefaultSectionSize(200) + self.tblTelemetry.verticalHeader().setVisible(False) self.buttonBox = QtWidgets.QDialogButtonBox(GenericTelemetryDialog) - self.buttonBox.setGeometry(QtCore.QRect(510, 50, 81, 31)) + self.buttonBox.setGeometry(QtCore.QRect(450, 100, 100, 31)) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close) self.buttonBox.setObjectName("buttonBox") - self.widget = QtWidgets.QWidget(GenericTelemetryDialog) - self.widget.setGeometry(QtCore.QRect(270, 25, 73, 60)) - self.widget.setObjectName("widget") - self.verticalLayout = QtWidgets.QVBoxLayout(self.widget) + self.layoutWidget = QtWidgets.QWidget(GenericTelemetryDialog) + self.layoutWidget.setGeometry(QtCore.QRect(260, 24, 73, 54)) + self.layoutWidget.setObjectName("layoutWidget") + self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout.setContentsMargins(0, 0, 0, 0) self.verticalLayout.setObjectName("verticalLayout") self.packetIdLabel = QtWidgets.QLabel(self.widget) @@ -59,16 +58,16 @@ def setupUi(self, GenericTelemetryDialog): self.packetId.setSizePolicy(sizePolicy) self.packetId.setObjectName("packetId") self.verticalLayout.addWidget(self.packetId) - self.widget1 = QtWidgets.QWidget(GenericTelemetryDialog) - self.widget1.setGeometry(QtCore.QRect(370, 23, 125, 62)) - self.widget1.setObjectName("widget1") - self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget1) + self.layoutWidget1 = QtWidgets.QWidget(GenericTelemetryDialog) + self.layoutWidget1.setGeometry(QtCore.QRect(350, 23, 125, 62)) + self.layoutWidget1.setObjectName("layoutWidget1") + self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.layoutWidget1) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") - self.label_5 = QtWidgets.QLabel(self.widget1) + self.label_5 = QtWidgets.QLabel(self.layoutWidget1) self.label_5.setObjectName("label_5") self.verticalLayout_3.addWidget(self.label_5) - self.sequenceCount = QtWidgets.QSpinBox(self.widget1) + self.sequenceCount = QtWidgets.QSpinBox(self.layoutWidget1) self.sequenceCount.setMinimumSize(QtCore.QSize(101, 31)) self.sequenceCount.setMaximumSize(QtCore.QSize(101, 31)) self.sequenceCount.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) @@ -76,16 +75,16 @@ def setupUi(self, GenericTelemetryDialog): self.sequenceCount.setProperty("value", 0) self.sequenceCount.setObjectName("sequenceCount") self.verticalLayout_3.addWidget(self.sequenceCount) - self.widget2 = QtWidgets.QWidget(GenericTelemetryDialog) - self.widget2.setGeometry(QtCore.QRect(42, 24, 204, 62)) - self.widget2.setObjectName("widget2") - self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widget2) + self.layoutWidget2 = QtWidgets.QWidget(GenericTelemetryDialog) + self.layoutWidget2.setGeometry(QtCore.QRect(42, 24, 204, 62)) + self.layoutWidget2.setObjectName("layoutWidget2") + self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget2) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") - self.subSystemTelemetryPageLabel = QtWidgets.QLabel(self.widget2) + self.subSystemTelemetryPageLabel = QtWidgets.QLabel(self.layoutWidget2) self.subSystemTelemetryPageLabel.setObjectName("subSystemTelemetryPageLabel") self.verticalLayout_2.addWidget(self.subSystemTelemetryPageLabel) - self.subSystemLineEdit = QtWidgets.QLineEdit(self.widget2) + self.subSystemLineEdit = QtWidgets.QLineEdit(self.layoutWidget2) self.subSystemLineEdit.setMinimumSize(QtCore.QSize(141, 31)) self.subSystemLineEdit.setMaximumSize(QtCore.QSize(141, 31)) self.subSystemLineEdit.setReadOnly(True) @@ -99,7 +98,11 @@ def setupUi(self, GenericTelemetryDialog): def retranslateUi(self, GenericTelemetryDialog): _translate = QtCore.QCoreApplication.translate GenericTelemetryDialog.setWindowTitle(_translate("GenericTelemetryDialog", "Telemetry Page")) - self.label_6.setText(_translate("GenericTelemetryDialog", "

*No packets? Remember to select the IP address of your
spacecraft in the Main Window.

")) + self.label_6.setText(_translate("GenericTelemetryDialog", "\n" +"\n" +"

*No packets? Remember to select the IP address of
your spacecraft in the Main Window.

")) item = self.tblTelemetry.horizontalHeaderItem(0) item.setText(_translate("GenericTelemetryDialog", "Telemetry Point Label")) item = self.tblTelemetry.horizontalHeaderItem(1) diff --git a/Subsystems/tlmGUI/Ui_TelemetrySystemDialog.py b/Subsystems/tlmGUI/Ui_TelemetrySystemDialog.py index 379b38b..59ffeae 100644 --- a/Subsystems/tlmGUI/Ui_TelemetrySystemDialog.py +++ b/Subsystems/tlmGUI/Ui_TelemetrySystemDialog.py @@ -65,815 +65,21 @@ def setupUi(self, TelemetrySystemDialog): spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem8) self.verticalLayout.addLayout(self.horizontalLayout_4) - self.scrollArea = QtWidgets.QScrollArea(TelemetrySystemDialog) - self.scrollArea.setMinimumSize(QtCore.QSize(0, 0)) - self.scrollArea.setBaseSize(QtCore.QSize(0, 800)) - self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) - self.scrollArea.setWidgetResizable(True) - self.scrollArea.setObjectName("scrollArea") - self.scrollAreaWidgetContents = QtWidgets.QWidget() - self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 591, 1000)) - self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(0, 1000)) - self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") - self.layoutWidget = QtWidgets.QWidget(self.scrollAreaWidgetContents) - self.layoutWidget.setGeometry(QtCore.QRect(10, 11, 523, 892)) - self.layoutWidget.setObjectName("layoutWidget") - self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget) - self.gridLayout.setContentsMargins(0, 0, 0, 0) - self.gridLayout.setObjectName("gridLayout") - self.horizontalLayout_7 = QtWidgets.QHBoxLayout() - self.horizontalLayout_7.setObjectName("horizontalLayout_7") - self.label_3 = QtWidgets.QLabel(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth()) - self.label_3.setSizePolicy(sizePolicy) - self.label_3.setMinimumSize(QtCore.QSize(141, 31)) - self.label_3.setMaximumSize(QtCore.QSize(141, 31)) - self.label_3.setObjectName("label_3") - self.horizontalLayout_7.addWidget(self.label_3) - self.label_4 = QtWidgets.QLabel(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth()) - self.label_4.setSizePolicy(sizePolicy) - self.label_4.setMinimumSize(QtCore.QSize(81, 31)) - self.label_4.setMaximumSize(QtCore.QSize(81, 31)) - self.label_4.setObjectName("label_4") - self.horizontalLayout_7.addWidget(self.label_4) - self.label_5 = QtWidgets.QLabel(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth()) - self.label_5.setSizePolicy(sizePolicy) - self.label_5.setMinimumSize(QtCore.QSize(91, 31)) - self.label_5.setMaximumSize(QtCore.QSize(100, 31)) - self.label_5.setObjectName("label_5") - self.horizontalLayout_7.addWidget(self.label_5) - spacerItem9 = QtWidgets.QSpacerItem(110, 27, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum) - self.horizontalLayout_7.addItem(spacerItem9) - self.gridLayout.addLayout(self.horizontalLayout_7, 0, 0, 1, 1) - self.horizontalLayout_5 = QtWidgets.QHBoxLayout() - self.horizontalLayout_5.setObjectName("horizontalLayout_5") - self.SubsysBrowser_0 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_0.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_0.setSizePolicy(sizePolicy) - self.SubsysBrowser_0.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_0.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_0.setObjectName("SubsysBrowser_0") - self.horizontalLayout_5.addWidget(self.SubsysBrowser_0) - self.pktidBrowser_0 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_0.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_0.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_0.setObjectName("pktidBrowser_0") - self.horizontalLayout_5.addWidget(self.pktidBrowser_0) - self.countSpinBox_0 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_0.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_0.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_0.setReadOnly(True) - self.countSpinBox_0.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_0.setMaximum(16384) - self.countSpinBox_0.setObjectName("countSpinBox_0") - self.horizontalLayout_5.addWidget(self.countSpinBox_0) - self.pushButton_0 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_0.sizePolicy().hasHeightForWidth()) - self.pushButton_0.setSizePolicy(sizePolicy) - self.pushButton_0.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_0.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_0.setObjectName("pushButton_0") - self.horizontalLayout_5.addWidget(self.pushButton_0) - self.gridLayout.addLayout(self.horizontalLayout_5, 1, 0, 1, 1) - self.horizontalLayout_6 = QtWidgets.QHBoxLayout() - self.horizontalLayout_6.setObjectName("horizontalLayout_6") - self.SubsysBrowser_1 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_1.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_1.setSizePolicy(sizePolicy) - self.SubsysBrowser_1.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_1.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_1.setObjectName("SubsysBrowser_1") - self.horizontalLayout_6.addWidget(self.SubsysBrowser_1) - self.pktidBrowser_1 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_1.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_1.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_1.setObjectName("pktidBrowser_1") - self.horizontalLayout_6.addWidget(self.pktidBrowser_1) - self.countSpinBox_1 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_1.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_1.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_1.setReadOnly(True) - self.countSpinBox_1.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_1.setMaximum(16384) - self.countSpinBox_1.setObjectName("countSpinBox_1") - self.horizontalLayout_6.addWidget(self.countSpinBox_1) - self.pushButton_1 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_1.sizePolicy().hasHeightForWidth()) - self.pushButton_1.setSizePolicy(sizePolicy) - self.pushButton_1.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_1.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_1.setObjectName("pushButton_1") - self.horizontalLayout_6.addWidget(self.pushButton_1) - self.gridLayout.addLayout(self.horizontalLayout_6, 2, 0, 1, 1) - self.horizontalLayout_8 = QtWidgets.QHBoxLayout() - self.horizontalLayout_8.setObjectName("horizontalLayout_8") - self.SubsysBrowser_2 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_2.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_2.setSizePolicy(sizePolicy) - self.SubsysBrowser_2.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_2.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_2.setObjectName("SubsysBrowser_2") - self.horizontalLayout_8.addWidget(self.SubsysBrowser_2) - self.pktidBrowser_2 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_2.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_2.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_2.setObjectName("pktidBrowser_2") - self.horizontalLayout_8.addWidget(self.pktidBrowser_2) - self.countSpinBox_2 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_2.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_2.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_2.setReadOnly(True) - self.countSpinBox_2.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_2.setMaximum(16384) - self.countSpinBox_2.setObjectName("countSpinBox_2") - self.horizontalLayout_8.addWidget(self.countSpinBox_2) - self.pushButton_2 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_2.sizePolicy().hasHeightForWidth()) - self.pushButton_2.setSizePolicy(sizePolicy) - self.pushButton_2.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_2.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_2.setObjectName("pushButton_2") - self.horizontalLayout_8.addWidget(self.pushButton_2) - self.gridLayout.addLayout(self.horizontalLayout_8, 3, 0, 1, 1) - self.horizontalLayout_9 = QtWidgets.QHBoxLayout() - self.horizontalLayout_9.setObjectName("horizontalLayout_9") - self.SubsysBrowser_3 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_3.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_3.setSizePolicy(sizePolicy) - self.SubsysBrowser_3.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_3.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_3.setObjectName("SubsysBrowser_3") - self.horizontalLayout_9.addWidget(self.SubsysBrowser_3) - self.pktidBrowser_3 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_3.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_3.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_3.setObjectName("pktidBrowser_3") - self.horizontalLayout_9.addWidget(self.pktidBrowser_3) - self.countSpinBox_3 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_3.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_3.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_3.setReadOnly(True) - self.countSpinBox_3.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_3.setMaximum(16384) - self.countSpinBox_3.setObjectName("countSpinBox_3") - self.horizontalLayout_9.addWidget(self.countSpinBox_3) - self.pushButton_3 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth()) - self.pushButton_3.setSizePolicy(sizePolicy) - self.pushButton_3.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_3.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_3.setObjectName("pushButton_3") - self.horizontalLayout_9.addWidget(self.pushButton_3) - self.gridLayout.addLayout(self.horizontalLayout_9, 4, 0, 1, 1) - self.horizontalLayout_10 = QtWidgets.QHBoxLayout() - self.horizontalLayout_10.setObjectName("horizontalLayout_10") - self.SubsysBrowser_4 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_4.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_4.setSizePolicy(sizePolicy) - self.SubsysBrowser_4.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_4.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_4.setObjectName("SubsysBrowser_4") - self.horizontalLayout_10.addWidget(self.SubsysBrowser_4) - self.pktidBrowser_4 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_4.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_4.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_4.setObjectName("pktidBrowser_4") - self.horizontalLayout_10.addWidget(self.pktidBrowser_4) - self.countSpinBox_4 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_4.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_4.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_4.setReadOnly(True) - self.countSpinBox_4.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_4.setMaximum(16384) - self.countSpinBox_4.setObjectName("countSpinBox_4") - self.horizontalLayout_10.addWidget(self.countSpinBox_4) - self.pushButton_4 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth()) - self.pushButton_4.setSizePolicy(sizePolicy) - self.pushButton_4.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_4.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_4.setObjectName("pushButton_4") - self.horizontalLayout_10.addWidget(self.pushButton_4) - self.gridLayout.addLayout(self.horizontalLayout_10, 5, 0, 1, 1) - self.horizontalLayout_11 = QtWidgets.QHBoxLayout() - self.horizontalLayout_11.setObjectName("horizontalLayout_11") - self.SubsysBrowser_5 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_5.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_5.setSizePolicy(sizePolicy) - self.SubsysBrowser_5.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_5.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_5.setObjectName("SubsysBrowser_5") - self.horizontalLayout_11.addWidget(self.SubsysBrowser_5) - self.pktidBrowser_5 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_5.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_5.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_5.setObjectName("pktidBrowser_5") - self.horizontalLayout_11.addWidget(self.pktidBrowser_5) - self.countSpinBox_5 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_5.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_5.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_5.setReadOnly(True) - self.countSpinBox_5.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_5.setMaximum(16384) - self.countSpinBox_5.setObjectName("countSpinBox_5") - self.horizontalLayout_11.addWidget(self.countSpinBox_5) - self.pushButton_5 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_5.sizePolicy().hasHeightForWidth()) - self.pushButton_5.setSizePolicy(sizePolicy) - self.pushButton_5.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_5.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_5.setObjectName("pushButton_5") - self.horizontalLayout_11.addWidget(self.pushButton_5) - self.gridLayout.addLayout(self.horizontalLayout_11, 6, 0, 1, 1) - self.horizontalLayout_12 = QtWidgets.QHBoxLayout() - self.horizontalLayout_12.setObjectName("horizontalLayout_12") - self.SubsysBrowser_6 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_6.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_6.setSizePolicy(sizePolicy) - self.SubsysBrowser_6.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_6.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_6.setObjectName("SubsysBrowser_6") - self.horizontalLayout_12.addWidget(self.SubsysBrowser_6) - self.pktidBrowser_6 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_6.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_6.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_6.setObjectName("pktidBrowser_6") - self.horizontalLayout_12.addWidget(self.pktidBrowser_6) - self.countSpinBox_6 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_6.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_6.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_6.setReadOnly(True) - self.countSpinBox_6.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_6.setMaximum(16384) - self.countSpinBox_6.setObjectName("countSpinBox_6") - self.horizontalLayout_12.addWidget(self.countSpinBox_6) - self.pushButton_6 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_6.sizePolicy().hasHeightForWidth()) - self.pushButton_6.setSizePolicy(sizePolicy) - self.pushButton_6.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_6.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_6.setObjectName("pushButton_6") - self.horizontalLayout_12.addWidget(self.pushButton_6) - self.gridLayout.addLayout(self.horizontalLayout_12, 7, 0, 1, 1) - self.horizontalLayout_13 = QtWidgets.QHBoxLayout() - self.horizontalLayout_13.setObjectName("horizontalLayout_13") - self.SubsysBrowser_7 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_7.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_7.setSizePolicy(sizePolicy) - self.SubsysBrowser_7.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_7.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_7.setObjectName("SubsysBrowser_7") - self.horizontalLayout_13.addWidget(self.SubsysBrowser_7) - self.pktidBrowser_7 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_7.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_7.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_7.setObjectName("pktidBrowser_7") - self.horizontalLayout_13.addWidget(self.pktidBrowser_7) - self.countSpinBox_7 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_7.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_7.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_7.setReadOnly(True) - self.countSpinBox_7.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_7.setMaximum(16384) - self.countSpinBox_7.setObjectName("countSpinBox_7") - self.horizontalLayout_13.addWidget(self.countSpinBox_7) - self.pushButton_7 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_7.sizePolicy().hasHeightForWidth()) - self.pushButton_7.setSizePolicy(sizePolicy) - self.pushButton_7.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_7.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_7.setObjectName("pushButton_7") - self.horizontalLayout_13.addWidget(self.pushButton_7) - self.gridLayout.addLayout(self.horizontalLayout_13, 8, 0, 1, 1) - self.horizontalLayout_14 = QtWidgets.QHBoxLayout() - self.horizontalLayout_14.setObjectName("horizontalLayout_14") - self.SubsysBrowser_8 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_8.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_8.setSizePolicy(sizePolicy) - self.SubsysBrowser_8.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_8.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_8.setObjectName("SubsysBrowser_8") - self.horizontalLayout_14.addWidget(self.SubsysBrowser_8) - self.pktidBrowser_8 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_8.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_8.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_8.setObjectName("pktidBrowser_8") - self.horizontalLayout_14.addWidget(self.pktidBrowser_8) - self.countSpinBox_8 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_8.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_8.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_8.setReadOnly(True) - self.countSpinBox_8.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_8.setMaximum(16384) - self.countSpinBox_8.setObjectName("countSpinBox_8") - self.horizontalLayout_14.addWidget(self.countSpinBox_8) - self.pushButton_8 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_8.sizePolicy().hasHeightForWidth()) - self.pushButton_8.setSizePolicy(sizePolicy) - self.pushButton_8.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_8.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_8.setObjectName("pushButton_8") - self.horizontalLayout_14.addWidget(self.pushButton_8) - self.gridLayout.addLayout(self.horizontalLayout_14, 9, 0, 1, 1) - self.horizontalLayout_15 = QtWidgets.QHBoxLayout() - self.horizontalLayout_15.setObjectName("horizontalLayout_15") - self.SubsysBrowser_9 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_9.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_9.setSizePolicy(sizePolicy) - self.SubsysBrowser_9.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_9.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_9.setObjectName("SubsysBrowser_9") - self.horizontalLayout_15.addWidget(self.SubsysBrowser_9) - self.pktidBrowser_9 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_9.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_9.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_9.setObjectName("pktidBrowser_9") - self.horizontalLayout_15.addWidget(self.pktidBrowser_9) - self.countSpinBox_9 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_9.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_9.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_9.setReadOnly(True) - self.countSpinBox_9.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_9.setMaximum(16384) - self.countSpinBox_9.setObjectName("countSpinBox_9") - self.horizontalLayout_15.addWidget(self.countSpinBox_9) - self.pushButton_9 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_9.sizePolicy().hasHeightForWidth()) - self.pushButton_9.setSizePolicy(sizePolicy) - self.pushButton_9.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_9.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_9.setObjectName("pushButton_9") - self.horizontalLayout_15.addWidget(self.pushButton_9) - self.gridLayout.addLayout(self.horizontalLayout_15, 10, 0, 1, 1) - self.horizontalLayout_16 = QtWidgets.QHBoxLayout() - self.horizontalLayout_16.setObjectName("horizontalLayout_16") - self.SubsysBrowser_10 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_10.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_10.setSizePolicy(sizePolicy) - self.SubsysBrowser_10.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_10.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_10.setObjectName("SubsysBrowser_10") - self.horizontalLayout_16.addWidget(self.SubsysBrowser_10) - self.pktidBrowser_10 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_10.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_10.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_10.setObjectName("pktidBrowser_10") - self.horizontalLayout_16.addWidget(self.pktidBrowser_10) - self.countSpinBox_10 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_10.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_10.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_10.setReadOnly(True) - self.countSpinBox_10.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_10.setMaximum(16384) - self.countSpinBox_10.setObjectName("countSpinBox_10") - self.horizontalLayout_16.addWidget(self.countSpinBox_10) - self.pushButton_10 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_10.sizePolicy().hasHeightForWidth()) - self.pushButton_10.setSizePolicy(sizePolicy) - self.pushButton_10.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_10.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_10.setObjectName("pushButton_10") - self.horizontalLayout_16.addWidget(self.pushButton_10) - self.gridLayout.addLayout(self.horizontalLayout_16, 11, 0, 1, 1) - self.horizontalLayout_17 = QtWidgets.QHBoxLayout() - self.horizontalLayout_17.setObjectName("horizontalLayout_17") - self.SubsysBrowser_11 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_11.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_11.setSizePolicy(sizePolicy) - self.SubsysBrowser_11.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_11.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_11.setObjectName("SubsysBrowser_11") - self.horizontalLayout_17.addWidget(self.SubsysBrowser_11) - self.pktidBrowser_11 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_11.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_11.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_11.setObjectName("pktidBrowser_11") - self.horizontalLayout_17.addWidget(self.pktidBrowser_11) - self.countSpinBox_11 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_11.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_11.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_11.setReadOnly(True) - self.countSpinBox_11.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_11.setMaximum(16384) - self.countSpinBox_11.setObjectName("countSpinBox_11") - self.horizontalLayout_17.addWidget(self.countSpinBox_11) - self.pushButton_11 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_11.sizePolicy().hasHeightForWidth()) - self.pushButton_11.setSizePolicy(sizePolicy) - self.pushButton_11.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_11.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_11.setObjectName("pushButton_11") - self.horizontalLayout_17.addWidget(self.pushButton_11) - self.gridLayout.addLayout(self.horizontalLayout_17, 12, 0, 1, 1) - self.horizontalLayout_18 = QtWidgets.QHBoxLayout() - self.horizontalLayout_18.setObjectName("horizontalLayout_18") - self.SubsysBrowser_12 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_12.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_12.setSizePolicy(sizePolicy) - self.SubsysBrowser_12.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_12.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_12.setObjectName("SubsysBrowser_12") - self.horizontalLayout_18.addWidget(self.SubsysBrowser_12) - self.pktidBrowser_12 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_12.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_12.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_12.setObjectName("pktidBrowser_12") - self.horizontalLayout_18.addWidget(self.pktidBrowser_12) - self.countSpinBox_12 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_12.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_12.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_12.setReadOnly(True) - self.countSpinBox_12.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_12.setMaximum(16384) - self.countSpinBox_12.setObjectName("countSpinBox_12") - self.horizontalLayout_18.addWidget(self.countSpinBox_12) - self.pushButton_12 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_12.sizePolicy().hasHeightForWidth()) - self.pushButton_12.setSizePolicy(sizePolicy) - self.pushButton_12.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_12.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_12.setObjectName("pushButton_12") - self.horizontalLayout_18.addWidget(self.pushButton_12) - self.gridLayout.addLayout(self.horizontalLayout_18, 13, 0, 1, 1) - self.horizontalLayout_19 = QtWidgets.QHBoxLayout() - self.horizontalLayout_19.setObjectName("horizontalLayout_19") - self.SubsysBrowser_13 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_13.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_13.setSizePolicy(sizePolicy) - self.SubsysBrowser_13.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_13.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_13.setObjectName("SubsysBrowser_13") - self.horizontalLayout_19.addWidget(self.SubsysBrowser_13) - self.pktidBrowser_13 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_13.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_13.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_13.setObjectName("pktidBrowser_13") - self.horizontalLayout_19.addWidget(self.pktidBrowser_13) - self.countSpinBox_13 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_13.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_13.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_13.setReadOnly(True) - self.countSpinBox_13.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_13.setMaximum(16384) - self.countSpinBox_13.setObjectName("countSpinBox_13") - self.horizontalLayout_19.addWidget(self.countSpinBox_13) - self.pushButton_13 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_13.sizePolicy().hasHeightForWidth()) - self.pushButton_13.setSizePolicy(sizePolicy) - self.pushButton_13.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_13.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_13.setObjectName("pushButton_13") - self.horizontalLayout_19.addWidget(self.pushButton_13) - self.gridLayout.addLayout(self.horizontalLayout_19, 14, 0, 1, 1) - self.horizontalLayout_20 = QtWidgets.QHBoxLayout() - self.horizontalLayout_20.setObjectName("horizontalLayout_20") - self.SubsysBrowser_14 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_14.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_14.setSizePolicy(sizePolicy) - self.SubsysBrowser_14.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_14.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_14.setObjectName("SubsysBrowser_14") - self.horizontalLayout_20.addWidget(self.SubsysBrowser_14) - self.pktidBrowser_14 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_14.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_14.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_14.setObjectName("pktidBrowser_14") - self.horizontalLayout_20.addWidget(self.pktidBrowser_14) - self.countSpinBox_14 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_14.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_14.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_14.setReadOnly(True) - self.countSpinBox_14.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_14.setMaximum(16384) - self.countSpinBox_14.setObjectName("countSpinBox_14") - self.horizontalLayout_20.addWidget(self.countSpinBox_14) - self.pushButton_14 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_14.sizePolicy().hasHeightForWidth()) - self.pushButton_14.setSizePolicy(sizePolicy) - self.pushButton_14.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_14.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_14.setObjectName("pushButton_14") - self.horizontalLayout_20.addWidget(self.pushButton_14) - self.gridLayout.addLayout(self.horizontalLayout_20, 15, 0, 1, 1) - self.horizontalLayout_21 = QtWidgets.QHBoxLayout() - self.horizontalLayout_21.setObjectName("horizontalLayout_21") - self.SubsysBrowser_15 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_15.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_15.setSizePolicy(sizePolicy) - self.SubsysBrowser_15.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_15.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_15.setObjectName("SubsysBrowser_15") - self.horizontalLayout_21.addWidget(self.SubsysBrowser_15) - self.pktidBrowser_15 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_15.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_15.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_15.setObjectName("pktidBrowser_15") - self.horizontalLayout_21.addWidget(self.pktidBrowser_15) - self.countSpinBox_15 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_15.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_15.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_15.setReadOnly(True) - self.countSpinBox_15.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_15.setMaximum(16384) - self.countSpinBox_15.setObjectName("countSpinBox_15") - self.horizontalLayout_21.addWidget(self.countSpinBox_15) - self.pushButton_15 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_15.sizePolicy().hasHeightForWidth()) - self.pushButton_15.setSizePolicy(sizePolicy) - self.pushButton_15.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_15.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_15.setObjectName("pushButton_15") - self.horizontalLayout_21.addWidget(self.pushButton_15) - self.gridLayout.addLayout(self.horizontalLayout_21, 16, 0, 1, 1) - self.horizontalLayout_22 = QtWidgets.QHBoxLayout() - self.horizontalLayout_22.setObjectName("horizontalLayout_22") - self.SubsysBrowser_16 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_16.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_16.setSizePolicy(sizePolicy) - self.SubsysBrowser_16.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_16.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_16.setObjectName("SubsysBrowser_16") - self.horizontalLayout_22.addWidget(self.SubsysBrowser_16) - self.pktidBrowser_16 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_16.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_16.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_16.setObjectName("pktidBrowser_16") - self.horizontalLayout_22.addWidget(self.pktidBrowser_16) - self.countSpinBox_16 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_16.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_16.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_16.setReadOnly(True) - self.countSpinBox_16.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_16.setMaximum(16384) - self.countSpinBox_16.setObjectName("countSpinBox_16") - self.horizontalLayout_22.addWidget(self.countSpinBox_16) - self.pushButton_16 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_16.sizePolicy().hasHeightForWidth()) - self.pushButton_16.setSizePolicy(sizePolicy) - self.pushButton_16.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_16.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_16.setObjectName("pushButton_16") - self.horizontalLayout_22.addWidget(self.pushButton_16) - self.gridLayout.addLayout(self.horizontalLayout_22, 17, 0, 1, 1) - self.horizontalLayout_23 = QtWidgets.QHBoxLayout() - self.horizontalLayout_23.setObjectName("horizontalLayout_23") - self.SubsysBrowser_17 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_17.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_17.setSizePolicy(sizePolicy) - self.SubsysBrowser_17.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_17.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_17.setObjectName("SubsysBrowser_17") - self.horizontalLayout_23.addWidget(self.SubsysBrowser_17) - self.pktidBrowser_17 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_17.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_17.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_17.setObjectName("pktidBrowser_17") - self.horizontalLayout_23.addWidget(self.pktidBrowser_17) - self.countSpinBox_17 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_17.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_17.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_17.setReadOnly(True) - self.countSpinBox_17.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_17.setMaximum(16384) - self.countSpinBox_17.setObjectName("countSpinBox_17") - self.horizontalLayout_23.addWidget(self.countSpinBox_17) - self.pushButton_17 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_17.sizePolicy().hasHeightForWidth()) - self.pushButton_17.setSizePolicy(sizePolicy) - self.pushButton_17.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_17.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_17.setObjectName("pushButton_17") - self.horizontalLayout_23.addWidget(self.pushButton_17) - self.gridLayout.addLayout(self.horizontalLayout_23, 18, 0, 1, 1) - self.horizontalLayout_24 = QtWidgets.QHBoxLayout() - self.horizontalLayout_24.setObjectName("horizontalLayout_24") - self.SubsysBrowser_18 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_18.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_18.setSizePolicy(sizePolicy) - self.SubsysBrowser_18.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_18.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_18.setObjectName("SubsysBrowser_18") - self.horizontalLayout_24.addWidget(self.SubsysBrowser_18) - self.pktidBrowser_18 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_18.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_18.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_18.setObjectName("pktidBrowser_18") - self.horizontalLayout_24.addWidget(self.pktidBrowser_18) - self.countSpinBox_18 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_18.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_18.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_18.setReadOnly(True) - self.countSpinBox_18.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_18.setMaximum(16384) - self.countSpinBox_18.setObjectName("countSpinBox_18") - self.horizontalLayout_24.addWidget(self.countSpinBox_18) - self.pushButton_18 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_18.sizePolicy().hasHeightForWidth()) - self.pushButton_18.setSizePolicy(sizePolicy) - self.pushButton_18.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_18.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_18.setObjectName("pushButton_18") - self.horizontalLayout_24.addWidget(self.pushButton_18) - self.gridLayout.addLayout(self.horizontalLayout_24, 19, 0, 1, 1) - self.horizontalLayout_25 = QtWidgets.QHBoxLayout() - self.horizontalLayout_25.setObjectName("horizontalLayout_25") - self.SubsysBrowser_19 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_19.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_19.setSizePolicy(sizePolicy) - self.SubsysBrowser_19.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_19.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_19.setObjectName("SubsysBrowser_19") - self.horizontalLayout_25.addWidget(self.SubsysBrowser_19) - self.pktidBrowser_19 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_19.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_19.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_19.setObjectName("pktidBrowser_19") - self.horizontalLayout_25.addWidget(self.pktidBrowser_19) - self.countSpinBox_19 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_19.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_19.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_19.setReadOnly(True) - self.countSpinBox_19.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_19.setMaximum(16384) - self.countSpinBox_19.setObjectName("countSpinBox_19") - self.horizontalLayout_25.addWidget(self.countSpinBox_19) - self.pushButton_19 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_19.sizePolicy().hasHeightForWidth()) - self.pushButton_19.setSizePolicy(sizePolicy) - self.pushButton_19.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_19.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_19.setObjectName("pushButton_19") - self.horizontalLayout_25.addWidget(self.pushButton_19) - self.gridLayout.addLayout(self.horizontalLayout_25, 20, 0, 1, 1) - self.horizontalLayout_26 = QtWidgets.QHBoxLayout() - self.horizontalLayout_26.setObjectName("horizontalLayout_26") - self.SubsysBrowser_20 = QtWidgets.QPlainTextEdit(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.SubsysBrowser_20.sizePolicy().hasHeightForWidth()) - self.SubsysBrowser_20.setSizePolicy(sizePolicy) - self.SubsysBrowser_20.setMinimumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_20.setMaximumSize(QtCore.QSize(141, 31)) - self.SubsysBrowser_20.setObjectName("SubsysBrowser_20") - self.horizontalLayout_26.addWidget(self.SubsysBrowser_20) - self.pktidBrowser_20 = QtWidgets.QLineEdit(self.layoutWidget) - self.pktidBrowser_20.setMinimumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_20.setMaximumSize(QtCore.QSize(81, 31)) - self.pktidBrowser_20.setObjectName("pktidBrowser_20") - self.horizontalLayout_26.addWidget(self.pktidBrowser_20) - self.countSpinBox_20 = QtWidgets.QSpinBox(self.layoutWidget) - self.countSpinBox_20.setMinimumSize(QtCore.QSize(81, 31)) - self.countSpinBox_20.setMaximumSize(QtCore.QSize(81, 31)) - self.countSpinBox_20.setReadOnly(True) - self.countSpinBox_20.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.countSpinBox_20.setMaximum(16384) - self.countSpinBox_20.setObjectName("countSpinBox_20") - self.horizontalLayout_26.addWidget(self.countSpinBox_20) - self.pushButton_20 = QtWidgets.QPushButton(self.layoutWidget) - sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) - sizePolicy.setHorizontalStretch(0) - sizePolicy.setVerticalStretch(0) - sizePolicy.setHeightForWidth(self.pushButton_20.sizePolicy().hasHeightForWidth()) - self.pushButton_20.setSizePolicy(sizePolicy) - self.pushButton_20.setMinimumSize(QtCore.QSize(101, 27)) - self.pushButton_20.setMaximumSize(QtCore.QSize(120, 27)) - self.pushButton_20.setObjectName("pushButton_20") - self.horizontalLayout_26.addWidget(self.pushButton_20) - self.gridLayout.addLayout(self.horizontalLayout_26, 21, 0, 1, 1) - self.scrollArea.setWidget(self.scrollAreaWidgetContents) - self.verticalLayout.addWidget(self.scrollArea) + self.tblTlmSys = QtWidgets.QTableWidget(TelemetrySystemDialog) + self.tblTlmSys.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) + self.tblTlmSys.setObjectName("tblTlmSys") + self.tblTlmSys.setColumnCount(4) + self.tblTlmSys.setRowCount(0) + item = QtWidgets.QTableWidgetItem() + self.tblTlmSys.setHorizontalHeaderItem(0, item) + item = QtWidgets.QTableWidgetItem() + self.tblTlmSys.setHorizontalHeaderItem(1, item) + item = QtWidgets.QTableWidgetItem() + self.tblTlmSys.setHorizontalHeaderItem(2, item) + item = QtWidgets.QTableWidgetItem() + self.tblTlmSys.setHorizontalHeaderItem(3, item) + self.tblTlmSys.verticalHeader().setVisible(False) + self.verticalLayout.addWidget(self.tblTlmSys) self.retranslateUi(TelemetrySystemDialog) self.buttonBox.clicked['QAbstractButton*'].connect(TelemetrySystemDialog.close) @@ -885,28 +91,12 @@ def retranslateUi(self, TelemetrySystemDialog): self.label.setText(_translate("TelemetrySystemDialog", "cFE/CFS Subsystem Telemetry")) self.label_6.setText(_translate("TelemetrySystemDialog", "Packets Received")) self.label_2.setText(_translate("TelemetrySystemDialog", "Available Pages")) - self.label_3.setText(_translate("TelemetrySystemDialog", "Subsystem/Page")) - self.label_4.setText(_translate("TelemetrySystemDialog", "Packet ID")) - self.label_5.setText(_translate("TelemetrySystemDialog", "Packet Count")) - self.pushButton_0.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_1.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_2.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_3.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_4.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_5.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_6.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_7.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_8.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_9.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_10.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_11.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_12.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_13.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_14.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_15.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_16.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_17.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_18.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_19.setText(_translate("TelemetrySystemDialog", "Display Page")) - self.pushButton_20.setText(_translate("TelemetrySystemDialog", "Display Page")) + item = self.tblTlmSys.horizontalHeaderItem(0) + item.setText(_translate("TelemetrySystemDialog", "Subsystem/Page")) + item = self.tblTlmSys.horizontalHeaderItem(1) + item.setText(_translate("TelemetrySystemDialog", "Packet ID")) + item = self.tblTlmSys.horizontalHeaderItem(2) + item.setText(_translate("TelemetrySystemDialog", "Packet Count")) + item = self.tblTlmSys.horizontalHeaderItem(3) + item.setText(_translate("TelemetrySystemDialog", " "))