forked from 1b-agent/opencadstudio-upstream
Merge pull request #1806 from ramox81/codex/block-attribute-manager-window
Block Attribute Manager window (BATTMAN / ATTMAN)
This commit is contained in:
commit
7de32c91c2
36 files changed
+2089
-8
No files matched your search
@@ -52,6 +52,7 @@ impl OpenCADStudio {
|
||||
Some(K::GeometricTolerance) => crate::t!("Geometric Tolerance").into_owned(),
|
||||
Some(K::AttDef) => crate::t!("Attribute Definition").into_owned(),
|
||||
Some(K::AttDefEdit) => crate::t!("Edit Attribute Definition").into_owned(),
|
||||
Some(K::AttMan) => crate::t!("Block Attribute Manager").into_owned(),
|
||||
Some(K::CountInvalidArea) => crate::t!("Count - Invalid Area").into_owned(),
|
||||
Some(K::Field) => crate::t!("Field").into_owned(),
|
||||
Some(K::DraftingSettings) => crate::t!("Drafting Settings").into_owned(),
|
||||
@@ -630,6 +631,12 @@ impl OpenCADStudio {
|
||||
super::super::ModalKind::CountInvalidArea => sized_flow(ex, 520, 260, |flow| {
|
||||
crate::ui::window::count_palette::invalid_area_view(&self.count_palette, flow)
|
||||
}),
|
||||
super::super::ModalKind::AttMan => {
|
||||
let state = self.attman.as_ref()?;
|
||||
sized_flow(ex, 880, 660, |flow| {
|
||||
crate::ui::window::attman_dialog::view(state, flow)
|
||||
})
|
||||
}
|
||||
super::super::ModalKind::AttDefEdit => {
|
||||
let state = self.attdef_edit.as_ref()?;
|
||||
sized_flow(ex, 460, 220, |flow| {
|
||||
|
||||
Reference in new issue
Block a user