setting.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Window>
  3. <Setting name="setting_page" bkcolor="#FFEFF6EE">
  4. <HorizontalLayout>
  5. <HorizontalLayout width="250" padding="20,20,20,0">
  6. <VerticalLayout height="440" bkcolor="#FFFFFFFF" childpadding="15" inset="20,20,20,0">
  7. <Option name="setting_waimai_order_switch" selected="true" text="外卖接单设置" group="setting_switch" align="center" height="38" normalimage="file='Btn_White.png' corner='5,5,5,5'" selectedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" hottextcolor="#CC1010" selectedtextcolor="#FFFFFFFF" />
  8. <Option name="setting_printer_switch" text="小票打印设置" group="setting_switch" align="center" height="38" normalimage="file='Btn_White.png' corner='5,5,5,5'" selectedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" hottextcolor="#CC1010" selectedtextcolor="#FFFFFFFF" />
  9. <Option name="setting_biaoqian_printer_switch" text="标签打印设置" group="setting_switch" align="center" height="38" normalimage="file='Btn_White.png' corner='5,5,5,5'" selectedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" hottextcolor="#CC1010" selectedtextcolor="#FFFFFFFF" />
  10. <Option name="setting_chufang_printer_switch" text="厨房打印设置" group="setting_switch" align="center" height="38" normalimage="file='Btn_White.png' corner='5,5,5,5'" selectedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" hottextcolor="#CC1010" selectedtextcolor="#FFFFFFFF" />
  11. <Option name="setting_system_switch" text="系统设置" group="setting_switch" align="center" height="38" normalimage="file='Btn_White.png' corner='5,5,5,5'" selectedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" hottextcolor="#CC1010" selectedtextcolor="#FFFFFFFF" />
  12. <Option name="setting_system_about" text="关于" group="setting_switch" align="center" height="38" normalimage="file='Btn_White.png' corner='5,5,5,5'" selectedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" hottextcolor="#CC1010" selectedtextcolor="#FFFFFFFF" />
  13. <Button name="setting_logout" padding="0,50,0,0" width="300" height="38" text="退出登陆" textcolor="#FFFFFFFF" normalimage="file='Btn_Red.png' corner='5,5,5,5'" hotimage="file='Btn_Red_Hover.png' corner='5,5,5,5'" pushedimage="file='Btn_Green_Click.png' corner='5,5,5,5'" />
  14. </VerticalLayout>
  15. </HorizontalLayout>
  16. <TabLayout name="setting_switch">
  17. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  18. <HorizontalLayout height="44">
  19. <Label text="新订单语音通知" width="260" />
  20. <CheckBox name="setting_is_new_waimai_voice" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  21. </HorizontalLayout>
  22. <HorizontalLayout height="44">
  23. <Label text="新订单自动接单" width="260"/>
  24. <CheckBox name="setting_is_new_waimai_autoconfirm" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  25. </HorizontalLayout>
  26. <HorizontalLayout height="44" visible="false">
  27. <Label text="新订单右下角弹框提醒" width="260"/>
  28. <CheckBox name="setting_is_new_waimai_dialog" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  29. </HorizontalLayout>
  30. </VerticalLayout>
  31. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15" vscrollbar="true">
  32. <HorizontalLayout height="44">
  33. <Label text="新订单自动打印" width="260" />
  34. <CheckBox name="setting_is_new_waimai_printer" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  35. </HorizontalLayout>
  36. <HorizontalLayout height="44">
  37. <Label text="打印机规格" width="260"/>
  38. <Combo name="setting_printer_guige" padding="0,9,0,0" width="140" height="26" tooltip="请点击这里选择您的打印机纸张宽度规格" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  39. <ListLabelElement text="58mm" selected="true" />
  40. <ListLabelElement text="80mm" />
  41. </Combo>
  42. </HorizontalLayout>
  43. <HorizontalLayout height="44">
  44. <Label text="打印联数" width="260"/>
  45. <Combo name="setting_printer_lianshu" padding="0,9,0,0" width="140" height="26" tooltip="请点击这里选择您的打印机打印小票联数" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  46. <ListLabelElement text="1联" selected="true" />
  47. <ListLabelElement text="2联" />
  48. <ListLabelElement text="3联" />
  49. <ListLabelElement text="4联" />
  50. </Combo>
  51. </HorizontalLayout>
  52. <HorizontalLayout height="44">
  53. <Label text="打印机接口类型" width="260"/>
  54. <Combo name="setting_printer_leixing" padding="0,9,0,0" width="140" height="26" tooltip="请点击这里选择您的打印机接口类型" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  55. <ListLabelElement text="智能识别模式" selected="true" />
  56. <ListLabelElement text="usb" />
  57. <ListLabelElement text="并口" />
  58. <ListLabelElement text="串口" />
  59. <ListLabelElement text="网口" />
  60. </Combo>
  61. </HorizontalLayout>
  62. <HorizontalLayout height="44" name="setting_printer_usb_layout">
  63. <Label text="usb打印机端口选择" width="260"/>
  64. <Combo name="setting_printer_usb" padding="0,9,0,0" width="800" height="26" tooltip="请点击这里选择您的打印机端口" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  65. </Combo>
  66. </HorizontalLayout>
  67. <HorizontalLayout height="56" name="setting_printer_wangkou_layout">
  68. <Label text="网口IP地址" width="260"/>
  69. <Edit name="setting_printer_wangkou_ip" width="200" height="32" padding="0,12,0,12" normalimage="file='Chat_InputBox_BG.png' corner='4,4,4,4'" hotimage="file='Chat_InputBox_BG_Hover.png' corner='4,4,4,4'" />
  70. <Button name="setting_printer_wangkouk_save_btn" align="center" width="100" height="38" padding="20,8,0,3" text="保存" normalimage="file='Btn_White.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" pushedimage="file='Btn_White_Click.png' corner='5,5,5,5'" />
  71. </HorizontalLayout>
  72. <HorizontalLayout height="44" padding="0,20,0,0">
  73. <Label text="小票格式设置" width="260" />
  74. </HorizontalLayout>
  75. <Control height="1" bkcolor="#FF708090" />
  76. <HorizontalLayout height="44" visible="false">
  77. <Label text="取货方式大号字体" width="260" />
  78. <CheckBox name="setting_printer_quhuo_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  79. </HorizontalLayout>
  80. <HorizontalLayout height="44">
  81. <Label text="订单号大号字体" width="260" />
  82. <CheckBox name="setting_printer_dingdanhao_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  83. </HorizontalLayout>
  84. <HorizontalLayout height="44">
  85. <Label text="下单时间大号字体" width="260" />
  86. <CheckBox name="setting_printer_xiadanshijian_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  87. </HorizontalLayout>
  88. <HorizontalLayout height="44" visible="false">
  89. <Label text="配送(自取)时间大号字体" width="260" />
  90. <CheckBox name="setting_printer_peisongshijian_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  91. </HorizontalLayout>
  92. <HorizontalLayout height="44">
  93. <Label text="姓名大号字体" width="260" />
  94. <CheckBox name="setting_printer_name_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  95. </HorizontalLayout>
  96. <HorizontalLayout height="44">
  97. <Label text="电话大号字体" width="260" />
  98. <CheckBox name="setting_printer_phone_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  99. </HorizontalLayout>
  100. <HorizontalLayout height="44">
  101. <Label text="地址大号字体" width="260" />
  102. <CheckBox name="setting_printer_address_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  103. </HorizontalLayout>
  104. <HorizontalLayout height="44">
  105. <Label text="商品大号字体" width="260" />
  106. <CheckBox name="setting_printer_shangpin_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  107. </HorizontalLayout>
  108. <HorizontalLayout height="44">
  109. <Label text="备注大号字体" width="260" />
  110. <CheckBox name="setting_printer_memo_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  111. </HorizontalLayout>
  112. <HorizontalLayout height="44">
  113. <Label text="价格大号字体" width="260" />
  114. <CheckBox name="setting_printer_price_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  115. </HorizontalLayout>
  116. <HorizontalLayout height="44">
  117. <Label text="付款方式大号字体" width="260" />
  118. <CheckBox name="setting_printer_pay_big" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  119. </HorizontalLayout>
  120. </VerticalLayout>
  121. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15" vscrollbar="true">
  122. <HorizontalLayout height="44">
  123. <Label text="新订单自动打印标签纸" width="260" />
  124. <CheckBox name="setting_is_new_waimai_biaoqian_printer" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  125. </HorizontalLayout>
  126. <HorizontalLayout height="44">
  127. <Label text="标签打印机接口类型" width="260"/>
  128. <Combo name="setting_biaoqian_printer_leixing" padding="0,9,0,0" width="140" height="26" tooltip="请点击这里选择您的标签打印机接口类型" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  129. <ListLabelElement text="usb" selected="true"/>
  130. <ListLabelElement text="网口" />
  131. </Combo>
  132. </HorizontalLayout>
  133. <HorizontalLayout height="44" name="setting_biaoqian_printer_usb_layout">
  134. <Label text="标签打印机usb端口选择" width="260"/>
  135. <Combo name="setting_biaoqian_printer_usb" padding="0,9,0,0" width="800" height="26" tooltip="请点击这里选择您的标签打印机usb端口" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  136. </Combo>
  137. </HorizontalLayout>
  138. <HorizontalLayout height="56" name="setting_biaoqian_printer_wangkou_layout">
  139. <Label text="网口IP地址" width="260"/>
  140. <Edit name="setting_biaoqian_printer_wangkou_ip" width="200" height="32" padding="0,12,0,12" normalimage="file='Chat_InputBox_BG.png' corner='4,4,4,4'" hotimage="file='Chat_InputBox_BG_Hover.png' corner='4,4,4,4'" />
  141. <Button name="setting_biaoqian_printer_wangkouk_save_btn" align="center" width="100" height="38" padding="20,8,0,3" text="保存" normalimage="file='Btn_White.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" pushedimage="file='Btn_White_Click.png' corner='5,5,5,5'" />
  142. </HorizontalLayout>
  143. <HorizontalLayout height="44">
  144. <Label text="标签纸尺寸规格" width="260"/>
  145. <Combo name="setting_biaoqian_printer_guige" padding="0,9,0,0" width="140" height="26" tooltip="请点击这里选择您的标签纸尺寸规格" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  146. <ListLabelElement text="40*30mm" selected="true" />
  147. <ListLabelElement text="35*25mm" />
  148. <ListLabelElement text="30*25mm" />
  149. <ListLabelElement text="30*20mm" />
  150. <ListLabelElement text="60*50mm" />
  151. <ListLabelElement text="50*40mm" />
  152. <ListLabelElement text="40*60mm" />
  153. </Combo>
  154. </HorizontalLayout>
  155. <HorizontalLayout height="44">
  156. <Label text="出纸方向" width="260"/>
  157. <Combo name="setting_biaoqian_printer_fangxiang" padding="0,9,0,0" width="140" height="26" tooltip="请点击这里选择您的标签纸出纸方向" normalimage="file='Setting_Combox_Normal.png' corner='2,2,24,2'" hotimage="file='Setting_Combox_Hover.png' corner='2,2,24,2'" pushedimage="Setting_Combox_Click.png' corner='2,2,24,2'" textpadding="10,1,1,1" >
  158. <ListLabelElement text="正方向" selected="true" />
  159. <ListLabelElement text="反方向" />
  160. </Combo>
  161. </HorizontalLayout>
  162. <Control height="1" bkcolor="#FFEAEAEA" padding="0,20,0,0"></Control>
  163. <HorizontalLayout height="44">
  164. <Label text="指定商品分类打印标签" width="260" />
  165. <CheckBox name="setting_biaoqian_printer_is_type" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  166. </HorizontalLayout>
  167. <HorizontalLayout height="500">
  168. <Label text="当前绑定分类:" width="260" height="44"/>
  169. <VerticalLayout name="setting_biaoqian_printer_type_layout" padding="0,15,0,0">
  170. </VerticalLayout>
  171. </HorizontalLayout>
  172. </VerticalLayout>
  173. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  174. <HorizontalLayout height="44">
  175. <Label text="新订单自动厨房打印" width="260" />
  176. <CheckBox name="setting_is_new_waimai_chufang_printer" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  177. </HorizontalLayout>
  178. <HorizontalLayout height="44" padding="0,30,0,20">
  179. <Button name="setting_new_chufang_printer_btn" align="center" width="200" height="38" padding="0,3,0,3" text="新建厨房打印机" normalimage="file='Btn_White.png' corner='5,5,5,5'" hotimage="file='Btn_White_Hover.png' corner='5,5,5,5'" pushedimage="file='Btn_White_Click.png' corner='5,5,5,5'" />
  180. </HorizontalLayout>
  181. <List name="setting_chufang_printer_list" bordersize="1" bordercolor="#FF000000" itemlinecolor="#FF000000" vscrollbar="true" hscrollbar="true">
  182. <ListHeader />
  183. <ListHeaderItem text="打印机名称" width="180" align="center" />
  184. <ListHeaderItem text="IP地址" width="150" align="center" />
  185. <ListHeaderItem text="打印机规格" width="150" align="center" />
  186. <ListHeaderItem text="商品分单打印" width="150" align="center" />
  187. <ListHeaderItem text="按商品分类打印" width="150" align="center" />
  188. <ListHeaderItem text="关联商品分类" width="300" align="center" />
  189. <ListHeaderItem text="操作" width="200" align="center"/>
  190. </List>
  191. </VerticalLayout>
  192. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  193. <HorizontalLayout height="44">
  194. <Label text="开机自动启动" width="260" />
  195. <CheckBox name="setting_is_auto_start" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  196. </HorizontalLayout>
  197. <HorizontalLayout height="44">
  198. <Label text="启动时自动登录" width="260" />
  199. <CheckBox name="setting_is_auto_login" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  200. </HorizontalLayout>
  201. <HorizontalLayout height="44">
  202. <Label text="点击关闭时,最小化到系统托盘" width="260" />
  203. <CheckBox name="setting_is_close_min" width="72" height="45" normalimage="file='switchbutton.png' source='0,0,143,91'" selectedimage="file='switchbutton.png' source='0,182,143,273'"/>
  204. </HorizontalLayout>
  205. </VerticalLayout>
  206. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  207. <Control height="300" />
  208. <Label text="乐外卖接单软件" align="center">
  209. </Label>
  210. <Label name="setting_version" text="版本号:1.0.0.1" align="center">
  211. </Label>
  212. </VerticalLayout>
  213. </TabLayout>
  214. </HorizontalLayout>
  215. </Setting>
  216. </Window>