diff --git a/Changelog b/Changelog index 0b36a9ecb..2c1fda1ec 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,7 @@ * Bugfix: Region#edges was not working properly when used on Regions with properties enabled. Now, with properties enabled, the regions are consistently formed from polygons with identical properties before generating the edges. +* Enhancement: %GITHUB%/issues/2398 Clarify 'move to' (and others) scope in window caption * Enhancement: DRC two-layer checks now do not necessarily require merging for the first input. This in general speeds up the operation in certain cases. As a side effect, the error markers may be split according to partial input 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);