Commit Graph

758 Commits

Author SHA1 Message Date
Matthias Koefferlein 2a5b019730 Bonus track: 'visibility follows selection' 2023-12-14 23:11:16 +01:00
Matthias Koefferlein 6e589e2bb3 Fixed issue #1533 (KLayout crashing with two consecutive calls of the same LayoutView::show_layout command) 2023-11-19 21:14:32 +01:00
Matthias Koefferlein 45f3216530 Fixed issue #1510 (cross hair cursor, with options to enable from menu, color and line style can be configured) 2023-10-19 02:00:31 +02:00
Matthias Koefferlein 67d934194f Added line style selection widget 2023-10-19 01:59:35 +02:00
Matthias Koefferlein 3c297a28d8 Fixed issue #1512 ('get_image' of LayoutView should also work on inactive views) 2023-10-18 21:21:05 +02:00
Matthias Koefferlein 3fbdb065fd Editor option for controlling snapping (snap to grid while moving), more consistent snap behavior, instance snapping 2023-10-05 22:25:30 +02:00
Matthias Koefferlein 0a546ef41d WIP 2023-10-02 23:18:36 +02:00
Matthias Koefferlein b360df16e3 Fixed problem discussed in the form (#2365) - processEvents needed for LayoutView#get_image etc. 2023-09-11 23:04:56 +02:00
Matthias Koefferlein 10f3380023 Enhancement: 'copy interactive' will maintain selection 2023-09-03 16:14:44 +02:00
Matthias Koefferlein 695ec041af Enhancement: Allowing to select cells by error markers too (so that PCells with errors can be selected) 2023-08-27 11:27:46 +02:00
Matthias Koefferlein 4742e255fc Fixes issue #1453: fixed performance issue which was caused by a deep search for texts in transient selection 2023-08-07 18:23:05 +02:00
Matthias Koefferlein 3642cff120 Implemented relative mode for marker browser config. Can read existing config. 2023-08-05 23:20:46 +02:00
Matthias Koefferlein 3f80d7bbe1 Added lay::Margin object 2023-08-05 22:17:28 +02:00
Matthias Köfferlein 0cae7b0f93
Merge pull request #1442 from KLayout/issue-1438
Fixed issue #1438 (Provide a configuration option to switch back to o…
2023-08-05 21:09:51 +02:00
Matthias Koefferlein f583d5e3db Fixed a potential segfault of application exit 2023-08-03 19:22:11 +02:00
Matthias Koefferlein 6014ba9fed Fixed issue #1438 (Provide a configuration option to switch back to old-style text selection (at origin only) 2023-08-01 21:40:54 +02:00
Matthias Koefferlein 3736b59156 it's -> its 2023-07-30 14:46:58 +02:00
Matthias Koefferlein 2ae01a3e91 Do not duplicate cells+layers on "Duplicate"
See https://www.klayout.de/forum/discussion/2335 for the rationale
2023-07-30 13:50:49 +02:00
Matthias Koefferlein e53d432117 Better support for point-like handles
PCells have been featuring point-like handles but
they suffered some issues because they have been
mapped to degenerated boxes:

- hardly visible
- could be destroyed using partial editing

Now, the database offers points, hence it is
possible to store points explicitly, so no
tricks need to be played to make them visible.

Editing has been implemented to some extent,
so it is possible for example to configure
handles in the properties dialogs.
2023-07-29 01:01:50 +02:00
Matthias Koefferlein 6e4ac71442 WIP 2023-07-28 23:48:34 +02:00
Matthias Koefferlein c831ed15f8 Enhance the selection behavior of partial edit mode: allow selection of edge ends if edges overlap, graphical indicator for selected partial 2023-07-15 00:22:17 +02:00
Matthias Koefferlein ab9a1283b6 Inherit layout's editable mode from LayoutView instead of application (which is not there for Qt-less Python module) 2023-07-03 22:21:43 +02:00
Matthias Köfferlein 7169910607
Merge pull request #1362 from KLayout/issue-1360
Fixed issue #1360 (LayoutViewBase not promoted to LayoutView). Proble…
2023-05-12 23:31:41 +02:00
Matthias Koefferlein da52eeb7c3 Fixed text bbox computation under the presence of global view transformations and 'apply text transformation' false 2023-05-11 20:05:28 +02:00
Matthias Koefferlein 424c039b7e More precise testing of edges on mouse hit - without this patch, the selected objects in dense regions are not at the mouse pointer's tip, but somewhat away 2023-05-11 19:03:41 +02:00
Matthias Koefferlein 1422dfb93d Bugfix, text reference made the program assert 2023-05-11 18:57:24 +02:00
Matthias Koefferlein c45d1d70d4 Debugging 2023-05-09 23:16:03 +02:00
Matthias Koefferlein c6f159d720 Adding frame to text display, debugging 2023-05-09 22:36:56 +02:00
Matthias Koefferlein 45394b801a Debugging TextInfo, added tests 2023-05-09 21:37:15 +02:00
Matthias Koefferlein df7311ddf7 Fixed issue #1360 (LayoutViewBase not promoted to LayoutView). Problem was that GSI binding of LayoutView happened before LayoutView was fully constructed. 2023-05-09 20:06:34 +02:00
Matthias Koefferlein 0b0f62130c WIP: refactoring, debugging needed 2023-05-07 23:29:02 +02:00
Matthias Koefferlein e8048d6686 WIP: preparations - introducing TextInfo 2023-05-07 19:51:15 +02:00
Matthias Koefferlein 7b4ff5d823 Zoom in/out menu functions now use mouse position for zoom center instead of center (if mouse is inside window) 2023-05-06 21:40:36 +02:00
Matthias Koefferlein 541f9a377f Small refactoring, added persisted flag for meta info 2023-04-16 21:31:25 +02:00
Matthias Koefferlein dc689e52d1 Added a method 'widget' to LayoutView to deliver the QWidget object for the view 2023-04-13 22:50:58 +02:00
Matthias Koefferlein 90b59ca14d Bugfix - properly removing plugins when they are unregistered (unlikely) 2023-02-23 17:07:22 +01:00
Matthias Koefferlein 432b542f3c Merge branch 'master' into wip 2023-02-19 20:30:49 +01:00
Matthias Koefferlein 79868c40cd Some enhancements for image editing (e.g. selection remains after moving handles) 2023-02-19 19:54:40 +01:00
Matthias Koefferlein df562f502a Avoid a segfault while editing a ruler. This happens is both a selection and a transient selection is active. 2023-02-19 19:00:02 +01:00
Matthias Koefferlein 8038acc236 Updated test data 2023-02-18 09:50:34 +01:00
Matthias Koefferlein f6edc9c802 Implemented solution for issue #1249 (persist layer properties in session) 2023-02-17 23:41:36 +01:00
Matthias Koefferlein 12693ed212 More steps to fully (hopefully) fix issue #1259 - basically it is important to issue enough active_view_changed and active_technology_change events 2023-01-26 20:31:43 +01:00
Matthias Koefferlein cfd21d98bf Merge branch 'issue-1259' 2023-01-26 12:52:23 +01:00
Matthias Köfferlein ab8cfee1ea
Merge pull request #1258 from KLayout/wip
Wip
2023-01-24 21:48:27 +01:00
Matthias Koefferlein 7600eac8a0 Fixed issue-1259 2023-01-24 21:14:36 +01:00
Matthias Koefferlein bc63a1cd40 Fixed isse #1253 2023-01-24 00:42:31 +01:00
Matthias Koefferlein 017ca1707b Small bugfix: 'clone panel' did not copy custom line styles 2023-01-13 22:01:18 +01:00
Matthias Koefferlein 33af2b8fcc Avoid a segfault after explicitly destroying a custom plugin factory object 2023-01-12 21:03:24 +01:00
Matthias Koefferlein 12e34f9282 Fixed issue #1247. Problem was missing cache clean on assignment of stipple pattern and line styles 2023-01-12 00:11:36 +01:00
Matthias Koefferlein ef6f3f182a Fixed issue #1242 (KLayout 0.28.2 crashes when registering a plugin if a layout exists)
Problem was twofold: first, events are triggered during
construction of the plugin which met an uninitialized
pointer. Second, the clearing of existing plugins failed
because of iterating a vector while destroying it's members
erased member of it.
2023-01-04 21:17:12 +01:00