
- Added RigidConstraint. - Depricated some methods (get_result, get_constrainedness) and added some new methods (get_solution, get_cluster, get_status). Removed old SelectionConstraint and renamed FunctionConstraint to SelectionConstraint Depricated ClusterSolver2D Small bugfixes in cluster ClusterSolver3D Renamed solvergui directory to workbench Renamed solvertest directory to test
177 lines
7.7 KiB
Python
177 lines
7.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'angleeditdialog.ui'
|
|
#
|
|
# Created: Wed Oct 17 14:06:10 2007
|
|
# by: PyQt4 UI code generator 4.2
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
class Ui_AngleDialog(object):
|
|
def setupUi(self, AngleDialog):
|
|
AngleDialog.setObjectName("AngleDialog")
|
|
AngleDialog.resize(QtCore.QSize(QtCore.QRect(0,0,221,550).size()).expandedTo(AngleDialog.minimumSizeHint()))
|
|
|
|
self.vboxlayout = QtGui.QVBoxLayout(AngleDialog)
|
|
self.vboxlayout.setObjectName("vboxlayout")
|
|
|
|
self.label_16 = QtGui.QLabel(AngleDialog)
|
|
|
|
font = QtGui.QFont()
|
|
font.setPointSize(13)
|
|
font.setWeight(75)
|
|
font.setBold(True)
|
|
self.label_16.setFont(font)
|
|
self.label_16.setObjectName("label_16")
|
|
self.vboxlayout.addWidget(self.label_16)
|
|
|
|
self.hboxlayout = QtGui.QHBoxLayout()
|
|
self.hboxlayout.setSpacing(6)
|
|
self.hboxlayout.setMargin(0)
|
|
self.hboxlayout.setObjectName("hboxlayout")
|
|
|
|
self.label_15 = QtGui.QLabel(AngleDialog)
|
|
|
|
font = QtGui.QFont()
|
|
font.setPointSize(10)
|
|
self.label_15.setFont(font)
|
|
self.label_15.setObjectName("label_15")
|
|
self.hboxlayout.addWidget(self.label_15)
|
|
|
|
spacerItem = QtGui.QSpacerItem(13,15,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
|
|
self.hboxlayout.addItem(spacerItem)
|
|
|
|
self.angleName = QtGui.QLineEdit(AngleDialog)
|
|
self.angleName.setObjectName("angleName")
|
|
self.hboxlayout.addWidget(self.angleName)
|
|
self.vboxlayout.addLayout(self.hboxlayout)
|
|
|
|
self.groupBox_6 = QtGui.QGroupBox(AngleDialog)
|
|
self.groupBox_6.setObjectName("groupBox_6")
|
|
|
|
self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_6)
|
|
self.vboxlayout1.setObjectName("vboxlayout1")
|
|
|
|
self.hboxlayout1 = QtGui.QHBoxLayout()
|
|
self.hboxlayout1.setSpacing(6)
|
|
self.hboxlayout1.setMargin(0)
|
|
self.hboxlayout1.setObjectName("hboxlayout1")
|
|
|
|
self.label_17 = QtGui.QLabel(self.groupBox_6)
|
|
self.label_17.setObjectName("label_17")
|
|
self.hboxlayout1.addWidget(self.label_17)
|
|
|
|
self.optionAngle = QtGui.QDoubleSpinBox(self.groupBox_6)
|
|
self.optionAngle.setDecimals(4)
|
|
self.optionAngle.setMaximum(360.0)
|
|
self.optionAngle.setObjectName("optionAngle")
|
|
self.hboxlayout1.addWidget(self.optionAngle)
|
|
self.vboxlayout1.addLayout(self.hboxlayout1)
|
|
|
|
self.hboxlayout2 = QtGui.QHBoxLayout()
|
|
self.hboxlayout2.setObjectName("hboxlayout2")
|
|
|
|
self.angleFixed = QtGui.QCheckBox(self.groupBox_6)
|
|
self.angleFixed.setLayoutDirection(QtCore.Qt.RightToLeft)
|
|
self.angleFixed.setObjectName("angleFixed")
|
|
self.hboxlayout2.addWidget(self.angleFixed)
|
|
|
|
spacerItem1 = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
|
|
self.hboxlayout2.addItem(spacerItem1)
|
|
self.vboxlayout1.addLayout(self.hboxlayout2)
|
|
self.vboxlayout.addWidget(self.groupBox_6)
|
|
|
|
self.groupBox_5 = QtGui.QGroupBox(AngleDialog)
|
|
self.groupBox_5.setObjectName("groupBox_5")
|
|
|
|
self.vboxlayout2 = QtGui.QVBoxLayout(self.groupBox_5)
|
|
self.vboxlayout2.setObjectName("vboxlayout2")
|
|
|
|
self.hboxlayout3 = QtGui.QHBoxLayout()
|
|
self.hboxlayout3.setObjectName("hboxlayout3")
|
|
|
|
self.label_13 = QtGui.QLabel(self.groupBox_5)
|
|
self.label_13.setObjectName("label_13")
|
|
self.hboxlayout3.addWidget(self.label_13)
|
|
|
|
self.infoAPoint1Name = QtGui.QLabel(self.groupBox_5)
|
|
self.infoAPoint1Name.setObjectName("infoAPoint1Name")
|
|
self.hboxlayout3.addWidget(self.infoAPoint1Name)
|
|
self.vboxlayout2.addLayout(self.hboxlayout3)
|
|
|
|
self.infoAPoint1Coords = QtGui.QLabel(self.groupBox_5)
|
|
self.infoAPoint1Coords.setIndent(10)
|
|
self.infoAPoint1Coords.setObjectName("infoAPoint1Coords")
|
|
self.vboxlayout2.addWidget(self.infoAPoint1Coords)
|
|
|
|
self.hboxlayout4 = QtGui.QHBoxLayout()
|
|
self.hboxlayout4.setObjectName("hboxlayout4")
|
|
|
|
self.label_14 = QtGui.QLabel(self.groupBox_5)
|
|
self.label_14.setObjectName("label_14")
|
|
self.hboxlayout4.addWidget(self.label_14)
|
|
|
|
self.infoAPoint2Name = QtGui.QLabel(self.groupBox_5)
|
|
self.infoAPoint2Name.setObjectName("infoAPoint2Name")
|
|
self.hboxlayout4.addWidget(self.infoAPoint2Name)
|
|
self.vboxlayout2.addLayout(self.hboxlayout4)
|
|
|
|
self.infoAPoint2Coords = QtGui.QLabel(self.groupBox_5)
|
|
self.infoAPoint2Coords.setIndent(10)
|
|
self.infoAPoint2Coords.setObjectName("infoAPoint2Coords")
|
|
self.vboxlayout2.addWidget(self.infoAPoint2Coords)
|
|
|
|
self.hboxlayout5 = QtGui.QHBoxLayout()
|
|
self.hboxlayout5.setObjectName("hboxlayout5")
|
|
|
|
self.label_18 = QtGui.QLabel(self.groupBox_5)
|
|
self.label_18.setObjectName("label_18")
|
|
self.hboxlayout5.addWidget(self.label_18)
|
|
|
|
self.infoAPoint3Name = QtGui.QLabel(self.groupBox_5)
|
|
self.infoAPoint3Name.setObjectName("infoAPoint3Name")
|
|
self.hboxlayout5.addWidget(self.infoAPoint3Name)
|
|
self.vboxlayout2.addLayout(self.hboxlayout5)
|
|
|
|
self.infoAPoint3Coords = QtGui.QLabel(self.groupBox_5)
|
|
self.infoAPoint3Coords.setIndent(10)
|
|
self.infoAPoint3Coords.setObjectName("infoAPoint3Coords")
|
|
self.vboxlayout2.addWidget(self.infoAPoint3Coords)
|
|
|
|
self.hboxlayout6 = QtGui.QHBoxLayout()
|
|
self.hboxlayout6.setObjectName("hboxlayout6")
|
|
|
|
self.label_11 = QtGui.QLabel(self.groupBox_5)
|
|
self.label_11.setObjectName("label_11")
|
|
self.hboxlayout6.addWidget(self.label_11)
|
|
|
|
self.getRangesButton = QtGui.QPushButton(self.groupBox_5)
|
|
self.getRangesButton.setObjectName("getRangesButton")
|
|
self.hboxlayout6.addWidget(self.getRangesButton)
|
|
self.vboxlayout2.addLayout(self.hboxlayout6)
|
|
|
|
self.parRangeList = QtGui.QListWidget(self.groupBox_5)
|
|
self.parRangeList.setObjectName("parRangeList")
|
|
self.vboxlayout2.addWidget(self.parRangeList)
|
|
self.vboxlayout.addWidget(self.groupBox_5)
|
|
|
|
self.retranslateUi(AngleDialog)
|
|
QtCore.QMetaObject.connectSlotsByName(AngleDialog)
|
|
|
|
def retranslateUi(self, AngleDialog):
|
|
AngleDialog.setWindowTitle(QtGui.QApplication.translate("AngleDialog", "Form", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_16.setText(QtGui.QApplication.translate("AngleDialog", "Angle", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_15.setText(QtGui.QApplication.translate("AngleDialog", "Name:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.groupBox_6.setTitle(QtGui.QApplication.translate("AngleDialog", "Options", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_17.setText(QtGui.QApplication.translate("AngleDialog", "Angle:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.angleFixed.setText(QtGui.QApplication.translate("AngleDialog", "Fixed", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.groupBox_5.setTitle(QtGui.QApplication.translate("AngleDialog", "Info", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_13.setText(QtGui.QApplication.translate("AngleDialog", "Point 1:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_14.setText(QtGui.QApplication.translate("AngleDialog", "Point 2:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_18.setText(QtGui.QApplication.translate("AngleDialog", "Point 3:", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.label_11.setText(QtGui.QApplication.translate("AngleDialog", "Range(s):", None, QtGui.QApplication.UnicodeUTF8))
|
|
self.getRangesButton.setText(QtGui.QApplication.translate("AngleDialog", "!", None, QtGui.QApplication.UnicodeUTF8))
|
|
|