Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions src/layui/layui/layLayoutViewFunctions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
Loading