<source>GEOM_CHECK_SELF_INTERSECTIONS</source>
<translation>Detect Self-intersections</translation>
</message>
- <message>
- <source>GEOM_CHECK_SELF_INTERSECTIONS_FAILED</source>
- <translation>Detection of self-intersections failed</translation>
- </message>
- <message>
- <source>GEOM_NO_SELF_INTERSECTIONS</source>
- <translation>There are no self-intersections in the shape</translation>
- </message>
- <message>
- <source>GEOM_SELF_INTERSECTIONS_FOUND</source>
- <translation>Some self-intersections detected</translation>
- </message>
- <message>
- <source>GEOM_SELF_INTERSECTION_NAME</source>
- <translation>Self_intersection</translation>
- </message>
- <message>
- <source>GEOM_CHECK_SELF_INTERSECTIONS_ERRORS</source>
- <translation>Warning: there were errors during the operation, so the list may be incomplete.</translation>
- </message>
<message>
<source>GEOM_CIRCLE</source>
<translation>Circle</translation>
<translation>V-Isoline</translation>
</message>
</context>
+<context>
+ <name>MeasureGUI_CheckSelfIntersectionsDlg</name>
+ <message>
+ <source>GEOM_CHECK_INTE_INTERSECTIONS</source>
+ <translation>Self-intersections</translation>
+ </message>
+ <message>
+ <source>GEOM_CHECK_INTE_SUBSHAPES</source>
+ <translation>Sub-shapes</translation>
+ </message>
+ <message>
+ <source>GEOM_CHECK_INTE_CHECK_LEVEL</source>
+ <translation>Level of check</translation>
+ </message>
+ <message>
+ <source>GEOM_CHECK_INTE_SUMMARY</source>
+ <translation>Summary</translation>
+ </message>
+ <message>
+ <source>GEOM_CHECK_INTE_COMPUTE</source>
+ <translation>Compute self-intersections</translation>
+ </message>
+ <message>
+ <source>GEOM_SELF_INTERSECTION_NAME</source>
+ <translation>Self_intersection</translation>
+ </message>
+ <message>
+ <source>GEOM_NO_SELF_INTERSECTIONS</source>
+ <translation>There are no self-intersections in the shape</translation>
+ </message>
+ <message>
+ <source>GEOM_SELF_INTERSECTIONS_FOUND</source>
+ <translation>Some self-intersections detected</translation>
+ </message>
+ <message>
+ <source>GEOM_CHECK_SELF_INTERSECTIONS_FAILED</source>
+ <translation>Detection of self-intersections failed</translation>
+ </message>
+ <message>
+ <source>GEOM_CHECK_SELF_INTERSECTIONS_ERRORS</source>
+ <translation>Warning: there were errors during the operation, so the list may be incomplete.</translation>
+ </message>
+</context>
</TS>
myTextView (0),
mySelButton (0),
myEditObjName (0),
+ myLevelBox (0),
+ myComputeButton (0),
myInteList (0),
myShapeList (0)
{
QGroupBox *aGrp = new QGroupBox(tr("GEOM_CHECK_INFOS"));
QLabel *anObjLbl = new QLabel(tr("GEOM_OBJECT"));
- QLabel *anInteLbl = new QLabel(tr("GEOM_CHECK_BLOCKS_COMPOUND_ERRORS"));
- QLabel *aShapeLbl = new QLabel(tr("GEOM_CHECK_BLOCKS_COMPOUND_SUBSHAPES"));
+ QLabel *anInteLbl = new QLabel(tr("GEOM_CHECK_INTE_INTERSECTIONS"));
+ QLabel *aShapeLbl = new QLabel(tr("GEOM_CHECK_INTE_SUBSHAPES"));
+ QLabel *aLevelLbl = new QLabel(tr("GEOM_CHECK_INTE_CHECK_LEVEL"));
+ QLabel *aSummaryLbl = new QLabel(tr("GEOM_CHECK_INTE_SUMMARY"));
QFont aFont (TEXTEDIT_FONT_FAMILY, TEXTEDIT_FONT_SIZE);
aFont.setStyleHint(QFont::TypeWriter, QFont::PreferAntialias);
myEditObjName = new QLineEdit;
myEditObjName->setReadOnly(true);
+ myLevelBox = new QComboBox;
+
+ myComputeButton = new QPushButton(tr("GEOM_CHECK_INTE_COMPUTE"));
+
+
myInteList = new QListWidget;
myShapeList = new QListWidget;
myShapeList->setSelectionMode(QAbstractItemView::ExtendedSelection);
aGrpLayout->setMargin(9);
aGrpLayout->setSpacing(6);
- aGrpLayout->addWidget(anObjLbl, 0, 0);
- aGrpLayout->addWidget(anInteLbl, 2, 0);
- aGrpLayout->addWidget(aShapeLbl, 2, 2);
- aGrpLayout->addWidget(myTextView, 1, 0, 1, 3);
- aGrpLayout->addWidget(mySelButton, 0, 1);
- aGrpLayout->addWidget(myEditObjName, 0, 2);
- aGrpLayout->addWidget(myInteList, 3, 0, 1, 2);
- aGrpLayout->addWidget(myShapeList, 3, 2);
+ aGrpLayout->addWidget(anObjLbl, 0, 0);
+ aGrpLayout->addWidget(anInteLbl, 5, 0);
+ aGrpLayout->addWidget(aShapeLbl, 5, 2);
+ aGrpLayout->addWidget(aLevelLbl, 1, 0);
+ aGrpLayout->addWidget(myLevelBox, 1, 1, 1, 2);
+ aGrpLayout->addWidget(myComputeButton, 2, 0, 1, 3);
+ aGrpLayout->addWidget(aSummaryLbl, 3, 0);
+ aGrpLayout->addWidget(myTextView, 4, 0, 1, 3);
+ aGrpLayout->addWidget(mySelButton, 0, 1);
+ aGrpLayout->addWidget(myEditObjName, 0, 2);
+ aGrpLayout->addWidget(myInteList, 6, 0, 1, 2);
+ aGrpLayout->addWidget(myShapeList, 6, 2);
QVBoxLayout* layout = new QVBoxLayout (centralWidget());
layout->setMargin(0); layout->setSpacing(6);
this, SLOT(SelectionIntoArgument()));
initName( tr( "GEOM_SELF_INTERSECTION_NAME") );
- buttonOk()->setEnabled( false );
- buttonApply()->setEnabled( false );
+ buttonOk()->setEnabled(false);
+ buttonApply()->setEnabled(false);
+ myComputeButton->setEnabled(false);
activateSelection();
SelectionIntoArgument();
}