diff --git a/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h b/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h index 8deb5ee289..3d7e14db7c 100644 --- a/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h +++ b/src/Mod/Sketcher/Gui/DrawSketchHandlerRectangle.h @@ -115,6 +115,9 @@ private: using enum Gui::InputHint::UserInput; const Gui::InputHint switchHint {.message = tr("%1 switch mode"), .sequences = {KeyM}}; + const Gui::InputHint roundedCornersHint {.message = tr("%1 toggle rounded corners"), + .sequences = {KeyU}}; + const Gui::InputHint frameHint {.message = tr("%1 toggle frame"), .sequences = {KeyJ}}; return Gui::lookupHints( {constructionMethod(), state()}, @@ -125,24 +128,32 @@ private: { {tr("%1 pick first corner"), {MouseLeft}}, switchHint, + roundedCornersHint, + frameHint, }}, {.state = {ConstructionMethod::Diagonal, SelectMode::SeekSecond}, .hints = { {tr("%1 pick opposite corner"), {MouseLeft}}, switchHint, + roundedCornersHint, + frameHint, }}, {.state = {ConstructionMethod::Diagonal, SelectMode::SeekThird}, .hints = { {tr("%1 set corner radius or frame thickness"), {MouseMove}}, switchHint, + roundedCornersHint, + frameHint, }}, {.state = {ConstructionMethod::Diagonal, SelectMode::SeekFourth}, .hints = { {tr("%1 set frame thickness"), {MouseMove}}, switchHint, + roundedCornersHint, + frameHint, }}, // CenterAndCorner method @@ -151,24 +162,32 @@ private: { {tr("%1 pick center"), {MouseLeft}}, switchHint, + roundedCornersHint, + frameHint, }}, {.state = {ConstructionMethod::CenterAndCorner, SelectMode::SeekSecond}, .hints = { {tr("%1 pick corner"), {MouseLeft}}, switchHint, + roundedCornersHint, + frameHint, }}, {.state = {ConstructionMethod::CenterAndCorner, SelectMode::SeekThird}, .hints = { {tr("%1 set corner radius or frame thickness"), {MouseMove}}, switchHint, + roundedCornersHint, + frameHint, }}, {.state = {ConstructionMethod::CenterAndCorner, SelectMode::SeekFourth}, .hints = { {tr("%1 set frame thickness"), {MouseMove}}, switchHint, + roundedCornersHint, + frameHint, }}, // ThreePoints method