cad-editor/src/ui
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
..
popup feat(ui): anchor every ribbon dropdown and status-bar popup to its widget, flipping at window edges 2026-07-05 18:51:54 +03:00
ribbon feat(ui): ribbon collapse-mode selector + start-page recent controls 2026-07-06 01:06:01 +03:00
statusbar feat(ui): ribbon collapse-mode selector + start-page recent controls 2026-07-06 01:06:01 +03:00
style fix(textstyle): live-update style manager preview (#102) 2026-06-29 17:29:04 +03:00
window feat(plot): page setup manager — named setups, layouts, <none>/<previous> 2026-07-09 12:25:46 +03:00
color_select.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
command_line.rs feat(command): clickable option buttons in the command line (#304) 2026-07-08 00:16:59 +03:00
icons.rs feat(ui): ribbon collapse-mode selector + start-page recent controls 2026-07-06 01:06:01 +03:00
mod.rs feat(ui): flex-wrap the ribbon top bar and status bar when narrow 2026-07-05 16:17:44 +03:00
modal.rs fix(web): render UI icons as SVG instead of font glyphs 2026-06-18 12:29:32 +03:00
overlay.rs feat(hatch): editable pattern props + origin grip 2026-07-08 22:48:33 +03:00
properties.rs feat(hatch): editable gradient colors + background color 2026-07-08 23:35:27 +03:00
side_toolbar.rs feat(ui): right-edge side toolbar; drop the paper-space ribbon tab 2026-06-12 02:07:26 +03:00
text_util.rs feat(ui): elide overflowing text, tooltip full layer name 2026-06-09 19:04:18 +03:00
wrap_bar.rs feat(ribbon): tighten + squeeze collapsed panels, content-driven height 2026-07-05 23:58:18 +03:00