No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MainWindow.cs 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708
  1. // This file has been generated by the GUI designer. Do not modify.
  2. public partial class MainWindow
  3. {
  4. private global::Gtk.UIManager UIManager;
  5. private global::Gtk.Action FileAction;
  6. private global::Gtk.Action QuitAction;
  7. private global::Gtk.Action LogAction;
  8. private global::Gtk.Action ShowLogWindowAction;
  9. private global::Gtk.VBox vbox1;
  10. private global::Gtk.MenuBar menuBar;
  11. private global::Gtk.HBox hbox1;
  12. private global::Gtk.VBox boxCamera;
  13. private global::Gtk.HBox hbox2;
  14. private global::Gtk.Alignment alignment1;
  15. private global::Gtk.HBox hbox5;
  16. private global::Gtk.CheckButton checkButtonCameraOn;
  17. private global::Gtk.CheckButton checkButtonRobotPosition;
  18. private global::Gtk.CheckButton checkButtonFPS;
  19. private global::Gtk.Button buttonAskArena;
  20. private global::Gtk.DrawingArea drawingAreaCamera;
  21. private global::Gtk.HBox hbox3;
  22. private global::Gtk.VSeparator vseparator1;
  23. private global::Gtk.Alignment alignment3;
  24. private global::Gtk.VBox vbox5;
  25. private global::Gtk.VBox vbox10;
  26. private global::Gtk.Label labelServer;
  27. private global::Gtk.Alignment gtkAlignmentServer;
  28. private global::Gtk.VBox vbox6;
  29. private global::Gtk.Table table1;
  30. private global::Gtk.Entry entryServerName;
  31. private global::Gtk.Entry entryServerPort;
  32. private global::Gtk.Entry entryTimeout;
  33. private global::Gtk.Label label1;
  34. private global::Gtk.Label label2;
  35. private global::Gtk.Label label5;
  36. private global::Gtk.Button buttonServerConnection;
  37. private global::Gtk.HSeparator hseparator1;
  38. private global::Gtk.VBox vbox11;
  39. private global::Gtk.Label labelRobot;
  40. private global::Gtk.Alignment alignment9;
  41. private global::Gtk.Alignment gtkAlignmentRobot;
  42. private global::Gtk.VBox vbox8;
  43. private global::Gtk.Alignment alignment6;
  44. private global::Gtk.HBox hbox4;
  45. private global::Gtk.RadioButton radioButtonWithWatchdog;
  46. private global::Gtk.RadioButton radioButtonWithoutWatchdog;
  47. private global::Gtk.Alignment alignment5;
  48. private global::Gtk.Alignment alignment7;
  49. private global::Gtk.Button buttonRobotActivation;
  50. private global::Gtk.HSeparator hseparator2;
  51. private global::Gtk.VBox vbox12;
  52. private global::Gtk.Label labelRobotControl;
  53. private global::Gtk.Alignment gtkAlignmentRobotControl;
  54. private global::Gtk.VBox vbox9;
  55. private global::Gtk.Alignment alignment8;
  56. private global::Gtk.Table table4;
  57. private global::Gtk.Button buttonDown;
  58. private global::Gtk.Button buttonForward;
  59. private global::Gtk.Button buttonLeft;
  60. private global::Gtk.Button buttonRight;
  61. private global::Gtk.Button buttonStop;
  62. private global::Gtk.Table table3;
  63. private global::Gtk.Label label3;
  64. private global::Gtk.Label labelBatteryLevel;
  65. private global::Gtk.CheckButton checkButtonGetBattery;
  66. protected virtual void Build()
  67. {
  68. global::Stetic.Gui.Initialize(this);
  69. // Widget MainWindow
  70. this.UIManager = new global::Gtk.UIManager();
  71. global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
  72. this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
  73. this.FileAction.IsImportant = true;
  74. this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
  75. w1.Add(this.FileAction, null);
  76. this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit..."), null, null);
  77. this.QuitAction.IsImportant = true;
  78. this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit");
  79. w1.Add(this.QuitAction, "<Primary><Mod2>q");
  80. this.LogAction = new global::Gtk.Action("LogAction", global::Mono.Unix.Catalog.GetString("Log"), null, null);
  81. this.LogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log");
  82. w1.Add(this.LogAction, null);
  83. this.ShowLogWindowAction = new global::Gtk.Action("ShowLogWindowAction", global::Mono.Unix.Catalog.GetString("Show log window"), null, null);
  84. this.ShowLogWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show log window");
  85. w1.Add(this.ShowLogWindowAction, "<Primary><Mod2>s");
  86. this.UIManager.InsertActionGroup(w1, 0);
  87. this.AddAccelGroup(this.UIManager.AccelGroup);
  88. this.Name = "MainWindow";
  89. this.Title = global::Mono.Unix.Catalog.GetString("Monitor UI");
  90. this.Icon = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.robot-icon.resized.png");
  91. this.WindowPosition = ((global::Gtk.WindowPosition)(4));
  92. this.BorderWidth = ((uint)(5));
  93. // Container child MainWindow.Gtk.Container+ContainerChild
  94. this.vbox1 = new global::Gtk.VBox();
  95. this.vbox1.Name = "vbox1";
  96. this.vbox1.Spacing = 6;
  97. // Container child vbox1.Gtk.Box+BoxChild
  98. this.UIManager.AddUiFromString(@"<ui><menubar name='menuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='LogAction' action='LogAction'><menuitem name='ShowLogWindowAction' action='ShowLogWindowAction'/></menu></menubar></ui>");
  99. this.menuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menuBar")));
  100. this.menuBar.Name = "menuBar";
  101. this.vbox1.Add(this.menuBar);
  102. global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menuBar]));
  103. w2.Position = 0;
  104. w2.Expand = false;
  105. w2.Fill = false;
  106. // Container child vbox1.Gtk.Box+BoxChild
  107. this.hbox1 = new global::Gtk.HBox();
  108. this.hbox1.Name = "hbox1";
  109. this.hbox1.Spacing = 6;
  110. // Container child hbox1.Gtk.Box+BoxChild
  111. this.boxCamera = new global::Gtk.VBox();
  112. this.boxCamera.Name = "boxCamera";
  113. this.boxCamera.Spacing = 6;
  114. // Container child boxCamera.Gtk.Box+BoxChild
  115. this.hbox2 = new global::Gtk.HBox();
  116. this.hbox2.Name = "hbox2";
  117. this.hbox2.Spacing = 6;
  118. // Container child hbox2.Gtk.Box+BoxChild
  119. this.alignment1 = new global::Gtk.Alignment(0F, 0.5F, 0F, 1F);
  120. this.alignment1.Name = "alignment1";
  121. this.alignment1.BorderWidth = ((uint)(6));
  122. // Container child alignment1.Gtk.Container+ContainerChild
  123. this.hbox5 = new global::Gtk.HBox();
  124. this.hbox5.Name = "hbox5";
  125. this.hbox5.Spacing = 6;
  126. // Container child hbox5.Gtk.Box+BoxChild
  127. this.checkButtonCameraOn = new global::Gtk.CheckButton();
  128. this.checkButtonCameraOn.CanFocus = true;
  129. this.checkButtonCameraOn.Name = "checkButtonCameraOn";
  130. this.checkButtonCameraOn.Label = global::Mono.Unix.Catalog.GetString("Camera On");
  131. this.checkButtonCameraOn.DrawIndicator = true;
  132. this.checkButtonCameraOn.UseUnderline = true;
  133. this.hbox5.Add(this.checkButtonCameraOn);
  134. global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonCameraOn]));
  135. w3.Position = 0;
  136. // Container child hbox5.Gtk.Box+BoxChild
  137. this.checkButtonRobotPosition = new global::Gtk.CheckButton();
  138. this.checkButtonRobotPosition.CanFocus = true;
  139. this.checkButtonRobotPosition.Name = "checkButtonRobotPosition";
  140. this.checkButtonRobotPosition.Label = global::Mono.Unix.Catalog.GetString("Show Position");
  141. this.checkButtonRobotPosition.DrawIndicator = true;
  142. this.checkButtonRobotPosition.UseUnderline = true;
  143. this.hbox5.Add(this.checkButtonRobotPosition);
  144. global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonRobotPosition]));
  145. w4.Position = 1;
  146. // Container child hbox5.Gtk.Box+BoxChild
  147. this.checkButtonFPS = new global::Gtk.CheckButton();
  148. this.checkButtonFPS.CanFocus = true;
  149. this.checkButtonFPS.Name = "checkButtonFPS";
  150. this.checkButtonFPS.Label = global::Mono.Unix.Catalog.GetString("Show FPS");
  151. this.checkButtonFPS.DrawIndicator = true;
  152. this.checkButtonFPS.UseUnderline = true;
  153. this.hbox5.Add(this.checkButtonFPS);
  154. global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonFPS]));
  155. w5.Position = 2;
  156. this.alignment1.Add(this.hbox5);
  157. this.hbox2.Add(this.alignment1);
  158. global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.alignment1]));
  159. w7.Position = 0;
  160. // Container child hbox2.Gtk.Box+BoxChild
  161. this.buttonAskArena = new global::Gtk.Button();
  162. this.buttonAskArena.CanFocus = true;
  163. this.buttonAskArena.Name = "buttonAskArena";
  164. this.buttonAskArena.UseUnderline = true;
  165. this.buttonAskArena.Label = global::Mono.Unix.Catalog.GetString("Ask Arena...");
  166. this.hbox2.Add(this.buttonAskArena);
  167. global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAskArena]));
  168. w8.Position = 2;
  169. w8.Expand = false;
  170. w8.Fill = false;
  171. this.boxCamera.Add(this.hbox2);
  172. global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.hbox2]));
  173. w9.Position = 0;
  174. w9.Expand = false;
  175. w9.Fill = false;
  176. // Container child boxCamera.Gtk.Box+BoxChild
  177. this.drawingAreaCamera = new global::Gtk.DrawingArea();
  178. this.drawingAreaCamera.Name = "drawingAreaCamera";
  179. this.boxCamera.Add(this.drawingAreaCamera);
  180. global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.drawingAreaCamera]));
  181. w10.Position = 1;
  182. this.hbox1.Add(this.boxCamera);
  183. global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.boxCamera]));
  184. w11.Position = 0;
  185. // Container child hbox1.Gtk.Box+BoxChild
  186. this.hbox3 = new global::Gtk.HBox();
  187. this.hbox3.Name = "hbox3";
  188. this.hbox3.Spacing = 6;
  189. // Container child hbox3.Gtk.Box+BoxChild
  190. this.vseparator1 = new global::Gtk.VSeparator();
  191. this.vseparator1.Name = "vseparator1";
  192. this.hbox3.Add(this.vseparator1);
  193. global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator1]));
  194. w12.Position = 0;
  195. w12.Expand = false;
  196. w12.Fill = false;
  197. // Container child hbox3.Gtk.Box+BoxChild
  198. this.alignment3 = new global::Gtk.Alignment(1F, 0F, 0F, 0F);
  199. this.alignment3.Name = "alignment3";
  200. this.alignment3.BorderWidth = ((uint)(4));
  201. // Container child alignment3.Gtk.Container+ContainerChild
  202. this.vbox5 = new global::Gtk.VBox();
  203. this.vbox5.Name = "vbox5";
  204. this.vbox5.Spacing = 6;
  205. // Container child vbox5.Gtk.Box+BoxChild
  206. this.vbox10 = new global::Gtk.VBox();
  207. this.vbox10.Name = "vbox10";
  208. this.vbox10.Spacing = 6;
  209. // Container child vbox10.Gtk.Box+BoxChild
  210. this.labelServer = new global::Gtk.Label();
  211. this.labelServer.HeightRequest = 36;
  212. this.labelServer.Name = "labelServer";
  213. this.labelServer.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Server connection</u></b>");
  214. this.labelServer.UseMarkup = true;
  215. this.vbox10.Add(this.labelServer);
  216. global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.labelServer]));
  217. w13.Position = 0;
  218. w13.Expand = false;
  219. w13.Fill = false;
  220. // Container child vbox10.Gtk.Box+BoxChild
  221. this.gtkAlignmentServer = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
  222. this.gtkAlignmentServer.Name = "gtkAlignmentServer";
  223. this.gtkAlignmentServer.LeftPadding = ((uint)(12));
  224. // Container child gtkAlignmentServer.Gtk.Container+ContainerChild
  225. this.vbox6 = new global::Gtk.VBox();
  226. this.vbox6.Name = "vbox6";
  227. this.vbox6.Spacing = 6;
  228. // Container child vbox6.Gtk.Box+BoxChild
  229. this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
  230. this.table1.Name = "table1";
  231. this.table1.RowSpacing = ((uint)(6));
  232. this.table1.ColumnSpacing = ((uint)(6));
  233. // Container child table1.Gtk.Table+TableChild
  234. this.entryServerName = new global::Gtk.Entry();
  235. this.entryServerName.CanFocus = true;
  236. this.entryServerName.Name = "entryServerName";
  237. this.entryServerName.IsEditable = true;
  238. this.entryServerName.InvisibleChar = '●';
  239. this.table1.Add(this.entryServerName);
  240. global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerName]));
  241. w14.LeftAttach = ((uint)(1));
  242. w14.RightAttach = ((uint)(2));
  243. w14.YOptions = ((global::Gtk.AttachOptions)(4));
  244. // Container child table1.Gtk.Table+TableChild
  245. this.entryServerPort = new global::Gtk.Entry();
  246. this.entryServerPort.CanFocus = true;
  247. this.entryServerPort.Name = "entryServerPort";
  248. this.entryServerPort.IsEditable = true;
  249. this.entryServerPort.InvisibleChar = '●';
  250. this.table1.Add(this.entryServerPort);
  251. global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerPort]));
  252. w15.TopAttach = ((uint)(1));
  253. w15.BottomAttach = ((uint)(2));
  254. w15.LeftAttach = ((uint)(1));
  255. w15.RightAttach = ((uint)(2));
  256. w15.YOptions = ((global::Gtk.AttachOptions)(4));
  257. // Container child table1.Gtk.Table+TableChild
  258. this.entryTimeout = new global::Gtk.Entry();
  259. this.entryTimeout.CanFocus = true;
  260. this.entryTimeout.Name = "entryTimeout";
  261. this.entryTimeout.IsEditable = true;
  262. this.entryTimeout.InvisibleChar = '●';
  263. this.table1.Add(this.entryTimeout);
  264. global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entryTimeout]));
  265. w16.TopAttach = ((uint)(2));
  266. w16.BottomAttach = ((uint)(3));
  267. w16.LeftAttach = ((uint)(1));
  268. w16.RightAttach = ((uint)(2));
  269. w16.YOptions = ((global::Gtk.AttachOptions)(4));
  270. // Container child table1.Gtk.Table+TableChild
  271. this.label1 = new global::Gtk.Label();
  272. this.label1.Name = "label1";
  273. this.label1.Xalign = 1F;
  274. this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Server name:");
  275. this.label1.Justify = ((global::Gtk.Justification)(1));
  276. this.table1.Add(this.label1);
  277. global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
  278. w17.XOptions = ((global::Gtk.AttachOptions)(4));
  279. w17.YOptions = ((global::Gtk.AttachOptions)(4));
  280. // Container child table1.Gtk.Table+TableChild
  281. this.label2 = new global::Gtk.Label();
  282. this.label2.Name = "label2";
  283. this.label2.Xalign = 1F;
  284. this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Server port:");
  285. this.label2.Justify = ((global::Gtk.Justification)(1));
  286. this.table1.Add(this.label2);
  287. global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
  288. w18.TopAttach = ((uint)(1));
  289. w18.BottomAttach = ((uint)(2));
  290. w18.XOptions = ((global::Gtk.AttachOptions)(4));
  291. w18.YOptions = ((global::Gtk.AttachOptions)(4));
  292. // Container child table1.Gtk.Table+TableChild
  293. this.label5 = new global::Gtk.Label();
  294. this.label5.Name = "label5";
  295. this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Timeout (ms):");
  296. this.table1.Add(this.label5);
  297. global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
  298. w19.TopAttach = ((uint)(2));
  299. w19.BottomAttach = ((uint)(3));
  300. w19.XOptions = ((global::Gtk.AttachOptions)(4));
  301. w19.YOptions = ((global::Gtk.AttachOptions)(4));
  302. this.vbox6.Add(this.table1);
  303. global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.table1]));
  304. w20.Position = 0;
  305. w20.Expand = false;
  306. w20.Fill = false;
  307. // Container child vbox6.Gtk.Box+BoxChild
  308. this.buttonServerConnection = new global::Gtk.Button();
  309. this.buttonServerConnection.CanFocus = true;
  310. this.buttonServerConnection.Name = "buttonServerConnection";
  311. this.buttonServerConnection.UseUnderline = true;
  312. this.buttonServerConnection.Label = global::Mono.Unix.Catalog.GetString("Connect");
  313. this.vbox6.Add(this.buttonServerConnection);
  314. global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.buttonServerConnection]));
  315. w21.PackType = ((global::Gtk.PackType)(1));
  316. w21.Position = 1;
  317. w21.Expand = false;
  318. w21.Fill = false;
  319. this.gtkAlignmentServer.Add(this.vbox6);
  320. this.vbox10.Add(this.gtkAlignmentServer);
  321. global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.gtkAlignmentServer]));
  322. w23.Position = 1;
  323. w23.Expand = false;
  324. w23.Fill = false;
  325. this.vbox5.Add(this.vbox10);
  326. global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox10]));
  327. w24.Position = 0;
  328. w24.Expand = false;
  329. w24.Fill = false;
  330. // Container child vbox5.Gtk.Box+BoxChild
  331. this.hseparator1 = new global::Gtk.HSeparator();
  332. this.hseparator1.Name = "hseparator1";
  333. this.vbox5.Add(this.hseparator1);
  334. global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator1]));
  335. w25.Position = 1;
  336. w25.Expand = false;
  337. w25.Fill = false;
  338. // Container child vbox5.Gtk.Box+BoxChild
  339. this.vbox11 = new global::Gtk.VBox();
  340. this.vbox11.Name = "vbox11";
  341. this.vbox11.Spacing = 6;
  342. // Container child vbox11.Gtk.Box+BoxChild
  343. this.labelRobot = new global::Gtk.Label();
  344. this.labelRobot.HeightRequest = 36;
  345. this.labelRobot.Name = "labelRobot";
  346. this.labelRobot.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Activation</u></b>");
  347. this.labelRobot.UseMarkup = true;
  348. this.vbox11.Add(this.labelRobot);
  349. global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.labelRobot]));
  350. w26.Position = 0;
  351. w26.Expand = false;
  352. w26.Fill = false;
  353. // Container child vbox11.Gtk.Box+BoxChild
  354. this.alignment9 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  355. this.alignment9.Name = "alignment9";
  356. // Container child alignment9.Gtk.Container+ContainerChild
  357. this.gtkAlignmentRobot = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
  358. this.gtkAlignmentRobot.Name = "gtkAlignmentRobot";
  359. this.gtkAlignmentRobot.LeftPadding = ((uint)(12));
  360. // Container child gtkAlignmentRobot.Gtk.Container+ContainerChild
  361. this.vbox8 = new global::Gtk.VBox();
  362. this.vbox8.Name = "vbox8";
  363. this.vbox8.Spacing = 6;
  364. // Container child vbox8.Gtk.Box+BoxChild
  365. this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  366. this.alignment6.Name = "alignment6";
  367. // Container child alignment6.Gtk.Container+ContainerChild
  368. this.hbox4 = new global::Gtk.HBox();
  369. this.hbox4.Name = "hbox4";
  370. this.hbox4.Spacing = 6;
  371. // Container child hbox4.Gtk.Box+BoxChild
  372. this.radioButtonWithWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("with watchdog"));
  373. this.radioButtonWithWatchdog.CanFocus = true;
  374. this.radioButtonWithWatchdog.Name = "radioButtonWithWatchdog";
  375. this.radioButtonWithWatchdog.DrawIndicator = true;
  376. this.radioButtonWithWatchdog.UseUnderline = true;
  377. this.radioButtonWithWatchdog.Group = new global::GLib.SList(global::System.IntPtr.Zero);
  378. this.hbox4.Add(this.radioButtonWithWatchdog);
  379. global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithWatchdog]));
  380. w27.Position = 0;
  381. // Container child hbox4.Gtk.Box+BoxChild
  382. this.radioButtonWithoutWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("without watchdog"));
  383. this.radioButtonWithoutWatchdog.CanFocus = true;
  384. this.radioButtonWithoutWatchdog.Name = "radioButtonWithoutWatchdog";
  385. this.radioButtonWithoutWatchdog.DrawIndicator = true;
  386. this.radioButtonWithoutWatchdog.UseUnderline = true;
  387. this.radioButtonWithoutWatchdog.Group = this.radioButtonWithWatchdog.Group;
  388. this.hbox4.Add(this.radioButtonWithoutWatchdog);
  389. global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithoutWatchdog]));
  390. w28.Position = 1;
  391. this.alignment6.Add(this.hbox4);
  392. this.vbox8.Add(this.alignment6);
  393. global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment6]));
  394. w30.Position = 0;
  395. w30.Expand = false;
  396. w30.Fill = false;
  397. // Container child vbox8.Gtk.Box+BoxChild
  398. this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  399. this.alignment5.Name = "alignment5";
  400. // Container child alignment5.Gtk.Container+ContainerChild
  401. this.alignment7 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  402. this.alignment7.Name = "alignment7";
  403. // Container child alignment7.Gtk.Container+ContainerChild
  404. this.buttonRobotActivation = new global::Gtk.Button();
  405. this.buttonRobotActivation.CanFocus = true;
  406. this.buttonRobotActivation.Name = "buttonRobotActivation";
  407. this.buttonRobotActivation.UseUnderline = true;
  408. this.buttonRobotActivation.Label = global::Mono.Unix.Catalog.GetString("Activation");
  409. this.alignment7.Add(this.buttonRobotActivation);
  410. this.alignment5.Add(this.alignment7);
  411. this.vbox8.Add(this.alignment5);
  412. global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment5]));
  413. w33.Position = 1;
  414. w33.Expand = false;
  415. w33.Fill = false;
  416. this.gtkAlignmentRobot.Add(this.vbox8);
  417. this.alignment9.Add(this.gtkAlignmentRobot);
  418. this.vbox11.Add(this.alignment9);
  419. global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.alignment9]));
  420. w36.Position = 1;
  421. w36.Expand = false;
  422. w36.Fill = false;
  423. this.vbox5.Add(this.vbox11);
  424. global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox11]));
  425. w37.Position = 2;
  426. w37.Expand = false;
  427. w37.Fill = false;
  428. // Container child vbox5.Gtk.Box+BoxChild
  429. this.hseparator2 = new global::Gtk.HSeparator();
  430. this.hseparator2.Name = "hseparator2";
  431. this.vbox5.Add(this.hseparator2);
  432. global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator2]));
  433. w38.Position = 3;
  434. w38.Expand = false;
  435. w38.Fill = false;
  436. // Container child vbox5.Gtk.Box+BoxChild
  437. this.vbox12 = new global::Gtk.VBox();
  438. this.vbox12.Name = "vbox12";
  439. this.vbox12.Spacing = 6;
  440. // Container child vbox12.Gtk.Box+BoxChild
  441. this.labelRobotControl = new global::Gtk.Label();
  442. this.labelRobotControl.HeightRequest = 36;
  443. this.labelRobotControl.Name = "labelRobotControl";
  444. this.labelRobotControl.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Controls and Status</u></b>");
  445. this.labelRobotControl.UseMarkup = true;
  446. this.vbox12.Add(this.labelRobotControl);
  447. global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.labelRobotControl]));
  448. w39.Position = 0;
  449. w39.Expand = false;
  450. w39.Fill = false;
  451. // Container child vbox12.Gtk.Box+BoxChild
  452. this.gtkAlignmentRobotControl = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
  453. this.gtkAlignmentRobotControl.Name = "gtkAlignmentRobotControl";
  454. this.gtkAlignmentRobotControl.LeftPadding = ((uint)(12));
  455. // Container child gtkAlignmentRobotControl.Gtk.Container+ContainerChild
  456. this.vbox9 = new global::Gtk.VBox();
  457. this.vbox9.Name = "vbox9";
  458. this.vbox9.Spacing = 6;
  459. // Container child vbox9.Gtk.Box+BoxChild
  460. this.alignment8 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  461. this.alignment8.Name = "alignment8";
  462. // Container child alignment8.Gtk.Container+ContainerChild
  463. this.table4 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
  464. this.table4.Name = "table4";
  465. this.table4.RowSpacing = ((uint)(6));
  466. this.table4.ColumnSpacing = ((uint)(6));
  467. // Container child table4.Gtk.Table+TableChild
  468. this.buttonDown = new global::Gtk.Button();
  469. global::Gtk.Tooltips w40 = new Gtk.Tooltips();
  470. w40.SetTip(this.buttonDown, "Move robot backward", "Move robot backward");
  471. this.buttonDown.CanFocus = true;
  472. this.buttonDown.Name = "buttonDown";
  473. this.buttonDown.UseUnderline = true;
  474. global::Gtk.Image w41 = new global::Gtk.Image();
  475. w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-down-symbolic.symbolic.png");
  476. this.buttonDown.Image = w41;
  477. this.table4.Add(this.buttonDown);
  478. global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonDown]));
  479. w42.TopAttach = ((uint)(2));
  480. w42.BottomAttach = ((uint)(3));
  481. w42.LeftAttach = ((uint)(1));
  482. w42.RightAttach = ((uint)(2));
  483. w42.XOptions = ((global::Gtk.AttachOptions)(4));
  484. w42.YOptions = ((global::Gtk.AttachOptions)(4));
  485. // Container child table4.Gtk.Table+TableChild
  486. this.buttonForward = new global::Gtk.Button();
  487. w40.SetTip(this.buttonForward, "Move robot forward", "Move robot forward");
  488. this.buttonForward.CanFocus = true;
  489. this.buttonForward.Name = "buttonForward";
  490. this.buttonForward.UseUnderline = true;
  491. global::Gtk.Image w43 = new global::Gtk.Image();
  492. w43.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-up-symbolic.symbolic.png");
  493. this.buttonForward.Image = w43;
  494. this.table4.Add(this.buttonForward);
  495. global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonForward]));
  496. w44.LeftAttach = ((uint)(1));
  497. w44.RightAttach = ((uint)(2));
  498. w44.XOptions = ((global::Gtk.AttachOptions)(4));
  499. w44.YOptions = ((global::Gtk.AttachOptions)(4));
  500. // Container child table4.Gtk.Table+TableChild
  501. this.buttonLeft = new global::Gtk.Button();
  502. w40.SetTip(this.buttonLeft, "Turn robot to the left", "Turn robot to the left");
  503. this.buttonLeft.CanFocus = true;
  504. this.buttonLeft.Name = "buttonLeft";
  505. this.buttonLeft.UseUnderline = true;
  506. global::Gtk.Image w45 = new global::Gtk.Image();
  507. w45.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-start-symbolic.symbolic.png");
  508. this.buttonLeft.Image = w45;
  509. this.table4.Add(this.buttonLeft);
  510. global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonLeft]));
  511. w46.TopAttach = ((uint)(1));
  512. w46.BottomAttach = ((uint)(2));
  513. w46.XOptions = ((global::Gtk.AttachOptions)(4));
  514. w46.YOptions = ((global::Gtk.AttachOptions)(4));
  515. // Container child table4.Gtk.Table+TableChild
  516. this.buttonRight = new global::Gtk.Button();
  517. w40.SetTip(this.buttonRight, "Turn robot to the right", "Turn robot to the right");
  518. this.buttonRight.CanFocus = true;
  519. this.buttonRight.Name = "buttonRight";
  520. this.buttonRight.UseUnderline = true;
  521. global::Gtk.Image w47 = new global::Gtk.Image();
  522. w47.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-end-symbolic.symbolic.png");
  523. this.buttonRight.Image = w47;
  524. this.table4.Add(this.buttonRight);
  525. global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonRight]));
  526. w48.TopAttach = ((uint)(1));
  527. w48.BottomAttach = ((uint)(2));
  528. w48.LeftAttach = ((uint)(2));
  529. w48.RightAttach = ((uint)(3));
  530. w48.XOptions = ((global::Gtk.AttachOptions)(4));
  531. w48.YOptions = ((global::Gtk.AttachOptions)(4));
  532. // Container child table4.Gtk.Table+TableChild
  533. this.buttonStop = new global::Gtk.Button();
  534. w40.SetTip(this.buttonStop, "Stop robot movements", "Stop robot movements");
  535. this.buttonStop.CanFocus = true;
  536. this.buttonStop.Name = "buttonStop";
  537. this.buttonStop.UseUnderline = true;
  538. global::Gtk.Image w49 = new global::Gtk.Image();
  539. w49.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.hand-filled-32.png");
  540. this.buttonStop.Image = w49;
  541. this.table4.Add(this.buttonStop);
  542. global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonStop]));
  543. w50.TopAttach = ((uint)(1));
  544. w50.BottomAttach = ((uint)(2));
  545. w50.LeftAttach = ((uint)(1));
  546. w50.RightAttach = ((uint)(2));
  547. w50.XOptions = ((global::Gtk.AttachOptions)(4));
  548. w50.YOptions = ((global::Gtk.AttachOptions)(4));
  549. this.alignment8.Add(this.table4);
  550. this.vbox9.Add(this.alignment8);
  551. global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.alignment8]));
  552. w52.Position = 0;
  553. w52.Expand = false;
  554. w52.Fill = false;
  555. // Container child vbox9.Gtk.Box+BoxChild
  556. this.table3 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
  557. this.table3.Name = "table3";
  558. this.table3.RowSpacing = ((uint)(6));
  559. this.table3.ColumnSpacing = ((uint)(6));
  560. // Container child table3.Gtk.Table+TableChild
  561. this.label3 = new global::Gtk.Label();
  562. this.label3.Name = "label3";
  563. this.label3.Xalign = 1F;
  564. this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Battery level:");
  565. this.label3.Justify = ((global::Gtk.Justification)(1));
  566. this.table3.Add(this.label3);
  567. global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
  568. w53.YPadding = ((uint)(10));
  569. w53.XOptions = ((global::Gtk.AttachOptions)(4));
  570. w53.YOptions = ((global::Gtk.AttachOptions)(4));
  571. // Container child table3.Gtk.Table+TableChild
  572. this.labelBatteryLevel = new global::Gtk.Label();
  573. this.labelBatteryLevel.Name = "labelBatteryLevel";
  574. this.labelBatteryLevel.Xpad = 1;
  575. this.labelBatteryLevel.Xalign = 0F;
  576. this.labelBatteryLevel.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown");
  577. this.table3.Add(this.labelBatteryLevel);
  578. global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table3[this.labelBatteryLevel]));
  579. w54.LeftAttach = ((uint)(1));
  580. w54.RightAttach = ((uint)(2));
  581. w54.YOptions = ((global::Gtk.AttachOptions)(4));
  582. this.vbox9.Add(this.table3);
  583. global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.table3]));
  584. w55.Position = 2;
  585. w55.Expand = false;
  586. w55.Fill = false;
  587. // Container child vbox9.Gtk.Box+BoxChild
  588. this.checkButtonGetBattery = new global::Gtk.CheckButton();
  589. this.checkButtonGetBattery.CanFocus = true;
  590. this.checkButtonGetBattery.Name = "checkButtonGetBattery";
  591. this.checkButtonGetBattery.Label = global::Mono.Unix.Catalog.GetString("Get battery level");
  592. this.checkButtonGetBattery.Active = true;
  593. this.checkButtonGetBattery.DrawIndicator = true;
  594. this.checkButtonGetBattery.UseUnderline = true;
  595. this.vbox9.Add(this.checkButtonGetBattery);
  596. global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.checkButtonGetBattery]));
  597. w56.Position = 3;
  598. w56.Expand = false;
  599. w56.Fill = false;
  600. this.gtkAlignmentRobotControl.Add(this.vbox9);
  601. this.vbox12.Add(this.gtkAlignmentRobotControl);
  602. global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.gtkAlignmentRobotControl]));
  603. w58.Position = 1;
  604. this.vbox5.Add(this.vbox12);
  605. global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox12]));
  606. w59.Position = 4;
  607. this.alignment3.Add(this.vbox5);
  608. this.hbox3.Add(this.alignment3);
  609. global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment3]));
  610. w61.Position = 1;
  611. w61.Expand = false;
  612. w61.Fill = false;
  613. this.hbox1.Add(this.hbox3);
  614. global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3]));
  615. w62.Position = 1;
  616. w62.Expand = false;
  617. w62.Fill = false;
  618. this.vbox1.Add(this.hbox1);
  619. global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
  620. w63.Position = 1;
  621. this.Add(this.vbox1);
  622. if ((this.Child != null))
  623. {
  624. this.Child.ShowAll();
  625. }
  626. this.DefaultWidth = 1025;
  627. this.DefaultHeight = 686;
  628. this.Show();
  629. this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
  630. this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated);
  631. this.ShowLogWindowAction.Activated += new global::System.EventHandler(this.OnShowLogWindowActionActivated);
  632. this.checkButtonCameraOn.Clicked += new global::System.EventHandler(this.OnCheckButtonCameraOnClicked);
  633. this.checkButtonRobotPosition.Clicked += new global::System.EventHandler(this.OnCheckButtonRobotPositionClicked);
  634. this.checkButtonFPS.Toggled += new global::System.EventHandler(this.OnCheckButtonFPSToggled);
  635. this.buttonAskArena.Clicked += new global::System.EventHandler(this.OnButtonAskArenaClicked);
  636. this.buttonServerConnection.Clicked += new global::System.EventHandler(this.OnButtonServerConnectionClicked);
  637. this.buttonRobotActivation.Clicked += new global::System.EventHandler(this.OnButtonRobotActivationClicked);
  638. this.buttonStop.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  639. this.buttonRight.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  640. this.buttonLeft.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  641. this.buttonForward.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  642. this.buttonDown.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  643. }
  644. }