You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
7.7 KiB
Python
122 lines
7.7 KiB
Python
1 month ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'e:\01-Projects\19-Fly\01-AppFlow-gitea\GUIDialog\GUIGeometryDialog\CylinderInfoWidget.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.15.10
|
||
|
#
|
||
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||
|
# run again. Do not edit this file unless you know what you are doing.
|
||
|
|
||
|
|
||
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||
|
|
||
|
|
||
|
class Ui_CylinderInfoWidget(object):
|
||
|
def setupUi(self, CylinderInfoWidget):
|
||
|
CylinderInfoWidget.setObjectName("CylinderInfoWidget")
|
||
|
CylinderInfoWidget.resize(399, 622)
|
||
|
self.gridLayout_5 = QtWidgets.QGridLayout(CylinderInfoWidget)
|
||
|
self.gridLayout_5.setObjectName("gridLayout_5")
|
||
|
self.label_Name = QtWidgets.QLabel(CylinderInfoWidget)
|
||
|
self.label_Name.setObjectName("label_Name")
|
||
|
self.gridLayout_5.addWidget(self.label_Name, 0, 0, 1, 1)
|
||
|
self.lineEdit_Name = QtWidgets.QLineEdit(CylinderInfoWidget)
|
||
|
self.lineEdit_Name.setObjectName("lineEdit_Name")
|
||
|
self.gridLayout_5.addWidget(self.lineEdit_Name, 0, 1, 1, 3)
|
||
|
self.groupBox_OriginPoint = QtWidgets.QGroupBox(CylinderInfoWidget)
|
||
|
self.groupBox_OriginPoint.setMaximumSize(QtCore.QSize(16777215, 75))
|
||
|
self.groupBox_OriginPoint.setObjectName("groupBox_OriginPoint")
|
||
|
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_OriginPoint)
|
||
|
self.gridLayout.setObjectName("gridLayout")
|
||
|
self.lineEdit_OriginPoint1 = QtWidgets.QLineEdit(self.groupBox_OriginPoint)
|
||
|
self.lineEdit_OriginPoint1.setObjectName("lineEdit_OriginPoint1")
|
||
|
self.gridLayout.addWidget(self.lineEdit_OriginPoint1, 0, 0, 1, 1)
|
||
|
self.lineEdit_OriginPoint2 = QtWidgets.QLineEdit(self.groupBox_OriginPoint)
|
||
|
self.lineEdit_OriginPoint2.setObjectName("lineEdit_OriginPoint2")
|
||
|
self.gridLayout.addWidget(self.lineEdit_OriginPoint2, 0, 1, 1, 1)
|
||
|
self.lineEdit_OriginPoint3 = QtWidgets.QLineEdit(self.groupBox_OriginPoint)
|
||
|
self.lineEdit_OriginPoint3.setObjectName("lineEdit_OriginPoint3")
|
||
|
self.gridLayout.addWidget(self.lineEdit_OriginPoint3, 0, 2, 1, 1)
|
||
|
self.pushButton_OriginPoint = QtWidgets.QPushButton(self.groupBox_OriginPoint)
|
||
|
self.pushButton_OriginPoint.setMinimumSize(QtCore.QSize(0, 0))
|
||
|
self.pushButton_OriginPoint.setMaximumSize(QtCore.QSize(30, 30))
|
||
|
self.pushButton_OriginPoint.setText("")
|
||
|
self.pushButton_OriginPoint.setObjectName("pushButton_OriginPoint")
|
||
|
self.gridLayout.addWidget(self.pushButton_OriginPoint, 0, 3, 1, 1)
|
||
|
self.gridLayout_5.addWidget(self.groupBox_OriginPoint, 1, 0, 1, 4)
|
||
|
self.groupBox_Axis = QtWidgets.QGroupBox(CylinderInfoWidget)
|
||
|
self.groupBox_Axis.setMaximumSize(QtCore.QSize(16777215, 75))
|
||
|
self.groupBox_Axis.setObjectName("groupBox_Axis")
|
||
|
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox_Axis)
|
||
|
self.gridLayout_3.setObjectName("gridLayout_3")
|
||
|
self.lineEdit_Axis2 = QtWidgets.QLineEdit(self.groupBox_Axis)
|
||
|
self.lineEdit_Axis2.setObjectName("lineEdit_Axis2")
|
||
|
self.gridLayout_3.addWidget(self.lineEdit_Axis2, 0, 1, 1, 1)
|
||
|
self.lineEdit_Axis3 = QtWidgets.QLineEdit(self.groupBox_Axis)
|
||
|
self.lineEdit_Axis3.setObjectName("lineEdit_Axis3")
|
||
|
self.gridLayout_3.addWidget(self.lineEdit_Axis3, 0, 2, 1, 1)
|
||
|
self.lineEdit_Axis1 = QtWidgets.QLineEdit(self.groupBox_Axis)
|
||
|
self.lineEdit_Axis1.setObjectName("lineEdit_Axis1")
|
||
|
self.gridLayout_3.addWidget(self.lineEdit_Axis1, 0, 0, 1, 1)
|
||
|
self.gridLayout_5.addWidget(self.groupBox_Axis, 2, 0, 1, 4)
|
||
|
self.groupBox_Length = QtWidgets.QGroupBox(CylinderInfoWidget)
|
||
|
self.groupBox_Length.setMaximumSize(QtCore.QSize(16777215, 75))
|
||
|
self.groupBox_Length.setObjectName("groupBox_Length")
|
||
|
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_Length)
|
||
|
self.gridLayout_4.setObjectName("gridLayout_4")
|
||
|
self.lineEdit_Length = QtWidgets.QLineEdit(self.groupBox_Length)
|
||
|
self.lineEdit_Length.setObjectName("lineEdit_Length")
|
||
|
self.gridLayout_4.addWidget(self.lineEdit_Length, 0, 0, 1, 1)
|
||
|
spacerItem = QtWidgets.QSpacerItem(11, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.gridLayout_4.addItem(spacerItem, 0, 1, 1, 1)
|
||
|
self.gridLayout_5.addWidget(self.groupBox_Length, 3, 0, 1, 4)
|
||
|
self.groupBox_Radius = QtWidgets.QGroupBox(CylinderInfoWidget)
|
||
|
self.groupBox_Radius.setMaximumSize(QtCore.QSize(16777215, 75))
|
||
|
self.groupBox_Radius.setObjectName("groupBox_Radius")
|
||
|
self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_Radius)
|
||
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
||
|
self.lineEdit_Radius = QtWidgets.QLineEdit(self.groupBox_Radius)
|
||
|
self.lineEdit_Radius.setObjectName("lineEdit_Radius")
|
||
|
self.gridLayout_2.addWidget(self.lineEdit_Radius, 0, 0, 1, 1)
|
||
|
spacerItem1 = QtWidgets.QSpacerItem(11, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.gridLayout_2.addItem(spacerItem1, 0, 1, 1, 1)
|
||
|
self.gridLayout_5.addWidget(self.groupBox_Radius, 4, 0, 1, 4)
|
||
|
self.pushButton_Cancel = QtWidgets.QPushButton(CylinderInfoWidget)
|
||
|
self.pushButton_Cancel.setObjectName("pushButton_Cancel")
|
||
|
self.gridLayout_5.addWidget(self.pushButton_Cancel, 5, 0, 1, 2)
|
||
|
spacerItem2 = QtWidgets.QSpacerItem(310, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
||
|
self.gridLayout_5.addItem(spacerItem2, 5, 2, 1, 1)
|
||
|
self.pushButton_CreateOrEdit = QtWidgets.QPushButton(CylinderInfoWidget)
|
||
|
self.pushButton_CreateOrEdit.setText("")
|
||
|
self.pushButton_CreateOrEdit.setObjectName("pushButton_CreateOrEdit")
|
||
|
self.gridLayout_5.addWidget(self.pushButton_CreateOrEdit, 5, 3, 1, 1)
|
||
|
self.verticalLayout = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||
|
self.verticalLayout_FaceGroup = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout_FaceGroup.setObjectName("verticalLayout_FaceGroup")
|
||
|
self.verticalLayout.addLayout(self.verticalLayout_FaceGroup)
|
||
|
spacerItem3 = QtWidgets.QSpacerItem(20, 255, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
||
|
self.verticalLayout.addItem(spacerItem3)
|
||
|
self.gridLayout_5.addLayout(self.verticalLayout, 6, 0, 1, 4)
|
||
|
|
||
|
self.retranslateUi(CylinderInfoWidget)
|
||
|
QtCore.QMetaObject.connectSlotsByName(CylinderInfoWidget)
|
||
|
|
||
|
def retranslateUi(self, CylinderInfoWidget):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
CylinderInfoWidget.setWindowTitle(_translate("CylinderInfoWidget", "Form"))
|
||
|
self.label_Name.setText(_translate("CylinderInfoWidget", "Name:"))
|
||
|
self.groupBox_OriginPoint.setTitle(_translate("CylinderInfoWidget", "Origin Point:"))
|
||
|
self.lineEdit_OriginPoint1.setText(_translate("CylinderInfoWidget", "0"))
|
||
|
self.lineEdit_OriginPoint2.setText(_translate("CylinderInfoWidget", "0"))
|
||
|
self.lineEdit_OriginPoint3.setText(_translate("CylinderInfoWidget", "0"))
|
||
|
self.groupBox_Axis.setTitle(_translate("CylinderInfoWidget", "Axis:"))
|
||
|
self.lineEdit_Axis2.setText(_translate("CylinderInfoWidget", "0"))
|
||
|
self.lineEdit_Axis3.setText(_translate("CylinderInfoWidget", "1"))
|
||
|
self.lineEdit_Axis1.setText(_translate("CylinderInfoWidget", "0"))
|
||
|
self.groupBox_Length.setTitle(_translate("CylinderInfoWidget", "Length"))
|
||
|
self.lineEdit_Length.setText(_translate("CylinderInfoWidget", "10"))
|
||
|
self.groupBox_Radius.setTitle(_translate("CylinderInfoWidget", "Radius"))
|
||
|
self.lineEdit_Radius.setText(_translate("CylinderInfoWidget", "5"))
|
||
|
self.pushButton_Cancel.setText(_translate("CylinderInfoWidget", "Cancel"))
|