| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
from PyQt5 import QtCore, QtGui, QtWidgets |
| 11 |
|
| 12 |
|
| 13 |
class Ui_shift_distribution_viewer(object): |
| 14 |
def setupUi(self, shift_distribution_viewer): |
| 15 |
shift_distribution_viewer.setObjectName("shift_distribution_viewer") |
| 16 |
shift_distribution_viewer.resize(900, 530) |
| 17 |
self.verticalLayout = QtWidgets.QVBoxLayout(shift_distribution_viewer) |
| 18 |
self.verticalLayout.setObjectName("verticalLayout") |
| 19 |
self.horizontalLayout = QtWidgets.QHBoxLayout() |
| 20 |
self.horizontalLayout.setObjectName("horizontalLayout") |
| 21 |
self.failedShiftsLabel = QtWidgets.QLabel(shift_distribution_viewer) |
| 22 |
font = QtGui.QFont() |
| 23 |
font.setPointSize(8) |
| 24 |
self.failedShiftsLabel.setFont(font) |
| 25 |
self.failedShiftsLabel.setObjectName("failedShiftsLabel") |
| 26 |
self.horizontalLayout.addWidget(self.failedShiftsLabel) |
| 27 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
| 28 |
self.horizontalLayout.addItem(spacerItem) |
| 29 |
self.buttonBox = QtWidgets.QDialogButtonBox(shift_distribution_viewer) |
| 30 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Ok) |
| 31 |
self.buttonBox.setObjectName("buttonBox") |
| 32 |
self.horizontalLayout.addWidget(self.buttonBox) |
| 33 |
self.horizontalLayout.setStretch(1, 1) |
| 34 |
self.verticalLayout.addLayout(self.horizontalLayout) |
| 35 |
|
| 36 |
self.retranslateUi(shift_distribution_viewer) |
| 37 |
QtCore.QMetaObject.connectSlotsByName(shift_distribution_viewer) |
| 38 |
|
| 39 |
def retranslateUi(self, shift_distribution_viewer): |
| 40 |
_translate = QtCore.QCoreApplication.translate |
| 41 |
shift_distribution_viewer.setWindowTitle(_translate("shift_distribution_viewer", "Form")) |
| 42 |
self.failedShiftsLabel.setText(_translate("shift_distribution_viewer", "Failed shift measurements (percent):")) |