22 #include <dtkCoreSupport/dtkGlobal.h>
26 class axlInspectorObjectSceneWidgetFieldVectorGlyphPrivate
29 QDoubleSpinBox *glyph_scale_spin;
34 QWidget *glyph_form =
new QWidget(
this);
35 glyph_form->setObjectName(
"axlInspectorObjectSceneWidgetFieldVectorGlyphForm");
37 d->glyph_scale_spin =
new QDoubleSpinBox(
this);
38 d->glyph_scale_spin->setValue(0.1);
39 d->glyph_scale_spin->setMinimum(0);
40 d->glyph_scale_spin->setMaximum(100000);
41 d->glyph_scale_spin->setSingleStep(0.01);
42 d->glyph_scale_spin->setDecimals(5);
44 QFormLayout *glyph_form_layout =
new QFormLayout(glyph_form);
45 glyph_form_layout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
46 glyph_form_layout->addRow(
"Scale", d->glyph_scale_spin);
48 QVBoxLayout *layout =
new QVBoxLayout(
this);
49 layout->setContentsMargins(0, 0, 0, 0);
50 layout->addWidget(
new QLabel(
"Glyph",
this));
51 layout->addWidget(glyph_form);