1414class Ui_Form (object ):
1515 def setupUi (self , Form ):
1616 Form .setObjectName ("Form" )
17- Form .resize (527 , 500 )
17+ Form .resize (550 , 500 )
1818 self .gridLayout_4 = QtWidgets .QGridLayout (Form )
1919 self .gridLayout_4 .setSizeConstraint (QtWidgets .QLayout .SetDefaultConstraint )
2020 self .gridLayout_4 .setContentsMargins (- 1 , 6 , 6 , 6 )
@@ -117,6 +117,8 @@ def setupUi(self, Form):
117117 self .label_8 = QtWidgets .QLabel (Form )
118118 self .label_8 .setObjectName ("label_8" )
119119 self .formLayout .setWidget (8 , QtWidgets .QFormLayout .LabelRole , self .label_8 )
120+ self .horizontalLayoutTopPointOffset = QtWidgets .QHBoxLayout ()
121+ self .horizontalLayoutTopPointOffset .setObjectName ("horizontalLayoutTopPointOffset" )
120122 self .topPointOffsetSpinBox = QtWidgets .QSpinBox (Form )
121123 sizePolicy = QtWidgets .QSizePolicy (QtWidgets .QSizePolicy .MinimumExpanding , QtWidgets .QSizePolicy .Fixed )
122124 sizePolicy .setHorizontalStretch (0 )
@@ -129,10 +131,16 @@ def setupUi(self, Form):
129131 self .topPointOffsetSpinBox .setSingleStep (5 )
130132 self .topPointOffsetSpinBox .setProperty ("value" , 10 )
131133 self .topPointOffsetSpinBox .setObjectName ("topPointOffsetSpinBox" )
132- self .formLayout .setWidget (8 , QtWidgets .QFormLayout .FieldRole , self .topPointOffsetSpinBox )
134+ self .horizontalLayoutTopPointOffset .addWidget (self .topPointOffsetSpinBox )
135+ self .label_11 = QtWidgets .QLabel (Form )
136+ self .label_11 .setObjectName ("label_11" )
137+ self .horizontalLayoutTopPointOffset .addWidget (self .label_11 )
138+ self .formLayout .setLayout (8 , QtWidgets .QFormLayout .FieldRole , self .horizontalLayoutTopPointOffset )
133139 self .label_9 = QtWidgets .QLabel (Form )
134140 self .label_9 .setObjectName ("label_9" )
135141 self .formLayout .setWidget (9 , QtWidgets .QFormLayout .LabelRole , self .label_9 )
142+ self .horizontalLayoutBottomPointOffset = QtWidgets .QHBoxLayout ()
143+ self .horizontalLayoutBottomPointOffset .setObjectName ("horizontalLayoutBottomPointOffset" )
136144 self .bottomPointOffsetSpinBox = QtWidgets .QSpinBox (Form )
137145 sizePolicy = QtWidgets .QSizePolicy (QtWidgets .QSizePolicy .MinimumExpanding , QtWidgets .QSizePolicy .Fixed )
138146 sizePolicy .setHorizontalStretch (0 )
@@ -143,7 +151,11 @@ def setupUi(self, Form):
143151 self .bottomPointOffsetSpinBox .setMaximum (100 )
144152 self .bottomPointOffsetSpinBox .setProperty ("value" , - 10 )
145153 self .bottomPointOffsetSpinBox .setObjectName ("bottomPointOffsetSpinBox" )
146- self .formLayout .setWidget (9 , QtWidgets .QFormLayout .FieldRole , self .bottomPointOffsetSpinBox )
154+ self .horizontalLayoutBottomPointOffset .addWidget (self .bottomPointOffsetSpinBox )
155+ self .label_12 = QtWidgets .QLabel (Form )
156+ self .label_12 .setObjectName ("label_12" )
157+ self .horizontalLayoutBottomPointOffset .addWidget (self .label_12 )
158+ self .formLayout .setLayout (9 , QtWidgets .QFormLayout .FieldRole , self .horizontalLayoutBottomPointOffset )
147159 self .horizontalLayout = QtWidgets .QHBoxLayout ()
148160 self .horizontalLayout .setObjectName ("horizontalLayout" )
149161 spacerItem1 = QtWidgets .QSpacerItem (40 , 20 , QtWidgets .QSizePolicy .Expanding , QtWidgets .QSizePolicy .Minimum )
@@ -174,6 +186,8 @@ def retranslateUi(self, Form):
174186 self .label_6 .setText (_translate ("Form" , "Points:" ))
175187 self .label_7 .setText (_translate ("Form" , "Additional Points:" ))
176188 self .label_8 .setText (_translate ("Form" , "Top Points Offset:" ))
189+ self .label_11 .setText (_translate ("Form" , " Recommended = +10 " ))
177190 self .label_9 .setText (_translate ("Form" , "Bottom Points Offset:" ))
191+ self .label_12 .setText (_translate ("Form" , " Recommended = -10 " ))
178192 self .docsButton .setText (_translate ("Form" , "Documentation" ))
179193 self .okButton .setText (_translate ("Form" , "OK" ))
0 commit comments