aMainLay->addWidget(new QLabel(myMainWidget));
aMainLay->setRowMinimumHeight(3, 20);
myMainWidget->setLayout(aMainLay);
- //TODO: Move into the base class
- myUseSubShapes = theData->getBooleanAttribute("use_subshapes", false);
- //TODO_END
connect(myTypeCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(onSelectionTypeChanged()));
myCopyAction = new QAction(QIcon(":pictures/copy.png"), tr("Copy"), this);
id="ConstraintEntityA"
label="First object"
tooltip="Select point, line end point, line, center of circle or arc."
- shape_types="edge vertex"
- use_subshapes="true"/>
+ shape_types="edge vertex"/>
<sketch_shape_selector
id="ConstraintEntityB"
label="Last object"
tooltip="Select point, line end point, line, center of circle or arc."
- shape_types="edge vertex" use_subshapes="true">
+ shape_types="edge vertex">
<validator id="SketchPlugin_DifferentObjects"/>
</sketch_shape_selector>
<!-- SketchConstraintParallel -->
<feature id="SketchConstraintParallel" title="Parallel" tooltip="Create constraint defining two parallel lines" icon=":icons/parallel.png">
<sketch_constraint_shape_selector id="ConstraintEntityA"
- label="First line" tooltip="Select a line"
- shape_types="edge" use_subshapes="true">
+ label="First line" tooltip="Select a line" shape_types="edge">
<selection_filter id="EdgeFilter" parameters="line"/>
</sketch_constraint_shape_selector>
<sketch_constraint_shape_selector id="ConstraintEntityB" label="Last line" tooltip="Select a line"
- shape_types="edge" use_subshapes="true">
+ shape_types="edge">
<selection_filter id="EdgeFilter" parameters="line"/>
<validator id="SketchPlugin_DifferentObjects"/>
</sketch_constraint_shape_selector>
<feature id="SketchConstraintPerpendicular" title="Perpendicular" tooltip="Create constraint defining two perpendicular lines" icon=":icons/perpendicular.png">
<sketch_constraint_shape_selector id="ConstraintEntityA"
label="First line" tooltip="Select an line"
- shape_types="edge" use_subshapes="true">
+ shape_types="edge">
<selection_filter id="EdgeFilter" parameters="line"/>
</sketch_constraint_shape_selector>
<sketch_constraint_shape_selector id="ConstraintEntityB"
label="Last line" tooltip="Select an line"
- shape_types="edge" use_subshapes="true">
+ shape_types="edge">
<validator id="SketchPlugin_DifferentObjects"/>
<selection_filter id="EdgeFilter" parameters="line"/>
</sketch_constraint_shape_selector>