23 from PyQt5
import QtCore, QtWidgets
24 from .render_mode_widget
import RenderModeWidget
29 RenderModeWidget.__init__(self, parent)
35 self.
mode_mode_ = gfx.RenderMode.LINE_TRACE
43 self.
radius_spinbox_radius_spinbox_.setRange(min_line_width, max_line_width)
49 sline_label = QtWidgets.QLabel(
"Trace Settings")
50 font = sline_label.font()
53 radius_label = QtWidgets.QLabel(
"Line Width")
54 aa_label = QtWidgets.QLabel(
"AA-Lines")
55 grid = QtWidgets.QGridLayout()
56 grid.addWidget(sline_label, 0, 0, 1, 1)
57 grid.addWidget(radius_label, 1, 0, 1, 3)
59 grid.addWidget(aa_label, 2, 0, 1, 3)
61 grid.setRowStretch(3,1)
67 self.setMinimumSize(250,90)
74 self.
GetOptionsGetOptions().SetLineWidth(value)
82 return self.
text_text_
85 return self.
mode_mode_