23 from PyQt5
import QtCore, QtWidgets
24 from .render_mode_widget
import RenderModeWidget
29 RenderModeWidget.__init__(self, parent)
35 self.
mode_mode_ = gfx.RenderMode.SLINE
52 self.
radius_spinbox_radius_spinbox_.setRange(min_line_width, max_line_width)
56 sline_label = QtWidgets.QLabel(
"Spline Settings")
57 font = sline_label.font()
60 detail_label = QtWidgets.QLabel(
"Spline Detail")
61 aa_label = QtWidgets.QLabel(
"AA-Lines")
62 radius_label = QtWidgets.QLabel(
"Line Width")
63 grid = QtWidgets.QGridLayout()
64 grid.addWidget(sline_label, 0, 0, 1, 1)
65 grid.addWidget(detail_label, 1, 0, 1, 3)
67 grid.addWidget(aa_label, 2, 0, 1, 3)
69 grid.addWidget(radius_label, 3, 0, 1, 3)
71 grid.setRowStretch(4,1)
78 self.setMinimumSize(250,120)
81 self.
GetOptionsGetOptions().SetSplineDetail(value)
89 self.
GetOptionsGetOptions().SetLineWidth(value)
98 return self.
text_text_
101 return self.
mode_mode_