Sketcher: Default Shortcuts
=========================== Following: https://forum.freecadweb.org/viewtopic.php?p=539914#p539914 Following requests from OpenBrain and ChrisB: https://forum.freecadweb.org/viewtopic.php?p=540015#p540015 Following request from M4X: Recomendation to use "L" and "I" for vertical and horizontal distance constraints and "R" for radius. https://forum.freecadweb.org/viewtopic.php?p=540049#p540049 https://forum.freecadweb.org/viewtopic.php?p=540011#p540011
This commit is contained in:
@@ -621,7 +621,7 @@ void CmdSketcherMapSketch::activated(int iMsg)
|
||||
items,
|
||||
bCurIncompatible ? iSugg : iCurr,
|
||||
false,
|
||||
&ok,
|
||||
&ok,
|
||||
Qt::MSWindowsFixedSizeDialogHint);
|
||||
// * collect dialog result
|
||||
if (!ok)
|
||||
@@ -683,6 +683,7 @@ CmdSketcherViewSketch::CmdSketcherViewSketch()
|
||||
sWhatsThis = "Sketcher_ViewSketch";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_ViewSketch";
|
||||
sAccel = "Q, P";
|
||||
eType = 0;
|
||||
}
|
||||
|
||||
@@ -951,6 +952,7 @@ CmdSketcherViewSection::CmdSketcherViewSection()
|
||||
sWhatsThis = "Sketcher_ViewSection";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_ViewSection";
|
||||
sAccel = "Q, S";
|
||||
eType = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ CmdSketcherToggleConstruction::CmdSketcherToggleConstruction()
|
||||
sWhatsThis = "Sketcher_ToggleConstruction";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_ToggleConstruction";
|
||||
sAccel = "C,M";
|
||||
sAccel = "G, N";
|
||||
eType = ForEdit;
|
||||
|
||||
// list of toggle construction commands
|
||||
|
||||
@@ -1575,6 +1575,7 @@ CmdSketcherConstrainLock::CmdSketcherConstrainLock()
|
||||
sWhatsThis = "Sketcher_ConstrainLock";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Lock";
|
||||
sAccel = "K, L";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelVertex}};
|
||||
@@ -1798,6 +1799,7 @@ CmdSketcherConstrainBlock::CmdSketcherConstrainBlock()
|
||||
sWhatsThis = "Sketcher_ConstrainBlock";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Block";
|
||||
sAccel = "K, B";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelEdge}};
|
||||
@@ -2317,7 +2319,7 @@ CmdSketcherConstrainDistance::CmdSketcherConstrainDistance()
|
||||
sWhatsThis = "Sketcher_ConstrainDistance";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Length";
|
||||
sAccel = "SHIFT+D";
|
||||
sAccel = "K, D";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelVertex, SelVertexOrRoot}, {SelRoot, SelVertex},
|
||||
@@ -2666,7 +2668,7 @@ CmdSketcherConstrainPointOnObject::CmdSketcherConstrainPointOnObject()
|
||||
sWhatsThis = "Sketcher_ConstrainPointOnObject";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_PointOnObject";
|
||||
sAccel = "SHIFT+O";
|
||||
sAccel = "O";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelVertex, SelEdgeOrAxis}, {SelRoot, SelEdge},
|
||||
@@ -2915,7 +2917,7 @@ CmdSketcherConstrainDistanceX::CmdSketcherConstrainDistanceX()
|
||||
sWhatsThis = "Sketcher_ConstrainDistanceX";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_HorizontalDistance";
|
||||
sAccel = "SHIFT+H";
|
||||
sAccel = "L";
|
||||
eType = ForEdit;
|
||||
|
||||
// Can't do single vertex because its a prefix for 2 vertices
|
||||
@@ -3168,7 +3170,7 @@ CmdSketcherConstrainDistanceY::CmdSketcherConstrainDistanceY()
|
||||
sWhatsThis = "Sketcher_ConstrainDistanceY";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_VerticalDistance";
|
||||
sAccel = "SHIFT+V";
|
||||
sAccel = "I";
|
||||
eType = ForEdit;
|
||||
|
||||
// Can't do single vertex because its a prefix for 2 vertices
|
||||
@@ -3414,7 +3416,7 @@ CmdSketcherConstrainParallel::CmdSketcherConstrainParallel()
|
||||
sWhatsThis = "Sketcher_ConstrainParallel";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Parallel";
|
||||
sAccel = "SHIFT+P";
|
||||
sAccel = "P";
|
||||
eType = ForEdit;
|
||||
|
||||
// TODO: Also needed: ExternalEdges
|
||||
@@ -4910,7 +4912,7 @@ CmdSketcherConstrainRadius::CmdSketcherConstrainRadius()
|
||||
sWhatsThis = "Sketcher_ConstrainRadius";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Radius";
|
||||
sAccel = "";
|
||||
sAccel = "K, R";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelEdge}, {SelExternalEdge}};
|
||||
@@ -5212,7 +5214,7 @@ CmdSketcherConstrainDiameter::CmdSketcherConstrainDiameter()
|
||||
sWhatsThis = "Sketcher_ConstrainDiameter";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Diameter";
|
||||
sAccel = "";
|
||||
sAccel = "K, O";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelEdge}, {SelExternalEdge}};
|
||||
@@ -5488,7 +5490,7 @@ CmdSketcherConstrainRadiam::CmdSketcherConstrainRadiam()
|
||||
sWhatsThis = "Sketcher_ConstrainRadiam";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_Radiam";
|
||||
sAccel = "";
|
||||
sAccel = "K, S";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelEdge}, {SelExternalEdge}};
|
||||
@@ -5791,7 +5793,7 @@ CmdSketcherCompConstrainRadDia::CmdSketcherCompConstrainRadDia()
|
||||
sToolTipText = QT_TR_NOOP("Constrain an arc or a circle");
|
||||
sWhatsThis = "Sketcher_CompCreateCircle";
|
||||
sStatusTip = sToolTipText;
|
||||
sAccel = "SHIFT+R";
|
||||
sAccel = "R";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -5936,7 +5938,7 @@ CmdSketcherConstrainAngle::CmdSketcherConstrainAngle()
|
||||
sWhatsThis = "Sketcher_ConstrainAngle";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_InternalAngle";
|
||||
sAccel = "A";
|
||||
sAccel = "K, A";
|
||||
eType = ForEdit;
|
||||
|
||||
allowedSelSequences = {{SelEdge, SelEdgeOrAxis}, {SelEdgeOrAxis, SelEdge},
|
||||
@@ -6982,7 +6984,7 @@ CmdSketcherConstrainSnellsLaw::CmdSketcherConstrainSnellsLaw()
|
||||
sWhatsThis = "Sketcher_ConstrainSnellsLaw";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_SnellsLaw";
|
||||
sAccel = "";
|
||||
sAccel = "K, W";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7134,6 +7136,8 @@ bool CmdSketcherConstrainSnellsLaw::isActive(void)
|
||||
|
||||
DEF_STD_CMD_A(CmdSketcherConstrainInternalAlignment)
|
||||
|
||||
// NOTE: This command is deprecated. Nobody seriously uses today manual creation of an internal alignment constraint
|
||||
// The only reason this code remains is the extremelly unlikely scenario that some user macro may rely on it.
|
||||
CmdSketcherConstrainInternalAlignment::CmdSketcherConstrainInternalAlignment()
|
||||
:Command("Sketcher_ConstrainInternalAlignment")
|
||||
{
|
||||
@@ -7145,7 +7149,6 @@ CmdSketcherConstrainInternalAlignment::CmdSketcherConstrainInternalAlignment()
|
||||
sWhatsThis = "Sketcher_ConstrainInternalAlignment";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Constraint_InternalAlignment";
|
||||
sAccel = "Ctrl+A";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7607,7 +7610,7 @@ CmdSketcherToggleDrivingConstraint::CmdSketcherToggleDrivingConstraint()
|
||||
sWhatsThis = "Sketcher_ToggleDrivingConstraint";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_ToggleConstraint";
|
||||
sAccel = "";
|
||||
sAccel = "K, X";
|
||||
eType = ForEdit;
|
||||
|
||||
// list of toggle driving constraint commands
|
||||
@@ -7733,7 +7736,7 @@ CmdSketcherToggleActiveConstraint::CmdSketcherToggleActiveConstraint()
|
||||
sWhatsThis = "Sketcher_ToggleActiveConstraint";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_ToggleActiveConstraint";
|
||||
sAccel = "";
|
||||
sAccel = "K, Z";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
|
||||
@@ -387,7 +387,7 @@ CmdSketcherCreateLine::CmdSketcherCreateLine()
|
||||
sWhatsThis = "Sketcher_CreateLine";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateLine";
|
||||
sAccel = "L";
|
||||
sAccel = "G, L";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -690,7 +690,7 @@ CmdSketcherCreateRectangle::CmdSketcherCreateRectangle()
|
||||
sWhatsThis = "Sketcher_CreateRectangle";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateRectangle";
|
||||
sAccel = "R";
|
||||
sAccel = "G, R";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -731,7 +731,7 @@ CmdSketcherCreateRectangleCenter::CmdSketcherCreateRectangleCenter()
|
||||
sWhatsThis = "Sketcher_CreateRectangle_Center";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateRectangle_Center";
|
||||
sAccel = "";
|
||||
sAccel = "G, V";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1055,7 +1055,7 @@ CmdSketcherCreateOblong::CmdSketcherCreateOblong()
|
||||
sWhatsThis = "Sketcher_CreateOblong";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateOblong";
|
||||
sAccel = "";
|
||||
sAccel = "G, O";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1853,6 +1853,7 @@ CmdSketcherCreatePolyline::CmdSketcherCreatePolyline()
|
||||
sWhatsThis = "Sketcher_CreatePolyline";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreatePolyline";
|
||||
sAccel = "G, M";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -2096,6 +2097,7 @@ CmdSketcherCreateArc::CmdSketcherCreateArc()
|
||||
sWhatsThis = "Sketcher_CreateArc";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateArc";
|
||||
sAccel = "G, A";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -2365,6 +2367,7 @@ CmdSketcherCreate3PointArc::CmdSketcherCreate3PointArc()
|
||||
sWhatsThis = "Sketcher_Create3PointArc";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Create3PointArc";
|
||||
sAccel = "G, 3, A";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -2626,6 +2629,7 @@ CmdSketcherCreateCircle::CmdSketcherCreateCircle()
|
||||
sWhatsThis = "Sketcher_CreateCircle";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateCircle";
|
||||
sAccel = "G, C";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -3421,6 +3425,7 @@ CmdSketcherCreateEllipseByCenter::CmdSketcherCreateEllipseByCenter()
|
||||
sWhatsThis = "Sketcher_CreateEllipseByCenter";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Conics_Ellipse_Center";
|
||||
sAccel = "G, E, E";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -3451,6 +3456,7 @@ CmdSketcherCreateEllipseBy3Points::CmdSketcherCreateEllipseBy3Points()
|
||||
sWhatsThis = "Sketcher_CreateEllipseBy3Points";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateEllipse_3points";
|
||||
sAccel = "G, 3, E";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -3778,6 +3784,7 @@ CmdSketcherCreateArcOfEllipse::CmdSketcherCreateArcOfEllipse()
|
||||
sWhatsThis = "Sketcher_CreateArcOfEllipse";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateElliptical_Arc";
|
||||
sAccel = "G, E, A";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -4121,6 +4128,7 @@ CmdSketcherCreateArcOfHyperbola::CmdSketcherCreateArcOfHyperbola()
|
||||
sWhatsThis = "Sketcher_CreateArcOfHyperbola";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateHyperbolic_Arc";
|
||||
sAccel = "G, H";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -4419,6 +4427,7 @@ CmdSketcherCreateArcOfParabola::CmdSketcherCreateArcOfParabola()
|
||||
sWhatsThis = "Sketcher_CreateArcOfParabola";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateParabolic_Arc";
|
||||
sAccel = "G, J";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -4953,6 +4962,7 @@ CmdSketcherCreateBSpline::CmdSketcherCreateBSpline()
|
||||
sWhatsThis = "Sketcher_CreateBSpline";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateBSpline";
|
||||
sAccel = "G, B, B";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -4997,6 +5007,7 @@ CmdSketcherCreatePeriodicBSpline::CmdSketcherCreatePeriodicBSpline()
|
||||
sWhatsThis = "Sketcher_CreatePeriodicBSpline";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Create_Periodic_BSpline";
|
||||
sAccel = "G, B, P";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -5311,6 +5322,7 @@ CmdSketcherCreate3PointCircle::CmdSketcherCreate3PointCircle()
|
||||
sWhatsThis = "Sketcher_Create3PointCircle";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Create3PointCircle";
|
||||
sAccel = "G, 3, C";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -5518,6 +5530,7 @@ CmdSketcherCreatePoint::CmdSketcherCreatePoint()
|
||||
sWhatsThis = "Sketcher_CreatePoint";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreatePoint";
|
||||
sAccel = "G, Y";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -5855,7 +5868,7 @@ CmdSketcherCreateFillet::CmdSketcherCreateFillet()
|
||||
sWhatsThis = "Sketcher_CreateFillet";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateFillet";
|
||||
sAccel = "F";
|
||||
sAccel = "G, F, F";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -5884,7 +5897,7 @@ CmdSketcherCreatePointFillet::CmdSketcherCreatePointFillet()
|
||||
sWhatsThis = "Sketcher_CreatePointFillet";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateFillet";
|
||||
sAccel = "";
|
||||
sAccel = "G, F, P";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -6145,7 +6158,7 @@ CmdSketcherTrimming::CmdSketcherTrimming()
|
||||
sWhatsThis = "Sketcher_Trimming";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Trimming";
|
||||
sAccel = "T,R";
|
||||
sAccel = "G, T";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -6459,7 +6472,7 @@ CmdSketcherExtend::CmdSketcherExtend()
|
||||
sWhatsThis = "Sketcher_Extend";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Extend";
|
||||
sAccel = "T,E";
|
||||
sAccel = "G, Q";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -6578,7 +6591,7 @@ CmdSketcherSplit::CmdSketcherSplit()
|
||||
sWhatsThis = "Sketcher_Split";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Split";
|
||||
sAccel = "T,S";
|
||||
sAccel = "G, Z";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -6762,7 +6775,7 @@ CmdSketcherExternal::CmdSketcherExternal()
|
||||
sWhatsThis = "Sketcher_External";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_External";
|
||||
sAccel = "X";
|
||||
sAccel = "G, X";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -6938,7 +6951,7 @@ namespace SketcherGui {
|
||||
sWhatsThis = "Sketcher_CarbonCopy";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CarbonCopy";
|
||||
sAccel = "C,C";
|
||||
sAccel = "G, W";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7194,7 +7207,7 @@ CmdSketcherCreateSlot::CmdSketcherCreateSlot()
|
||||
sWhatsThis = "Sketcher_CreateSlot";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateSlot";
|
||||
sAccel = "";
|
||||
sAccel = "G, S";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7387,7 +7400,7 @@ CmdSketcherCreateTriangle::CmdSketcherCreateTriangle()
|
||||
sWhatsThis = "Sketcher_CreateTriangle";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateTriangle";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, 3";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7414,7 +7427,7 @@ CmdSketcherCreateSquare::CmdSketcherCreateSquare()
|
||||
sWhatsThis = "Sketcher_CreateSquare";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateSquare";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, 4";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7441,7 +7454,7 @@ CmdSketcherCreatePentagon::CmdSketcherCreatePentagon()
|
||||
sWhatsThis = "Sketcher_CreatePentagon";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreatePentagon";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, 5";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7469,7 +7482,7 @@ CmdSketcherCreateHexagon::CmdSketcherCreateHexagon()
|
||||
sWhatsThis = "Sketcher_CreateHexagon";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateHexagon";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, 6";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7496,7 +7509,7 @@ CmdSketcherCreateHeptagon::CmdSketcherCreateHeptagon()
|
||||
sWhatsThis = "Sketcher_CreateHeptagon";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateHeptagon";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, 7";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7523,7 +7536,7 @@ CmdSketcherCreateOctagon::CmdSketcherCreateOctagon()
|
||||
sWhatsThis = "Sketcher_CreateOctagon";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateOctagon";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, 8";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7550,7 +7563,7 @@ CmdSketcherCreateRegularPolygon::CmdSketcherCreateRegularPolygon()
|
||||
sWhatsThis = "Sketcher_CreateRegularPolygon";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CreateRegularPolygon";
|
||||
sAccel = "";
|
||||
sAccel = "G, P, R";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -7580,6 +7593,7 @@ CmdSketcherCompCreateRegularPolygon::CmdSketcherCompCreateRegularPolygon()
|
||||
sToolTipText = QT_TR_NOOP("Create a regular polygon in the sketcher");
|
||||
sWhatsThis = "Sketcher_CompCreateRegularPolygon";
|
||||
sStatusTip = sToolTipText;
|
||||
sAccel = "G, P, P";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ CmdSketcherCloseShape::CmdSketcherCloseShape()
|
||||
sWhatsThis = "Sketcher_CloseShape";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_CloseShape";
|
||||
sAccel = "CTRL+SHIFT+S";
|
||||
sAccel = "Z, W";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ CmdSketcherConnect::CmdSketcherConnect()
|
||||
sWhatsThis = "Sketcher_ConnectLines";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_ConnectLines";
|
||||
sAccel = "CTRL+SHIFT+K";
|
||||
sAccel = "Z, J";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ CmdSketcherSelectConstraints::CmdSketcherSelectConstraints()
|
||||
sWhatsThis = "Sketcher_SelectConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectConstraints";
|
||||
sAccel = "CTRL+SHIFT+C";
|
||||
sAccel = "Z, K";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -381,7 +381,7 @@ CmdSketcherSelectOrigin::CmdSketcherSelectOrigin()
|
||||
sWhatsThis = "Sketcher_SelectOrigin";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectOrigin";
|
||||
sAccel = "CTRL+SHIFT+O";
|
||||
sAccel = "Z, O";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -427,7 +427,7 @@ CmdSketcherSelectVerticalAxis::CmdSketcherSelectVerticalAxis()
|
||||
sWhatsThis = "Sketcher_SelectVerticalAxis";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectVerticalAxis";
|
||||
sAccel = "CTRL+SHIFT+V";
|
||||
sAccel = "Z, V";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -471,7 +471,7 @@ CmdSketcherSelectHorizontalAxis::CmdSketcherSelectHorizontalAxis()
|
||||
sWhatsThis = "Sketcher_SelectHorizontalAxis";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectHorizontalAxis";
|
||||
sAccel = "CTRL+SHIFT+H";
|
||||
sAccel = "Z, H";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -514,7 +514,7 @@ CmdSketcherSelectRedundantConstraints::CmdSketcherSelectRedundantConstraints()
|
||||
sWhatsThis = "Sketcher_SelectRedundantConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectRedundantConstraints";
|
||||
sAccel = "CTRL+SHIFT+R";
|
||||
sAccel = "Z, P, R";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -571,7 +571,7 @@ CmdSketcherSelectMalformedConstraints::CmdSketcherSelectMalformedConstraints()
|
||||
sWhatsThis = "Sketcher_SelectMalformedConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectMalformedConstraints";
|
||||
sAccel = "CTRL+SHIFT+R";
|
||||
sAccel = "Z, P, M";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -627,7 +627,7 @@ CmdSketcherSelectPartiallyRedundantConstraints::CmdSketcherSelectPartiallyRedund
|
||||
sWhatsThis = "Sketcher_SelectPartiallyRedundantConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectPartiallyRedundantConstraints";
|
||||
sAccel = "CTRL+SHIFT+R";
|
||||
sAccel = "Z, P, P";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -683,6 +683,7 @@ CmdSketcherSelectConflictingConstraints::CmdSketcherSelectConflictingConstraints
|
||||
sWhatsThis = "Sketcher_SelectConflictingConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectConflictingConstraints";
|
||||
sAccel = "Z, P, C";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -737,7 +738,7 @@ CmdSketcherSelectElementsAssociatedWithConstraints::CmdSketcherSelectElementsAss
|
||||
sWhatsThis = "Sketcher_SelectElementsAssociatedWithConstraints";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectElementsAssociatedWithConstraints";
|
||||
sAccel = "CTRL+SHIFT+E";
|
||||
sAccel = "Z, E";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -858,7 +859,7 @@ CmdSketcherSelectElementsWithDoFs::CmdSketcherSelectElementsWithDoFs()
|
||||
sWhatsThis = "Sketcher_SelectElementsWithDoFs";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SelectElementsWithDoFs";
|
||||
sAccel = "";
|
||||
sAccel = "Z, F";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -949,6 +950,7 @@ CmdSketcherRestoreInternalAlignmentGeometry::CmdSketcherRestoreInternalAlignment
|
||||
sWhatsThis = "Sketcher_RestoreInternalAlignmentGeometry";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Element_Ellipse_All";
|
||||
sAccel = "Z, I";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1044,7 +1046,7 @@ CmdSketcherSymmetry::CmdSketcherSymmetry()
|
||||
sWhatsThis = "Sketcher_Symmetry";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Symmetry";
|
||||
sAccel = "";
|
||||
sAccel = "Z, S";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1579,7 +1581,7 @@ CmdSketcherCopy::CmdSketcherCopy()
|
||||
sWhatsThis = "Sketcher_Copy";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Copy";
|
||||
sAccel = "";
|
||||
sAccel = "Z, C";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1625,7 +1627,7 @@ CmdSketcherClone::CmdSketcherClone()
|
||||
sWhatsThis = "Sketcher_Clone";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Clone";
|
||||
sAccel = "";
|
||||
sAccel = "Z, L";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1668,7 +1670,7 @@ CmdSketcherMove::CmdSketcherMove()
|
||||
sWhatsThis = "Sketcher_Move";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_Move";
|
||||
sAccel = "CTRL+M";
|
||||
sAccel = "Z, M";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1701,7 +1703,7 @@ CmdSketcherCompCopy::CmdSketcherCompCopy()
|
||||
sToolTipText = QT_TR_NOOP("Creates a clone of the geometry taking as reference the last selected point");
|
||||
sWhatsThis = "Sketcher_CompCopy";
|
||||
sStatusTip = sToolTipText;
|
||||
sAccel = "CTRL+C";
|
||||
sAccel = "";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -1984,7 +1986,7 @@ CmdSketcherRectangularArray::CmdSketcherRectangularArray()
|
||||
sWhatsThis = "Sketcher_RectangularArray";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_RectangularArray";
|
||||
sAccel = "";
|
||||
sAccel = "Z, A";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
@@ -2251,7 +2253,7 @@ CmdSketcherRemoveAxesAlignment::CmdSketcherRemoveAxesAlignment()
|
||||
sWhatsThis = "Sketcher_RemoveAxesAlignment";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_RemoveAxesAlignment";
|
||||
sAccel = "";
|
||||
sAccel = "Z, R";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ CmdSketcherSwitchVirtualSpace::CmdSketcherSwitchVirtualSpace()
|
||||
sWhatsThis = "Sketcher_SwitchVirtualSpace";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Sketcher_SwitchVirtualSpace";
|
||||
sAccel = "";
|
||||
sAccel = "Z, Z";
|
||||
eType = ForEdit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user