PlottWare/PlottWareControl/wxsmith/SettingDialog.wxs
2019-08-08 17:02:07 +03:00

163 lines
5.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<wxsmith>
<object class="wxDialog" name="SettingDialog">
<size>389,432</size>
<bg>wxSYS_COLOUR_WINDOW</bg>
<object class="wxStaticText" name="ID_STATICTEXT1" variable="StaticText1" member="yes">
<label>Settings</label>
<pos>0,8</pos>
<font>
<size>14</size>
<style>normal</style>
<weight>normal</weight>
<underlined>0</underlined>
<family>swiss</family>
</font>
</object>
<object class="wxStaticBox" name="ID_STATICBOX1" variable="StaticBox1" member="yes">
<label>Printer</label>
<pos>8,48</pos>
<size>376,280</size>
</object>
<object class="wxStaticText" name="ID_STATICTEXT2" variable="StaticText2" member="yes">
<label>Length:</label>
<pos>32,72</pos>
</object>
<object class="wxSpinCtrl" name="ID_SPINCTRL1" variable="LengthSpinner" member="yes">
<value>0</value>
<min>-1</min>
<max>100000</max>
<pos>104,64</pos>
<tooltip>Length of printing area (-1 for infinite)</tooltip>
</object>
<object class="wxStaticText" name="ID_STATICTEXT3" variable="StaticText3" member="yes">
<label>mm</label>
<pos>248,72</pos>
</object>
<object class="wxStaticText" name="ID_STATICTEXT4" variable="StaticText4" member="yes">
<label>Width:</label>
<pos>32,96</pos>
</object>
<object class="wxSpinCtrl" name="ID_SPINCTRL2" variable="WidthSpinner" member="yes">
<value>0</value>
<min>-1</min>
<max>100000</max>
<pos>104,88</pos>
<tooltip>Width of printing area (-1 for infinite)</tooltip>
</object>
<object class="wxStaticText" name="ID_STATICTEXT5" variable="StaticText5" member="yes">
<label>mm</label>
<pos>248,96</pos>
</object>
<object class="wxStaticText" name="ID_STATICTEXT6" variable="StaticText6" member="yes">
<label>Pen count:</label>
<pos>32,120</pos>
</object>
<object class="wxSpinCtrl" name="ID_SPINCTRL3" variable="PencountSpinner" member="yes">
<value>0</value>
<pos>104,112</pos>
<tooltip>Number of available drawing pens</tooltip>
<handler function="OnPencountSpinnerChange" entry="EVT_SPINCTRL" />
</object>
<object class="wxStaticText" name="ID_STATICTEXT7" variable="StaticText7" member="yes">
<label>Pens:</label>
<pos>32,144</pos>
</object>
<object class="wxListBox" name="ID_LISTBOX1" variable="PensListBox" member="yes">
<default>-1</default>
<pos>104,136</pos>
<size>120,80</size>
<tooltip>List of pens</tooltip>
<handler function="OnPensListBoxSelect" entry="EVT_LISTBOX" />
</object>
<object class="wxTextCtrl" name="ID_TEXTCTRL1" variable="PenColorText" member="yes">
<pos>264,152</pos>
<tooltip>Color of pen</tooltip>
</object>
<object class="wxStaticText" name="ID_STATICTEXT8" variable="StaticText8" member="yes">
<label>Color:</label>
<pos>232,160</pos>
</object>
<object class="wxButton" name="ID_BUTTON1" variable="PenColorSetButton" member="yes">
<label>Set</label>
<pos>232,176</pos>
<size>136,23</size>
<tooltip>Set color</tooltip>
<handler function="OnPenColorSetButtonClick" entry="EVT_BUTTON" />
</object>
<object class="wxStaticLine" name="ID_STATICLINE1" variable="StaticLine1" member="yes">
<pos>24,232</pos>
<size>344,3</size>
</object>
<object class="wxStaticText" name="ID_STATICTEXT9" variable="StaticText9" member="yes">
<label>Serial port:</label>
<pos>32,248</pos>
</object>
<object class="wxStaticText" name="ID_STATICTEXT10" variable="StaticText10" member="yes">
<label>Baud rate:</label>
<pos>32,272</pos>
</object>
<object class="wxButton" name="ID_BUTTON2" variable="PrinterAutoDetectButton" member="yes">
<label>Auto detect</label>
<pos>32,296</pos>
<tooltip>Auto detect printer settings (only works if serial port and baud rate is set)</tooltip>
<handler function="OnPrinterAutoDetectButtonClick" entry="EVT_BUTTON" />
</object>
<object class="wxStaticText" name="ID_STATICTEXT11" variable="StaticText11" member="yes">
<label>Debug mode:</label>
<pos>16,352</pos>
</object>
<object class="wxCheckBox" name="ID_CHECKBOX1" variable="DebugModeCheck" member="yes">
<label>Enable</label>
<pos>96,352</pos>
<tooltip>Enable debug mode (show stages of image processing)</tooltip>
</object>
<object class="wxButton" name="ID_BUTTON3" variable="SaveSettingsButton" member="yes">
<label>Save</label>
<pos>176,384</pos>
<tooltip>Save settings</tooltip>
<handler function="OnSaveSettingsButtonClick" entry="EVT_BUTTON" />
</object>
<object class="wxButton" name="ID_BUTTON4" variable="CancelSettingsButton" member="yes">
<label>Cancel</label>
<pos>272,384</pos>
<tooltip>Dismiss changes</tooltip>
<handler function="OnCancelSettingsButtonClick" entry="EVT_BUTTON" />
</object>
<object class="wxChoice" name="ID_CHOICE2" variable="BaudRateChoice" member="yes">
<content>
<item>300</item>
<item>600</item>
<item>1200</item>
<item>2400</item>
<item>4800</item>
<item>9600</item>
<item>14400</item>
<item>19200</item>
<item>28800</item>
<item>38400</item>
<item>57600</item>
<item>115200</item>
</content>
<selection>0</selection>
<pos>104,264</pos>
<size>120,21</size>
<tooltip>Baud rate of device</tooltip>
</object>
<object class="wxSpinCtrl" name="ID_SPINCTRL4" variable="SerialPortSpinner" member="yes">
<value>0</value>
<pos>136,240</pos>
<size>88,21</size>
<tooltip>Serial port on which the plotter is connected</tooltip>
</object>
<object class="wxStaticText" name="ID_STATICTEXT12" variable="StaticText12" member="yes">
<label>COM</label>
<pos>104,248</pos>
</object>
<object class="wxMessageDialog" name="ID_MESSAGEDIALOG1" variable="MessageDialog1" member="yes">
<caption>Message</caption>
<message></message>
</object>
</object>
</wxsmith>