Source code for pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot12.Ui_PWSlot12

# -*- coding: utf-8 -*-

# File generated according to PWSlot12.ui
# WARNING! All changes made in this file will be lost!
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *

from ......GUI.Tools.FloatEdit import FloatEdit
from ......GUI.Dialog.DMachineSetup.SWSlot.WWSlotOut.WWSlotOut import WWSlotOut
from ......GUI.Dialog.DMatLib.WMatSelect.WMatSelectV import WMatSelectV

from pyleecan.GUI.Resources import pyleecan_rc


[docs]class Ui_PWSlot12(object):
[docs] def setupUi(self, PWSlot12): if not PWSlot12.objectName(): PWSlot12.setObjectName(u"PWSlot12") PWSlot12.resize(964, 503) PWSlot12.setMinimumSize(QSize(630, 470)) PWSlot12.setMaximumSize(QSize(16777215, 16777215)) self.horizontalLayout = QHBoxLayout(PWSlot12) self.horizontalLayout.setObjectName(u"horizontalLayout") self.verticalLayout_2 = QVBoxLayout() self.verticalLayout_2.setObjectName(u"verticalLayout_2") self.img_slot = QLabel(PWSlot12) self.img_slot.setObjectName(u"img_slot") sizePolicy = QSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.img_slot.sizePolicy().hasHeightForWidth()) self.img_slot.setSizePolicy(sizePolicy) self.img_slot.setMaximumSize(QSize(16777215, 16777215)) self.img_slot.setPixmap( QPixmap(u":/images/images/MachineSetup/WSlot/SlotW12_wedge_full.png") ) self.img_slot.setScaledContents(False) self.img_slot.setAlignment(Qt.AlignCenter) self.verticalLayout_2.addWidget(self.img_slot) self.horizontalLayout.addLayout(self.verticalLayout_2) self.scrollArea = QScrollArea(PWSlot12) self.scrollArea.setObjectName(u"scrollArea") self.scrollArea.setMinimumSize(QSize(270, 0)) self.scrollArea.setMaximumSize(QSize(270, 16777215)) self.scrollArea.setWidgetResizable(True) self.scrollAreaWidgetContents = QWidget() self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents") self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 268, 479)) self.verticalLayout_3 = QVBoxLayout(self.scrollAreaWidgetContents) self.verticalLayout_3.setObjectName(u"verticalLayout_3") self.gridLayout = QGridLayout() self.gridLayout.setObjectName(u"gridLayout") self.in_R1 = QLabel(self.scrollAreaWidgetContents) self.in_R1.setObjectName(u"in_R1") self.gridLayout.addWidget(self.in_R1, 0, 0, 1, 1) self.lf_R1 = FloatEdit(self.scrollAreaWidgetContents) self.lf_R1.setObjectName(u"lf_R1") self.gridLayout.addWidget(self.lf_R1, 0, 1, 1, 1) self.unit_R1 = QLabel(self.scrollAreaWidgetContents) self.unit_R1.setObjectName(u"unit_R1") self.gridLayout.addWidget(self.unit_R1, 0, 2, 1, 1) self.in_R2 = QLabel(self.scrollAreaWidgetContents) self.in_R2.setObjectName(u"in_R2") self.gridLayout.addWidget(self.in_R2, 1, 0, 1, 1) self.lf_R2 = FloatEdit(self.scrollAreaWidgetContents) self.lf_R2.setObjectName(u"lf_R2") self.gridLayout.addWidget(self.lf_R2, 1, 1, 1, 1) self.unit_R2 = QLabel(self.scrollAreaWidgetContents) self.unit_R2.setObjectName(u"unit_R2") self.gridLayout.addWidget(self.unit_R2, 1, 2, 1, 1) self.in_H0 = QLabel(self.scrollAreaWidgetContents) self.in_H0.setObjectName(u"in_H0") self.gridLayout.addWidget(self.in_H0, 2, 0, 1, 1) self.lf_H0 = FloatEdit(self.scrollAreaWidgetContents) self.lf_H0.setObjectName(u"lf_H0") self.gridLayout.addWidget(self.lf_H0, 2, 1, 1, 1) self.unit_H0 = QLabel(self.scrollAreaWidgetContents) self.unit_H0.setObjectName(u"unit_H0") self.gridLayout.addWidget(self.unit_H0, 2, 2, 1, 1) self.in_H1 = QLabel(self.scrollAreaWidgetContents) self.in_H1.setObjectName(u"in_H1") self.gridLayout.addWidget(self.in_H1, 3, 0, 1, 1) self.lf_H1 = FloatEdit(self.scrollAreaWidgetContents) self.lf_H1.setObjectName(u"lf_H1") self.gridLayout.addWidget(self.lf_H1, 3, 1, 1, 1) self.unit_H1 = QLabel(self.scrollAreaWidgetContents) self.unit_H1.setObjectName(u"unit_H1") self.gridLayout.addWidget(self.unit_H1, 3, 2, 1, 1) self.verticalLayout_3.addLayout(self.gridLayout) self.g_wedge = QGroupBox(self.scrollAreaWidgetContents) self.g_wedge.setObjectName(u"g_wedge") self.g_wedge.setCheckable(True) self.g_wedge.setChecked(False) self.verticalLayout = QVBoxLayout(self.g_wedge) self.verticalLayout.setObjectName(u"verticalLayout") self.w_wedge_mat = WMatSelectV(self.g_wedge) self.w_wedge_mat.setObjectName(u"w_wedge_mat") self.w_wedge_mat.setMinimumSize(QSize(100, 0)) self.verticalLayout.addWidget(self.w_wedge_mat) self.verticalLayout_3.addWidget(self.g_wedge) self.verticalSpacer = QSpacerItem( 20, 40, QSizePolicy.Minimum, QSizePolicy.Expanding ) self.verticalLayout_3.addItem(self.verticalSpacer) self.w_out = WWSlotOut(self.scrollAreaWidgetContents) self.w_out.setObjectName(u"w_out") self.verticalLayout_3.addWidget(self.w_out) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.horizontalLayout.addWidget(self.scrollArea) QWidget.setTabOrder(self.lf_R1, self.lf_R2) QWidget.setTabOrder(self.lf_R2, self.lf_H0) QWidget.setTabOrder(self.lf_H0, self.lf_H1) self.retranslateUi(PWSlot12) QMetaObject.connectSlotsByName(PWSlot12)
# setupUi
[docs] def retranslateUi(self, PWSlot12): PWSlot12.setWindowTitle(QCoreApplication.translate("PWSlot12", u"Form", None)) self.img_slot.setText("") self.in_R1.setText(QCoreApplication.translate("PWSlot12", u"R1", None)) self.unit_R1.setText(QCoreApplication.translate("PWSlot12", u"m", None)) self.in_R2.setText(QCoreApplication.translate("PWSlot12", u"R2", None)) self.unit_R2.setText(QCoreApplication.translate("PWSlot12", u"m", None)) self.in_H0.setText(QCoreApplication.translate("PWSlot12", u"H0", None)) self.unit_H0.setText(QCoreApplication.translate("PWSlot12", u"m", None)) self.in_H1.setText(QCoreApplication.translate("PWSlot12", u"H1", None)) self.unit_H1.setText(QCoreApplication.translate("PWSlot12", u"m", None)) self.g_wedge.setTitle(QCoreApplication.translate("PWSlot12", u"Wedge", None))
# retranslateUi