mirror of https://github.com/m-labs/artiq.git
big_number: fix port to Qt6
This commit is contained in:
parent
0623480c82
commit
4fcb7cc408
|
@ -34,7 +34,7 @@ class NumberWidget(LayoutWidget):
|
||||||
self.addWidget(self.number_area, 0, 0)
|
self.addWidget(self.number_area, 0, 0)
|
||||||
|
|
||||||
self.unit_area = QtWidgets.QLabel()
|
self.unit_area = QtWidgets.QLabel()
|
||||||
self.unit_area.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTop)
|
self.unit_area.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight | QtCore.Qt.AlignmentFlag.AlignTop)
|
||||||
self.addWidget(self.unit_area, 0, 1)
|
self.addWidget(self.unit_area, 0, 1)
|
||||||
|
|
||||||
self.lcd_widget = QResponsiveLCDNumber()
|
self.lcd_widget = QResponsiveLCDNumber()
|
||||||
|
|
Loading…
Reference in New Issue