lib:dialog{label="圖庫管理";
spacer;
:row{
:column{
:list_box{label="圖庫類別";height=21;width=15;key="ls";}
:button{label="增加類別"; key="add_ls";}
:button{label="刪除類別"; key="del_ls";}
:text{label="";key="t1";alignment=centered;}
:row{
spacer;
:toggle{label=" 炸  開";key="expl";value="1";}
spacer;
}
}
:column{
:row{
:image_button{height=8;width=25;color=0;key="icon1";}
:image_button{height=8;width=25;color=0;key="icon2";}
:image_button{height=8;width=25;color=0;key="icon3";}
:image_button{height=8;width=25;color=0;key="icon4";}
}
:row{
:image_button{height=8;width=25;color=0;key="icon5";}
:image_button{height=8;width=25;color=0;key="icon6";}
:image_button{height=8;width=25;color=0;key="icon7";}
:image_button{height=8;width=25;color=0;key="icon8";}
}
:row{
:image_button{height=8;width=25;color=0;key="icon9";}
:image_button{height=8;width=25;color=0;key="icon10";}
:image_button{height=8;width=25;color=0;key="icon11";}
:image_button{height=8;width=25;color=0;key="icon12";}
}
:row{
:image_button{height=8;width=25;color=0;key="icon13";}
:image_button{height=8;width=25;color=0;key="icon14";}
:image_button{height=8;width=25;color=0;key="icon15";}
:image_button{height=8;width=25;color=0;key="icon16";}
}
}
}
//spacer;
:text{label="";key="t2";alignment=centered;}
:row{
spacer;
:button{label="  插  入  "; key="accept";is_default=true;fixed_width=true;}
:button{label="  變  更  "; key="ch";fixed_width=true;}
:button{label="追加備注"; key="bz";fixed_width=true;}
:button{label="  放  大  "; key="zom";fixed_width=true;}
:button{label="  刪  除  "; key="rem";fixed_width=true;}
:button{label="  上一頁  "; key="prev";fixed_width=true;}
:button{label="  下一頁  "; key="next";fixed_width=true;}
:button{label="  退  出  ";is_cancel=true; key="cancel";fixed_width=true;}
spacer;
}
spacer;
}


zoom:dialog{label="幻燈片放大";
:image_button{color=0;key="lib_zoom";width=120;height=38;fixed_height=true;fixed_width=true;}
ok_only;
}


addlib:dialog{label="增加類別";
spacer;
:edit_box{label="圖庫類別:"; width= 28 ; key="addlib";}
spacer;
ok_only;
spacer;
}


addremark:dialog{label="追加備注";
spacer;
:edit_box{label="備注信息:"; width= 40 ; key="rmk";}
spacer;
ok_only;
spacer;
}



size:dialog{
  label="定料尺寸";
  spacer;

:boxed_column{
label ="二個視圖自動确定尺寸";
:row{
: button{
label ="選取視圖1圖元";
height = 2;
key ="cl1";
}
: button{
label ="選取視圖2圖元";
height = 2;
key ="cl2";
}
}
:row{
: text{
key ="txt1";
label ="沒有選取視圖1圖元";
}
: text{
key ="txt2";
label ="沒有選取視圖2圖元";
}
}
}


  : column{
     : boxed_column{
       label ="外形尺寸";
       :row{
         :edit_box{label =" 長 度:";key ="len";}
         :button {label ="測量";key="m1";}
       }
       :row{
         :edit_box{label =" 寬 度:";key ="wid";}
         :button {label ="測量";key="m2";}
       }
       :row{
         :edit_box{label =" 高 度:";key ="hi";}
         :button {label ="測量";key="m3";}
       }
     }
     spacer;
     : boxed_row {
          label ="外形尺寸";
          :toggle{key="op";label="  自定義輸入:";}
          :edit_box {key="spec";edit_width=24;}
     }
     spacer;
  }
        : row {
          : button {
            label="  替  換  ";
            key="instead";
          }
          spacer;
          : button {
            label="  确  定  ";
            is_default=true;
            key="accept";
          }
          spacer;
          : button {
            label="  取  消  ";
            is_cancel=true;
            key="cancel";
          }
        }
        spacer;
}



mlst:dialog{
  label="零件小標題";
  : column{
     spacer;
     : row {
           :edit_box {label="零件名稱:";key="name";edit_width=17;}
           :popup_list{key="pna";edit_width=15;}
     }
     : row {
          :edit_box {key="size";label="定料尺寸:";edit_width=17;}
          :button {label="自動測量尺寸";key="mes";fixed_width=true;}
     }
     : row {
           :edit_box {label="使用材質:";key="mat";edit_width=17;}
           :popup_list{key="pmt";edit_width=15;}
     }
     :edit_box{label ="零件數量:";key ="shu";edit_width=35;}
     :edit_box{label ="零件編號:";key ="dh";edit_width=35;}
       spacer;
  }
        : row {
          : button {
            label="編輯資料檔";
            key="edit";
          }
          spacer;
          : button {
            label=" 确 定 ";
            is_default=true;
            key="accept";
          }
          spacer;
          : button {
            label=" 取 消 ";
            is_cancel=true;
            key="cancel";
          }
        }
}



bom:dialog{
  label="零件小標題";
  : column{
     spacer;
     : row {
           :edit_box {label="零件名稱:";key="name";edit_width=17;}
           //spacer;
           :popup_list{key="pna";edit_width=15;}
     }
     : row {
          :edit_box {key="size";label="定料尺寸:";edit_width=17;}
           //spacer;
          :button {label="自動測量尺寸";key="mes";fixed_width=true;}
     }
     : row {
           :edit_box {label="使用材質:";key="mat";edit_width=17;}
           //spacer;
           :popup_list{key="pmt";edit_width=15;}
     }
     :edit_box{label ="零件數量:";key ="shu";edit_width=35;}
     :edit_box{label ="備注信息:";key ="dh";edit_width=35;}
       spacer;
  }
        : row {
          : button {
            label="編輯資料檔";
            key="edit";
          }
          spacer;
          : button {
            label=" 确 定 ";
            is_default=true;
            key="accept";
          }
          spacer;
          : button {
            label=" 取 消 ";
            is_cancel=true;
            key="cancel";
          }
        }
}




dist:dialog {
         label="選擇應用尺寸";
         :image{width=26;height=10;color=-2;key="img";}
         :boxed_column{
           : radio_button{label ="兩點間直線距离";key ="dis";value ="1";}
           : radio_button{label ="X 方 向 尺 寸";key ="xd";}
           : radio_button{label ="Y 方 向 尺 寸";key ="yd";}
         }
	spacer;
	ok_cancel;
	spacer_1;
}


cz:dialog {
         label="入子側視圖";
         :image{width=22;height=9;color=-2;key="img";allow_accept=true;}
	spacer;
         :column{
           :popup_list {label="視圖位置:";key="type";value="3";list="左\n右\n上\n下";fixed_width=true;}
           :edit_box {label="零件高度:";key="hi";}
         }
	spacer;
	ok_cancel;
	spacer_1;
}



rh :dialog{
label="連續命名";
:boxed_column{
:row{
:edit_box{
label ="文字:";
key ="edit1";
value = "A";
edit_width = 10 ;
}
:popup_list{
key = "list1";
list = "Mi\nFi\nS\nL\nE\nM\nF\nIN\nOUT";
width = 13 ;
}
}
:row{
:edit_box{
label ="起始:";
key ="edit2";
value = "1";
edit_width = 10 ;
}
:popup_list{
key ="list2";
list = "1\n2\n3\n4\n5\n6\n7\n8\n9\n10";
width = 13 ;
}
}
:row{
:edit_box{
label ="遞加:";
key ="edit3";
value = "1";
edit_width = 10 ;
}
:popup_list{
key ="list3";
list = "1\n2\n3\n4\n5\n6\n7\n8\n9\n10";
width = 13 ;
}
}
}
spacer;
ok_cancel;

}




cicu:dialog {
	label = "詞庫";
	:row {
		:text{width=40;key="filetxt";}
		:button {label ="編輯";key="kedit";}
	}
	:row {
		:list_box { label="類別"; width=10;height=16;key="lista";}
		:list_box { label="詞語"; width=20;height=16;key="listb";}
	}
	:row {
	  :boxed_row{
	   label="插入方式";
           : radio_button{label ="引線";key ="leader";}
           : radio_button{label ="正常";key ="nor";value ="1";}
           : radio_button{label ="修改";key ="mdf";}
          }
          :boxed_row{
	   label="修改方式";
           : radio_button{label ="替換";key ="in";value ="1";}
           : radio_button{label ="前面";key ="fr";}
           : radio_button{label ="后面";key ="ba";}
          }
        }
	spacer;
        :row{
	  :edit_box{label="輸出詞語";edit_width=40;key="newtxt";fixed_width=true;alignment=centered;}   
        }
	spacer;
	ok_cancel;
	spacer;
}


cau:dialog {
	label = "塑模設計注意事項";
	spacer;
	:boxed_column{
	  spacer;
	  :text_part {key="txt";width=50;height=8;}
	}
	spacer;
	:row{
	  spacer;spacer;spacer;spacer;
	  : button {label="  下一條  ";fixed_width=true;key="next";}
	  : button {label="   取  消   ";fixed_width=true;is_cancel=true;key="cancel";}
          spacer;
        }
	spacer_1;
}


cmn:dialog {
     label = "命令參考";
     :list_box {width=45;height=20;key="list";}
     ok_only;
}


fac_color:dialog {
     label = "比例与顏色代碼";
     :list_box {width=35;height=14;key="list";}
     ok_only;

}



cd:dialog {
	 label = "表面粗糙度標注";
	spacer;
         :boxed_column{
	   label="符號類型";
           : radio_button{label ="任 意";key ="ty2";}
           : radio_button{label ="不去除材料";key ="ty1";}
           : radio_button{label ="去除材料";key ="ty3";}
         }
	spacer;
        :edit_box{label="粗糙度值:";key="val";width=28;}
        :edit_box{label="文字高度:";key="th";width=28;}
	spacer;
	ok_cancel;
	spacer_1;
}


at:dialog{
      spacer;
      label="尺寸加公差";
      :row{
         : boxed_column{
            label ="規 格";
            : list_box{key ="list";width = 17;height=15;}
         }
         : column{
           : boxed_column{
             label ="公 差";
             spacer;
             :edit_box{label ="上限: +";key ="u";edit_width=5;}
             spacer;
             :edit_box{label ="下限: -";key ="d";edit_width=5;}
           }

           spacer;
           :button{label=" 确    定 ";key="accept";is_default=true;fixed_width=true;alignment=centered;}
           spacer;
           :button{label=" 取    消 ";key="cancel";is_cancel=true;fixed_width=true;alignment=centered;}
           spacer;
           :button {label ="自 定 義";key="edit";fixed_width=true;alignment=centered;}
           spacer;
        }
      }
}


ada:dialog {
	label = "自動標注尺寸";
	spacer;
        :boxed_row{
	  label="標注對象";
          :toggle{key="ob1";label="坐標尺寸";}
          :toggle{key="ob2";label="圓直徑";}
          :toggle{key="ob3";label="圓弧半徑";}
          :toggle{key="ob4";label="直線角度";}
        }
        :row{
         :boxed_column{
          :toggle{key="chk1";label="不標短于以下線                ";}
          :row{
            :edit_box{label="線長:";key="txt1";}
            :button{label ="測量";key="sel1";fixed_width=true;}
          }
         }
         :boxed_column{
          :toggle{key="chk2";label="該層只標注中心線和圓      ";}
          :row{
            :edit_box{label="圖層:";key="txt2";}
          }
         }
        }
        :row{
         :boxed_column{
          :toggle{key="chk3";label="不標此顏色";}
          :row{
            :edit_box{label="顏色:";key="txt3";}
            :button{label ="選取";key="sel2";fixed_width=true;}
          }
         }
         :boxed_column{
          :toggle{key="chk4";label="不標此線型";}
          :row{
            :edit_box{label="線型:";key="txt4";}
            :button{label ="選取";key="sel3";fixed_width=true;}
          }
         }
        }
        spacer;
        :row{
         :boxed_row{
	   label="相同坐標值標注點位置";
           :radio_button{label ="標外側點";key ="wc";}
           :radio_button{label ="標內側點";key ="nc";}
         }
         :boxed_row{
	   label="相同坐標值的重复數量";
           :radio_button{label ="少量重复";key ="cf";}
           :radio_button{label ="沒有重复";key ="ncf";}
         }
        }
        :boxed_column{
          :edit_box{label="標注字高:";key="txth";width=45;}
        }
        spacer;
        :toggle{key="delold";label="刪除舊的尺寸標注";}
        spacer;
        :row{
           spacer;
           :button{label=" 确  定 ";key="accept";height=2;is_default=true;fixed_width=true;}
           spacer;
           :button{label=" 取  消 ";key="cancel";height=2;is_cancel=true;fixed_width=true;}
           spacer;
           :button{label=" 幫  助 ";key="help";height=2;fixed_width=true;}
           spacer;
        }
}
