setting.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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="400" 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_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" />
  10. <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" />
  11. <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" />
  12. <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'" />
  13. </VerticalLayout>
  14. </HorizontalLayout>
  15. <TabLayout name="setting_switch">
  16. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  17. <HorizontalLayout height="44">
  18. <Label text="新订单语音通知" width="260" />
  19. <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'"/>
  20. </HorizontalLayout>
  21. <HorizontalLayout height="44">
  22. <Label text="新订单自动接单" width="260"/>
  23. <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'"/>
  24. </HorizontalLayout>
  25. <HorizontalLayout height="44" visible="false">
  26. <Label text="新订单右下角弹框提醒" width="260"/>
  27. <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'"/>
  28. </HorizontalLayout>
  29. </VerticalLayout>
  30. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15" vscrollbar="true">
  31. <HorizontalLayout height="44">
  32. <Label text="新订单自动打印" width="260" />
  33. <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'"/>
  34. </HorizontalLayout>
  35. <HorizontalLayout height="44">
  36. <Label text="打印机规格" width="260"/>
  37. <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" >
  38. <ListLabelElement text="58mm" selected="true" />
  39. <ListLabelElement text="80mm" />
  40. </Combo>
  41. </HorizontalLayout>
  42. <HorizontalLayout height="44">
  43. <Label text="打印联数" width="260"/>
  44. <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" >
  45. <ListLabelElement text="1联" selected="true" />
  46. <ListLabelElement text="2联" />
  47. <ListLabelElement text="3联" />
  48. <ListLabelElement text="4联" />
  49. </Combo>
  50. </HorizontalLayout>
  51. <HorizontalLayout height="44">
  52. <Label text="打印机接口类型" width="260"/>
  53. <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" >
  54. <ListLabelElement text="智能识别模式" selected="true" />
  55. <ListLabelElement text="usb" />
  56. <ListLabelElement text="并口" />
  57. <ListLabelElement text="串口" />
  58. <ListLabelElement text="网口" />
  59. </Combo>
  60. </HorizontalLayout>
  61. <HorizontalLayout height="44" name="setting_printer_usb_layout">
  62. <Label text="usb打印设备选择" width="260"/>
  63. <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" >
  64. </Combo>
  65. </HorizontalLayout>
  66. <HorizontalLayout height="56" name="setting_printer_wangkou_layout">
  67. <Label text="网口IP地址" width="260"/>
  68. <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'" />
  69. <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'" />
  70. </HorizontalLayout>
  71. <HorizontalLayout height="44" padding="0,20,0,0">
  72. <Label text="小票格式设置" width="260" />
  73. </HorizontalLayout>
  74. <Control height="1" bkcolor="#FF708090" />
  75. <HorizontalLayout height="44">
  76. <Label text="取货方式大号字体" width="260" />
  77. <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'"/>
  78. </HorizontalLayout>
  79. <HorizontalLayout height="44">
  80. <Label text="订单号大号字体" width="260" />
  81. <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'"/>
  82. </HorizontalLayout>
  83. <HorizontalLayout height="44">
  84. <Label text="下单时间大号字体" width="260" />
  85. <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'"/>
  86. </HorizontalLayout>
  87. <HorizontalLayout height="44">
  88. <Label text="配送(自取)时间大号字体" width="260" />
  89. <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'"/>
  90. </HorizontalLayout>
  91. <HorizontalLayout height="44">
  92. <Label text="姓名大号字体" width="260" />
  93. <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'"/>
  94. </HorizontalLayout>
  95. <HorizontalLayout height="44">
  96. <Label text="电话大号字体" width="260" />
  97. <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'"/>
  98. </HorizontalLayout>
  99. <HorizontalLayout height="44">
  100. <Label text="地址大号字体" width="260" />
  101. <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'"/>
  102. </HorizontalLayout>
  103. <HorizontalLayout height="44">
  104. <Label text="商品大号字体" width="260" />
  105. <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'"/>
  106. </HorizontalLayout>
  107. <HorizontalLayout height="44">
  108. <Label text="备注大号字体" width="260" />
  109. <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'"/>
  110. </HorizontalLayout>
  111. <HorizontalLayout height="44">
  112. <Label text="价格大号字体" width="260" />
  113. <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'"/>
  114. </HorizontalLayout>
  115. <HorizontalLayout height="44">
  116. <Label text="付款方式大号字体" width="260" />
  117. <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'"/>
  118. </HorizontalLayout>
  119. </VerticalLayout>
  120. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  121. <HorizontalLayout height="44">
  122. <Label text="新订单自动厨房打印" width="260" />
  123. <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'"/>
  124. </HorizontalLayout>
  125. <HorizontalLayout height="44" padding="0,30,0,20">
  126. <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'" />
  127. </HorizontalLayout>
  128. <List name="setting_chufang_printer_list" bordersize="1" bordercolor="#FF000000" itemlinecolor="#FF000000" vscroll="true">
  129. <ListHeader />
  130. <ListHeaderItem text="打印机名称" width="200" align="center" />
  131. <ListHeaderItem text="IP地址" width="200" align="center" />
  132. <ListHeaderItem text="打印机规格" width="100" align="center" />
  133. <ListHeaderItem text="商品分单打印" width="100" align="center" />
  134. <ListHeaderItem text="按商品分类打印" width="200" align="center" />
  135. <ListHeaderItem text="关联商品分类" width="200" align="center" />
  136. <ListHeaderItem text="操作" align="center" />
  137. </List>
  138. </VerticalLayout>
  139. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  140. <HorizontalLayout height="44">
  141. <Label text="开机自动启动" width="260" />
  142. <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'"/>
  143. </HorizontalLayout>
  144. <HorizontalLayout height="44">
  145. <Label text="启动时自动登录" width="260" />
  146. <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'"/>
  147. </HorizontalLayout>
  148. <HorizontalLayout height="44">
  149. <Label text="点击关闭时,最小化到系统托盘" width="260" />
  150. <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'"/>
  151. </HorizontalLayout>
  152. </VerticalLayout>
  153. <VerticalLayout bkcolor="#FFFFFFFF" padding="0,20,20,20" inset="15,15,15,15">
  154. <Control height="300" />
  155. <Label text="智铺子收银插件" align="center">
  156. </Label>
  157. <Label name="setting_version" text="版本号:1.0.0.1" align="center">
  158. </Label>
  159. </VerticalLayout>
  160. </TabLayout>
  161. </HorizontalLayout>
  162. </Setting>
  163. </Window>