myActiveWidget(0)
{
ModuleBase_WidgetFactory aFactory(myDescription, myWorkshop);
- QString aTitle = ModuleBase_Tools::translate("ModuleBase_Dialog", aFactory.widgetAPI()->getProperty(FEATURE_TEXT));
+ QString aTitle = ModuleBase_Tools::translate("ModuleBase_Dialog",
+ aFactory.widgetAPI()->getProperty(FEATURE_TEXT));
setWindowTitle(aTitle);
anAlignmentX = GCS::EllipsePositiveMinorX;
anEllipseConstraints.push_back(GCSConstraintPtr(
- new GCS::ConstraintInternalAlignmentPoint2Ellipse(*anEllipse, *(aPoint->point()), anAlignmentX)));
+ new GCS::ConstraintInternalAlignmentPoint2Ellipse(
+ *anEllipse, *(aPoint->point()), anAlignmentX)));
anAlignmentY = (GCS::InternalAlignmentType)((int)anAlignmentX + 1);
anEllipseConstraints.push_back(GCSConstraintPtr(
- new GCS::ConstraintInternalAlignmentPoint2Ellipse(*anEllipse, *(aPoint->point()), anAlignmentY)));
+ new GCS::ConstraintInternalAlignmentPoint2Ellipse(
+ *anEllipse, *(aPoint->point()), anAlignmentY)));
}
// constraint to bind the major radius value
case ENTITY_ELLIPTICAL_ARC: {
std::shared_ptr<GCS::Ellipse> anEllipse =
std::dynamic_pointer_cast<GCS::Ellipse>(theEntity->entity());
- aNewConstr = GCSConstraintPtr(new GCS::ConstraintPointOnEllipse(*(thePoint->point()), *anEllipse));
+ aNewConstr = GCSConstraintPtr(
+ new GCS::ConstraintPointOnEllipse(*(thePoint->point()), *anEllipse));
break;
}
default:
QString anUnusedNames = aNames.join(", ");
QString anActionId = "CLEAN_HISTORY_CMD";
- QString aDescription = ModuleBase_Tools::translate("workshop", contextMenuMgr()->action(anActionId)->text().toStdString());
+ QString aDescription = ModuleBase_Tools::translate("workshop",
+ contextMenuMgr()->action(anActionId)->text().toStdString());
QMessageBox aMessageBox(desktop());
aMessageBox.setWindowTitle(aDescription);