From 5a9e25d0a4190b920279ac010634650085f14660 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 26 Jul 2026 22:32:50 +0200 Subject: [PATCH] Fixed issue #2398 (Clarify 'Move By' Scope in tool window) --- src/layui/layui/layLayoutViewFunctions.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/layui/layui/layLayoutViewFunctions.cc b/src/layui/layui/layLayoutViewFunctions.cc index f965ed152..e10b719a9 100644 --- a/src/layui/layui/layLayoutViewFunctions.cc +++ b/src/layui/layui/layLayoutViewFunctions.cc @@ -1425,7 +1425,7 @@ LayoutViewFunctions::cm_lay_free_rot () static QString s_angle_value = QString::fromUtf8 ("0.0"); lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (), - tr ("Free rotation"), + tr ("Free Rotate Layout"), tr ("Rotation angle in degree (counterclockwise)")); dialog.accept_event.add (this, &LayoutViewFunctions::on_lay_free_rot); @@ -1449,7 +1449,7 @@ LayoutViewFunctions::cm_lay_scale () static QString s_scale_value = QString::fromUtf8 ("1.0"); lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (), - tr ("Scaling"), + tr ("Scale Layout"), tr ("Scaling factor")); dialog.accept_event.add (this, &LayoutViewFunctions::on_lay_scale); @@ -1471,6 +1471,7 @@ void LayoutViewFunctions::cm_lay_move () { lay::MoveOptionsDialog options (parent_widget ()); + options.setWindowTitle (tr ("Move Layout")); options.accept_event.add (this, &LayoutViewFunctions::on_lay_move); options.apply_event.add (this, &LayoutViewFunctions::on_lay_move); @@ -1534,7 +1535,7 @@ LayoutViewFunctions::cm_sel_free_rot () static QString s_angle_value = QString::fromUtf8 ("0.0"); lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (), - tr ("Free rotation"), + tr ("Free Rotate Selection"), tr ("Rotation angle in degree (counterclockwise)")); dialog.accept_event.add (this, &LayoutViewFunctions::on_sel_free_rot); @@ -1563,7 +1564,7 @@ LayoutViewFunctions::cm_sel_scale () static QString s_scale_value = QString::fromUtf8 ("1.0"); lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (), - tr ("Scaling"), + tr ("Scale Selection"), tr ("Scaling factor")); dialog.accept_event.add (this, &LayoutViewFunctions::on_sel_scale); @@ -1622,6 +1623,7 @@ void LayoutViewFunctions::cm_sel_move () { lay::MoveOptionsDialog options (parent_widget ()); + options.setWindowTitle (tr ("Move Selection")); options.apply_event.add (this, &LayoutViewFunctions::on_sel_move); options.accept_event.add (this, &LayoutViewFunctions::on_sel_move);