29 RenderModeWidget.__init__(self, parent)
36 max_sphere_detail = 12
48 self.
mode_ = gfx.RenderMode.CUSTOM
56 self.
arc_spinbox_.setRange(min_arc_detail, max_arc_detail)
59 radius_bond_label = QtWidgets.QLabel(
"Bond Radius")
73 radius_sphere_label = QtWidgets.QLabel(
"Sphere Radius")
85 custom_label = QtWidgets.QLabel(self.
text_)
86 font = custom_label.font()
89 sphere_label = QtWidgets.QLabel(
"Sphere Detail")
90 arc_label = QtWidgets.QLabel(
"Arc Detail")
91 grid = QtWidgets.QGridLayout()
92 grid.addWidget(custom_label,0,0,1,1)
93 grid.addWidget(sphere_label, 1, 0, 1, 3)
95 grid.addWidget(arc_label,2,0,1,3)
98 grid.addWidget(radius_bond_label, 3, 0, 1, 1)
102 grid.addWidget(radius_sphere_label, 4, 0, 1, 1)
106 grid.setRowStretch(3,1)
118 self.setMinimumSize(250,150)