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 28KB

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