Skip to content

Commit 3f742b0

Browse files
GiulioRomualdigithub-actions[bot]
authored andcommitted
⚙️ Automatic update of the python UI classes
1 parent d8a3247 commit 3f742b0

File tree

1 file changed

+23
-29
lines changed

1 file changed

+23
-29
lines changed

robot_log_visualizer/ui/autogenerated/visualizer.py

Lines changed: 23 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class Ui_MainWindow(object):
1414
def setupUi(self, MainWindow):
1515
MainWindow.setObjectName("MainWindow")
16-
MainWindow.resize(1416, 908)
16+
MainWindow.resize(1073, 908)
1717
self.centralwidget = QtWidgets.QWidget(MainWindow)
1818
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
1919
sizePolicy.setHorizontalStretch(0)
@@ -164,32 +164,25 @@ def setupUi(self, MainWindow):
164164
self.yarpTextLogTreeWidget.setObjectName("yarpTextLogTreeWidget")
165165
self.yarpTextLogTreeWidget.header().setVisible(False)
166166
self.yarpTextLogTreeWidget.header().setDefaultSectionSize(100)
167-
self.logScrollArea_2 = QtWidgets.QScrollArea(self.splitter_3)
168-
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Expanding)
167+
self.yarpTextLogTableWidget = QtWidgets.QTableWidget(self.splitter_3)
168+
self.yarpTextLogTableWidget.setEnabled(True)
169+
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
169170
sizePolicy.setHorizontalStretch(10)
170171
sizePolicy.setVerticalStretch(0)
171-
sizePolicy.setHeightForWidth(self.logScrollArea_2.sizePolicy().hasHeightForWidth())
172-
self.logScrollArea_2.setSizePolicy(sizePolicy)
173-
self.logScrollArea_2.setMinimumSize(QtCore.QSize(0, 120))
174-
self.logScrollArea_2.setAutoFillBackground(False)
175-
self.logScrollArea_2.setStyleSheet("background: white")
176-
self.logScrollArea_2.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
177-
self.logScrollArea_2.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
178-
self.logScrollArea_2.setWidgetResizable(True)
179-
self.logScrollArea_2.setObjectName("logScrollArea_2")
180-
self.logScrollAreaWidgetContents_2 = QtWidgets.QWidget()
181-
self.logScrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 1087, 201))
182-
self.logScrollAreaWidgetContents_2.setObjectName("logScrollAreaWidgetContents_2")
183-
self.gridLayout_2 = QtWidgets.QGridLayout(self.logScrollAreaWidgetContents_2)
184-
self.gridLayout_2.setObjectName("gridLayout_2")
185-
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
186-
self.gridLayout_2.addItem(spacerItem, 2, 0, 1, 1)
187-
self.yarpTextLogLabel = QtWidgets.QLabel(self.logScrollAreaWidgetContents_2)
188-
self.yarpTextLogLabel.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
189-
self.yarpTextLogLabel.setText("")
190-
self.yarpTextLogLabel.setObjectName("yarpTextLogLabel")
191-
self.gridLayout_2.addWidget(self.yarpTextLogLabel, 1, 0, 1, 1)
192-
self.logScrollArea_2.setWidget(self.logScrollAreaWidgetContents_2)
172+
sizePolicy.setHeightForWidth(self.yarpTextLogTableWidget.sizePolicy().hasHeightForWidth())
173+
self.yarpTextLogTableWidget.setSizePolicy(sizePolicy)
174+
self.yarpTextLogTableWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
175+
self.yarpTextLogTableWidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
176+
self.yarpTextLogTableWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
177+
self.yarpTextLogTableWidget.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
178+
self.yarpTextLogTableWidget.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
179+
self.yarpTextLogTableWidget.setShowGrid(False)
180+
self.yarpTextLogTableWidget.setGridStyle(QtCore.Qt.NoPen)
181+
self.yarpTextLogTableWidget.setObjectName("yarpTextLogTableWidget")
182+
self.yarpTextLogTableWidget.setColumnCount(0)
183+
self.yarpTextLogTableWidget.setRowCount(0)
184+
self.yarpTextLogTableWidget.horizontalHeader().setVisible(False)
185+
self.yarpTextLogTableWidget.verticalHeader().setVisible(False)
193186
self.verticalLayout_3.addWidget(self.splitter_3)
194187
icon = QtGui.QIcon.fromTheme("zoom-in")
195188
self.tabWidget.addTab(self.yarpTextLogWidget, icon, "")
@@ -213,12 +206,12 @@ def setupUi(self, MainWindow):
213206
self.logScrollArea.setWidgetResizable(True)
214207
self.logScrollArea.setObjectName("logScrollArea")
215208
self.logScrollAreaWidgetContents = QtWidgets.QWidget()
216-
self.logScrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1347, 201))
209+
self.logScrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1004, 190))
217210
self.logScrollAreaWidgetContents.setObjectName("logScrollAreaWidgetContents")
218211
self.gridLayout = QtWidgets.QGridLayout(self.logScrollAreaWidgetContents)
219212
self.gridLayout.setObjectName("gridLayout")
220-
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
221-
self.gridLayout.addItem(spacerItem1, 2, 0, 1, 1)
213+
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
214+
self.gridLayout.addItem(spacerItem, 2, 0, 1, 1)
222215
self.logLabel = QtWidgets.QLabel(self.logScrollAreaWidgetContents)
223216
self.logLabel.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
224217
self.logLabel.setText("")
@@ -231,7 +224,7 @@ def setupUi(self, MainWindow):
231224
self.verticalLayout.addWidget(self.splitter_2)
232225
MainWindow.setCentralWidget(self.centralwidget)
233226
self.menubar = QtWidgets.QMenuBar(MainWindow)
234-
self.menubar.setGeometry(QtCore.QRect(0, 0, 1416, 22))
227+
self.menubar.setGeometry(QtCore.QRect(0, 0, 1073, 22))
235228
self.menubar.setObjectName("menubar")
236229
self.menuFile = QtWidgets.QMenu(self.menubar)
237230
self.menuFile.setObjectName("menuFile")
@@ -267,6 +260,7 @@ def retranslateUi(self, MainWindow):
267260
self.timeLabel.setText(_translate("MainWindow", "0.0"))
268261
self.variableTreeWidget.headerItem().setText(0, _translate("MainWindow", "Variables"))
269262
self.yarpTextLogTreeWidget.headerItem().setText(0, _translate("MainWindow", "Variables"))
263+
self.yarpTextLogTableWidget.setSortingEnabled(False)
270264
self.menuFile.setTitle(_translate("MainWindow", "&File"))
271265
self.menuHelp.setTitle(_translate("MainWindow", "Help"))
272266
self.actionQuit.setText(_translate("MainWindow", "&Quit"))

0 commit comments

Comments
 (0)