cad-editor/src/ui/window
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven a1ee4d9269 feat(plot): page setup manager — named setups, layouts, <none>/<previous>
Restructure the plot dialog into a style-manager-style master/detail: a
left list of page setups plus a right settings editor. The list shows
<none> (defaults + PDF) and <previous> (the settings the dialog opened
with), then the drawing's layouts (*Model*, *Layout1*, …) and its
standalone named page setups.

- Named page setups live in the ACAD_PLOTSETTINGS dictionary
  (src/scene/page_setup.rs: names/get/save/delete/rename, creating the
  dictionary if absent); DWG round-trip verified.
- Toolbar New / Copy / Delete | Set current / Preview / Print. Selecting
  a row loads it into the editor; Set current writes to the active
  layout. Copy duplicates a layout or a setup into a new named setup;
  Delete/Rename apply only to named setups.
- Scene::plot_settings_for(name) generalizes effective_plot_settings so
  any layout's settings can be loaded; on open the settings are
  snapshotted for <previous>.
- Default selection: model space → <none>; a layout → its own setup.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-09 12:25:46 +03:00
..
about.rs refactor: group ui/ statusbar and window subdirs 2026-06-26 23:52:26 +03:00
attribute_editor.rs feat(attedit): enhanced attribute editor with 3 tabs 2026-07-01 09:06:03 +03:00
layers.rs feat(layers): alphabetical default order + scroll to a new layer 2026-07-04 22:28:07 +03:00
layout_manager.rs refactor: group ui/ statusbar and window subdirs 2026-06-26 23:52:26 +03:00
mod.rs feat(plot): unified plot/print dialog, retire Page Setup 2026-07-09 10:27:54 +03:00
open_progress.rs refactor: group ui/ statusbar and window subdirs 2026-06-26 23:52:26 +03:00
plot.rs feat(plot): page setup manager — named setups, layouts, <none>/<previous> 2026-07-09 12:25:46 +03:00
plugin_manager.rs refactor: group ui/ statusbar and window subdirs 2026-06-26 23:52:26 +03:00
shortcuts.rs fix(shortcuts): honor Cmd as the accelerator modifier on macOS (#202) (#206) 2026-06-27 19:33:08 +03:00
update_notice.rs refactor: group ui/ statusbar and window subdirs 2026-06-26 23:52:26 +03:00