adjustments
This commit is contained in:
parent
82c140e73b
commit
f077e1dfee
@ -62,7 +62,7 @@ class Ui_Dialog(object):
|
|||||||
spinBoxOffset = self.domeBandsLE.property('minimum')
|
spinBoxOffset = self.domeBandsLE.property('minimum')
|
||||||
self.domeBandsLE.setProperty('minimum', spinBoxOffset + 1)
|
self.domeBandsLE.setProperty('minimum', spinBoxOffset + 1)
|
||||||
self.domeBandsLE.setProperty('maximum', spinBoxOffset + 30)
|
self.domeBandsLE.setProperty('maximum', spinBoxOffset + 30)
|
||||||
self.domeBandsLE.setProperty('value', spinBoxOffset + 4)
|
self.domeBandsLE.setProperty('value', spinBoxOffset + 3)
|
||||||
self.gridLayout.addWidget(self.domeBandsLE, 2, 1, 1, 1)
|
self.gridLayout.addWidget(self.domeBandsLE, 2, 1, 1, 1)
|
||||||
self.domeBomCB = QtGui.QCheckBox(self.gridLayoutWidget)
|
self.domeBomCB = QtGui.QCheckBox(self.gridLayoutWidget)
|
||||||
self.domeBomCB.setObjectName("domeBomCB")
|
self.domeBomCB.setObjectName("domeBomCB")
|
||||||
@ -77,7 +77,7 @@ class Ui_Dialog(object):
|
|||||||
#self.domeRadLE = QtGui.QLineEdit(self.gridLayoutWidget)
|
#self.domeRadLE = QtGui.QLineEdit(self.gridLayoutWidget)
|
||||||
self.domeRadLE = FCUi.createWidget("Gui::InputField")
|
self.domeRadLE = FCUi.createWidget("Gui::InputField")
|
||||||
self.domeRadLE.setObjectName("domeRadLE")
|
self.domeRadLE.setObjectName("domeRadLE")
|
||||||
self.domeRadLE.setProperty("text", "900 mm")
|
self.domeRadLE.setProperty("text", "2500 mm")
|
||||||
|
|
||||||
self.gridLayout.addWidget(self.domeRadLE, 0, 1, 1, 1)
|
self.gridLayout.addWidget(self.domeRadLE, 0, 1, 1, 1)
|
||||||
self.domeFrameCB = QtGui.QCheckBox(self.gridLayoutWidget)
|
self.domeFrameCB = QtGui.QCheckBox(self.gridLayoutWidget)
|
||||||
@ -110,7 +110,7 @@ class Ui_Dialog(object):
|
|||||||
self.domeFreqLE.setObjectName("domeFreqLE")
|
self.domeFreqLE.setObjectName("domeFreqLE")
|
||||||
self.domeFreqLE.setProperty('minimum', spinBoxOffset + 1)
|
self.domeFreqLE.setProperty('minimum', spinBoxOffset + 1)
|
||||||
self.domeFreqLE.setProperty('maximum', spinBoxOffset + 10)
|
self.domeFreqLE.setProperty('maximum', spinBoxOffset + 10)
|
||||||
self.domeFreqLE.setProperty('value', spinBoxOffset + 3)
|
self.domeFreqLE.setProperty('value', spinBoxOffset + 2)
|
||||||
|
|
||||||
self.gridLayout.addWidget(self.domeFreqLE, 1, 1, 1, 1)
|
self.gridLayout.addWidget(self.domeFreqLE, 1, 1, 1, 1)
|
||||||
self.strutDrawCB = QtGui.QCheckBox(self.gridLayoutWidget)
|
self.strutDrawCB = QtGui.QCheckBox(self.gridLayoutWidget)
|
||||||
@ -125,12 +125,12 @@ class Ui_Dialog(object):
|
|||||||
#self.strutWidthLE = QtGui.QLineEdit(self.gridLayoutWidget)
|
#self.strutWidthLE = QtGui.QLineEdit(self.gridLayoutWidget)
|
||||||
self.strutWidthLE = FCUi.createWidget("Gui::InputField")
|
self.strutWidthLE = FCUi.createWidget("Gui::InputField")
|
||||||
self.strutWidthLE.setObjectName("strutWidthLE")
|
self.strutWidthLE.setObjectName("strutWidthLE")
|
||||||
self.strutWidthLE.setProperty("text", "40 mm")
|
self.strutWidthLE.setProperty("text", "45 mm")
|
||||||
|
|
||||||
self.gridLayout.addWidget(self.strutWidthLE, 5, 1, 1, 1)
|
self.gridLayout.addWidget(self.strutWidthLE, 5, 1, 1, 1)
|
||||||
self.strutHeightLE = FCUi.createWidget("Gui::InputField")
|
self.strutHeightLE = FCUi.createWidget("Gui::InputField")
|
||||||
self.strutHeightLE.setObjectName("strutHeightLE")
|
self.strutHeightLE.setObjectName("strutHeightLE")
|
||||||
self.strutHeightLE.setProperty("text", "60 mm")
|
self.strutHeightLE.setProperty("text", "45 mm")
|
||||||
self.gridLayout.addWidget(self.strutHeightLE, 6, 1, 1, 1)
|
self.gridLayout.addWidget(self.strutHeightLE, 6, 1, 1, 1)
|
||||||
|
|
||||||
|
|
||||||
@ -152,10 +152,8 @@ class Ui_Dialog(object):
|
|||||||
self.domeRadLab.setText(QtGui.QApplication.translate("Dialog", "Dome Radius", None))
|
self.domeRadLab.setText(QtGui.QApplication.translate("Dialog", "Dome Radius", None))
|
||||||
self.domeFreqLab.setText(QtGui.QApplication.translate("Dialog", "Frequency Parameter\n"
|
self.domeFreqLab.setText(QtGui.QApplication.translate("Dialog", "Frequency Parameter\n"
|
||||||
"(Integer between 1 to 10)", None))
|
"(Integer between 1 to 10)", None))
|
||||||
self.macroLab.setText(QtGui.QApplication.translate("Dialog", "This Macro creates \n"
|
self.macroLab.setText(QtGui.QApplication.translate("Dialog", "This Macro creates a geodesic dome.\n"
|
||||||
"a geodesic dome.\n"
|
"X-Y-symmetry-plane for even frequencies", None,))
|
||||||
"X-Y-symmetry-plane\n"
|
|
||||||
"for even frequencies", None,))
|
|
||||||
self.domeBandLab.setText(QtGui.QApplication.translate("Dialog", "Dome Bands (3xFrequency\n"
|
self.domeBandLab.setText(QtGui.QApplication.translate("Dialog", "Dome Bands (3xFrequency\n"
|
||||||
"Parameter makes a Globe)", None))
|
"Parameter makes a Globe)", None))
|
||||||
self.strutDrawCB.setText(QtGui.QApplication.translate("Dialog", "Make Strut Drawing", None))
|
self.strutDrawCB.setText(QtGui.QApplication.translate("Dialog", "Make Strut Drawing", None))
|
||||||
@ -1574,4 +1572,4 @@ d.ui = Ui_Dialog()
|
|||||||
d.ui.setupUi(d)
|
d.ui.setupUi(d)
|
||||||
d.ui.updateInfo()
|
d.ui.updateInfo()
|
||||||
|
|
||||||
d.show()
|
d.show()
|
Loading…
Reference in New Issue
Block a user