directsqldialog.ui 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.22.1 -->
  3. <interface domain="dba">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkDialog" id="DirectSQLDialog">
  6. <property name="can_focus">False</property>
  7. <property name="border_width">6</property>
  8. <property name="title" translatable="yes" context="directsqldialog|DirectSQLDialog">Execute SQL Statement</property>
  9. <property name="resizable">False</property>
  10. <property name="modal">True</property>
  11. <property name="type_hint">dialog</property>
  12. <child>
  13. <placeholder/>
  14. </child>
  15. <child internal-child="vbox">
  16. <object class="GtkBox" id="dialog-vbox1">
  17. <property name="can_focus">False</property>
  18. <property name="orientation">vertical</property>
  19. <property name="spacing">12</property>
  20. <child internal-child="action_area">
  21. <object class="GtkButtonBox" id="dialog-action_area1">
  22. <property name="can_focus">False</property>
  23. <property name="layout_style">end</property>
  24. <child>
  25. <object class="GtkButton" id="help">
  26. <property name="label">gtk-help</property>
  27. <property name="visible">True</property>
  28. <property name="can_focus">True</property>
  29. <property name="can_default">True</property>
  30. <property name="receives_default">True</property>
  31. <property name="use_stock">True</property>
  32. </object>
  33. <packing>
  34. <property name="expand">False</property>
  35. <property name="fill">True</property>
  36. <property name="position">0</property>
  37. <property name="secondary">True</property>
  38. </packing>
  39. </child>
  40. <child>
  41. <object class="GtkButton" id="close">
  42. <property name="label">gtk-close</property>
  43. <property name="visible">True</property>
  44. <property name="can_focus">True</property>
  45. <property name="can_default">True</property>
  46. <property name="receives_default">True</property>
  47. <property name="use_stock">True</property>
  48. </object>
  49. <packing>
  50. <property name="expand">False</property>
  51. <property name="fill">True</property>
  52. <property name="position">1</property>
  53. </packing>
  54. </child>
  55. </object>
  56. <packing>
  57. <property name="expand">False</property>
  58. <property name="fill">True</property>
  59. <property name="pack_type">end</property>
  60. <property name="position">0</property>
  61. </packing>
  62. </child>
  63. <child>
  64. <object class="GtkFrame" id="frame1">
  65. <property name="visible">True</property>
  66. <property name="can_focus">False</property>
  67. <property name="hexpand">True</property>
  68. <property name="vexpand">True</property>
  69. <property name="label_xalign">0</property>
  70. <property name="shadow_type">none</property>
  71. <child>
  72. <object class="GtkAlignment" id="alignment1">
  73. <property name="visible">True</property>
  74. <property name="can_focus">False</property>
  75. <property name="hexpand">True</property>
  76. <property name="vexpand">True</property>
  77. <property name="top_padding">6</property>
  78. <property name="left_padding">12</property>
  79. <child>
  80. <!-- n-columns=1 n-rows=1 -->
  81. <object class="GtkGrid" id="grid1">
  82. <property name="visible">True</property>
  83. <property name="can_focus">False</property>
  84. <property name="hexpand">True</property>
  85. <property name="vexpand">True</property>
  86. <property name="row_spacing">6</property>
  87. <child>
  88. <object class="GtkScrolledWindow">
  89. <property name="visible">True</property>
  90. <property name="can_focus">True</property>
  91. <property name="hexpand">True</property>
  92. <property name="vexpand">True</property>
  93. <property name="border_width">0</property>
  94. <property name="shadow_type">in</property>
  95. <child>
  96. <object class="GtkViewport">
  97. <property name="visible">True</property>
  98. <property name="can_focus">False</property>
  99. <child>
  100. <object class="GtkDrawingArea" id="sql">
  101. <property name="visible">True</property>
  102. <property name="can_focus">True</property>
  103. <property name="events">GDK_BUTTON_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK</property>
  104. </object>
  105. </child>
  106. </object>
  107. </child>
  108. </object>
  109. <packing>
  110. <property name="left_attach">0</property>
  111. <property name="top_attach">1</property>
  112. </packing>
  113. </child>
  114. <child>
  115. <object class="GtkLabel" id="sql_label">
  116. <property name="visible">True</property>
  117. <property name="can_focus">False</property>
  118. <property name="label" translatable="yes" context="directsqldialog|sql_label">_Command to execute:</property>
  119. <property name="use_underline">True</property>
  120. <property name="mnemonic_widget">sql</property>
  121. <property name="xalign">0</property>
  122. </object>
  123. <packing>
  124. <property name="left_attach">0</property>
  125. <property name="top_attach">0</property>
  126. </packing>
  127. </child>
  128. <child>
  129. <!-- n-columns=1 n-rows=1 -->
  130. <object class="GtkGrid" id="grid2">
  131. <property name="visible">True</property>
  132. <property name="can_focus">False</property>
  133. <property name="column_spacing">12</property>
  134. <child>
  135. <object class="GtkCheckButton" id="showoutput">
  136. <property name="label" translatable="yes" context="directsqldialog|showoutput">_Show output of "select" statements</property>
  137. <property name="visible">True</property>
  138. <property name="can_focus">True</property>
  139. <property name="receives_default">False</property>
  140. <property name="use_underline">True</property>
  141. <property name="xalign">0</property>
  142. <property name="draw_indicator">True</property>
  143. </object>
  144. <packing>
  145. <property name="left_attach">0</property>
  146. <property name="top_attach">0</property>
  147. </packing>
  148. </child>
  149. <child>
  150. <object class="GtkButton" id="execute">
  151. <property name="label" translatable="yes" context="directsqldialog|execute">_Execute</property>
  152. <property name="visible">True</property>
  153. <property name="can_focus">True</property>
  154. <property name="can_default">True</property>
  155. <property name="has_default">True</property>
  156. <property name="receives_default">True</property>
  157. <property name="use_underline">True</property>
  158. </object>
  159. <packing>
  160. <property name="left_attach">1</property>
  161. <property name="top_attach">0</property>
  162. </packing>
  163. </child>
  164. </object>
  165. <packing>
  166. <property name="left_attach">0</property>
  167. <property name="top_attach">2</property>
  168. </packing>
  169. </child>
  170. <child>
  171. <object class="GtkComboBoxText" id="sqlhistory">
  172. <property name="visible">True</property>
  173. <property name="can_focus">False</property>
  174. </object>
  175. <packing>
  176. <property name="left_attach">0</property>
  177. <property name="top_attach">4</property>
  178. </packing>
  179. </child>
  180. <child>
  181. <object class="GtkLabel" id="sqlhistory_label">
  182. <property name="visible">True</property>
  183. <property name="can_focus">False</property>
  184. <property name="label" translatable="yes" context="directsqldialog|sqlhistory_label">_Previous commands:</property>
  185. <property name="use_underline">True</property>
  186. <property name="mnemonic_widget">sqlhistory</property>
  187. <property name="xalign">0</property>
  188. </object>
  189. <packing>
  190. <property name="left_attach">0</property>
  191. <property name="top_attach">3</property>
  192. </packing>
  193. </child>
  194. </object>
  195. </child>
  196. </object>
  197. </child>
  198. <child type="label">
  199. <object class="GtkLabel" id="label1">
  200. <property name="visible">True</property>
  201. <property name="can_focus">False</property>
  202. <property name="label" translatable="yes" context="directsqldialog|label1">SQL Command</property>
  203. <attributes>
  204. <attribute name="weight" value="bold"/>
  205. </attributes>
  206. </object>
  207. </child>
  208. </object>
  209. <packing>
  210. <property name="expand">False</property>
  211. <property name="fill">True</property>
  212. <property name="position">1</property>
  213. </packing>
  214. </child>
  215. <child>
  216. <object class="GtkFrame" id="frame2">
  217. <property name="visible">True</property>
  218. <property name="can_focus">False</property>
  219. <property name="label_xalign">0</property>
  220. <property name="shadow_type">none</property>
  221. <child>
  222. <object class="GtkAlignment" id="alignment2">
  223. <property name="visible">True</property>
  224. <property name="can_focus">False</property>
  225. <property name="top_padding">6</property>
  226. <property name="left_padding">12</property>
  227. <child>
  228. <object class="GtkScrolledWindow" id="scrolledwindow2">
  229. <property name="visible">True</property>
  230. <property name="can_focus">True</property>
  231. <property name="shadow_type">in</property>
  232. <child>
  233. <object class="GtkTextView" id="status">
  234. <property name="visible">True</property>
  235. <property name="can_focus">True</property>
  236. <property name="editable">False</property>
  237. </object>
  238. </child>
  239. </object>
  240. </child>
  241. </object>
  242. </child>
  243. <child type="label">
  244. <object class="GtkLabel" id="label2">
  245. <property name="visible">True</property>
  246. <property name="can_focus">False</property>
  247. <property name="label" translatable="yes" context="directsqldialog|label2">Status</property>
  248. <attributes>
  249. <attribute name="weight" value="bold"/>
  250. </attributes>
  251. </object>
  252. </child>
  253. </object>
  254. <packing>
  255. <property name="expand">False</property>
  256. <property name="fill">True</property>
  257. <property name="position">2</property>
  258. </packing>
  259. </child>
  260. <child>
  261. <object class="GtkFrame" id="frame3">
  262. <property name="visible">True</property>
  263. <property name="can_focus">False</property>
  264. <property name="label_xalign">0</property>
  265. <property name="shadow_type">none</property>
  266. <child>
  267. <object class="GtkAlignment" id="alignment3">
  268. <property name="visible">True</property>
  269. <property name="can_focus">False</property>
  270. <property name="top_padding">6</property>
  271. <property name="left_padding">12</property>
  272. <child>
  273. <object class="GtkScrolledWindow" id="scrolledwindow1">
  274. <property name="visible">True</property>
  275. <property name="can_focus">True</property>
  276. <property name="shadow_type">in</property>
  277. <child>
  278. <object class="GtkTextView" id="output">
  279. <property name="visible">True</property>
  280. <property name="can_focus">True</property>
  281. <property name="editable">False</property>
  282. </object>
  283. </child>
  284. </object>
  285. </child>
  286. </object>
  287. </child>
  288. <child type="label">
  289. <object class="GtkLabel" id="label3">
  290. <property name="visible">True</property>
  291. <property name="can_focus">False</property>
  292. <property name="label" translatable="yes" context="directsqldialog|label3">Output</property>
  293. <attributes>
  294. <attribute name="weight" value="bold"/>
  295. </attributes>
  296. </object>
  297. </child>
  298. </object>
  299. <packing>
  300. <property name="expand">False</property>
  301. <property name="fill">True</property>
  302. <property name="position">3</property>
  303. </packing>
  304. </child>
  305. </object>
  306. </child>
  307. <action-widgets>
  308. <action-widget response="-11">help</action-widget>
  309. <action-widget response="-7">close</action-widget>
  310. </action-widgets>
  311. </object>
  312. </interface>