mirror of https://github.com/KLayout/klayout.git
Merge pull request #2402 from KLayout/feature/issue-2398
Feature/issue 2398
This commit is contained in:
commit
87060b4364
|
|
@ -6,6 +6,7 @@
|
||||||
* Bugfix: Region#edges was not working properly when used on Regions with properties
|
* 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
|
enabled. Now, with properties enabled, the regions are consistently formed from polygons with
|
||||||
identical properties before generating the edges.
|
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
|
* 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.
|
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
|
As a side effect, the error markers may be split according to partial input
|
||||||
|
|
|
||||||
|
|
@ -1425,7 +1425,7 @@ LayoutViewFunctions::cm_lay_free_rot ()
|
||||||
static QString s_angle_value = QString::fromUtf8 ("0.0");
|
static QString s_angle_value = QString::fromUtf8 ("0.0");
|
||||||
|
|
||||||
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
||||||
tr ("Free rotation"),
|
tr ("Free Rotate Layout"),
|
||||||
tr ("Rotation angle in degree (counterclockwise)"));
|
tr ("Rotation angle in degree (counterclockwise)"));
|
||||||
|
|
||||||
dialog.accept_event.add (this, &LayoutViewFunctions::on_lay_free_rot);
|
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");
|
static QString s_scale_value = QString::fromUtf8 ("1.0");
|
||||||
|
|
||||||
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
||||||
tr ("Scaling"),
|
tr ("Scale Layout"),
|
||||||
tr ("Scaling factor"));
|
tr ("Scaling factor"));
|
||||||
|
|
||||||
dialog.accept_event.add (this, &LayoutViewFunctions::on_lay_scale);
|
dialog.accept_event.add (this, &LayoutViewFunctions::on_lay_scale);
|
||||||
|
|
@ -1471,6 +1471,7 @@ void
|
||||||
LayoutViewFunctions::cm_lay_move ()
|
LayoutViewFunctions::cm_lay_move ()
|
||||||
{
|
{
|
||||||
lay::MoveOptionsDialog options (parent_widget ());
|
lay::MoveOptionsDialog options (parent_widget ());
|
||||||
|
options.setWindowTitle (tr ("Move Layout"));
|
||||||
|
|
||||||
options.accept_event.add (this, &LayoutViewFunctions::on_lay_move);
|
options.accept_event.add (this, &LayoutViewFunctions::on_lay_move);
|
||||||
options.apply_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");
|
static QString s_angle_value = QString::fromUtf8 ("0.0");
|
||||||
|
|
||||||
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
||||||
tr ("Free rotation"),
|
tr ("Free Rotate Selection"),
|
||||||
tr ("Rotation angle in degree (counterclockwise)"));
|
tr ("Rotation angle in degree (counterclockwise)"));
|
||||||
|
|
||||||
dialog.accept_event.add (this, &LayoutViewFunctions::on_sel_free_rot);
|
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");
|
static QString s_scale_value = QString::fromUtf8 ("1.0");
|
||||||
|
|
||||||
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
lay::LayoutViewFunctionDialog dialog (QApplication::activeWindow (),
|
||||||
tr ("Scaling"),
|
tr ("Scale Selection"),
|
||||||
tr ("Scaling factor"));
|
tr ("Scaling factor"));
|
||||||
|
|
||||||
dialog.accept_event.add (this, &LayoutViewFunctions::on_sel_scale);
|
dialog.accept_event.add (this, &LayoutViewFunctions::on_sel_scale);
|
||||||
|
|
@ -1622,6 +1623,7 @@ void
|
||||||
LayoutViewFunctions::cm_sel_move ()
|
LayoutViewFunctions::cm_sel_move ()
|
||||||
{
|
{
|
||||||
lay::MoveOptionsDialog options (parent_widget ());
|
lay::MoveOptionsDialog options (parent_widget ());
|
||||||
|
options.setWindowTitle (tr ("Move Selection"));
|
||||||
|
|
||||||
options.apply_event.add (this, &LayoutViewFunctions::on_sel_move);
|
options.apply_event.add (this, &LayoutViewFunctions::on_sel_move);
|
||||||
options.accept_event.add (this, &LayoutViewFunctions::on_sel_move);
|
options.accept_event.add (this, &LayoutViewFunctions::on_sel_move);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue