querypropertiesdialog.ui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="dba">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkDialog" id="QueryPropertiesDialog">
  6. <property name="can_focus">False</property>
  7. <property name="border_width">6</property>
  8. <property name="title" translatable="yes" context="querypropertiesdialog|QueryPropertiesDialog">Query Properties</property>
  9. <property name="resizable">False</property>
  10. <property name="modal">True</property>
  11. <property name="type_hint">dialog</property>
  12. <child internal-child="vbox">
  13. <object class="GtkBox" id="dialog-vbox1">
  14. <property name="can_focus">False</property>
  15. <property name="orientation">vertical</property>
  16. <property name="spacing">12</property>
  17. <child internal-child="action_area">
  18. <object class="GtkButtonBox" id="dialog-action_area1">
  19. <property name="can_focus">False</property>
  20. <property name="layout_style">end</property>
  21. <child>
  22. <object class="GtkButton" id="ok">
  23. <property name="label">gtk-ok</property>
  24. <property name="visible">True</property>
  25. <property name="can_focus">True</property>
  26. <property name="can_default">True</property>
  27. <property name="has_default">True</property>
  28. <property name="receives_default">True</property>
  29. <property name="use_stock">True</property>
  30. </object>
  31. <packing>
  32. <property name="expand">False</property>
  33. <property name="fill">True</property>
  34. <property name="position">0</property>
  35. </packing>
  36. </child>
  37. <child>
  38. <object class="GtkButton" id="cancel">
  39. <property name="label">gtk-cancel</property>
  40. <property name="visible">True</property>
  41. <property name="can_focus">True</property>
  42. <property name="receives_default">True</property>
  43. <property name="use_stock">True</property>
  44. </object>
  45. <packing>
  46. <property name="expand">False</property>
  47. <property name="fill">True</property>
  48. <property name="position">1</property>
  49. </packing>
  50. </child>
  51. <child>
  52. <object class="GtkButton" id="help">
  53. <property name="label">gtk-help</property>
  54. <property name="visible">True</property>
  55. <property name="can_focus">True</property>
  56. <property name="receives_default">True</property>
  57. <property name="use_stock">True</property>
  58. </object>
  59. <packing>
  60. <property name="expand">False</property>
  61. <property name="fill">True</property>
  62. <property name="position">2</property>
  63. <property name="secondary">True</property>
  64. </packing>
  65. </child>
  66. </object>
  67. <packing>
  68. <property name="expand">False</property>
  69. <property name="fill">True</property>
  70. <property name="pack_type">end</property>
  71. <property name="position">0</property>
  72. </packing>
  73. </child>
  74. <child>
  75. <!-- n-columns=1 n-rows=1 -->
  76. <object class="GtkGrid" id="grid1">
  77. <property name="visible">True</property>
  78. <property name="can_focus">False</property>
  79. <property name="hexpand">True</property>
  80. <property name="vexpand">True</property>
  81. <property name="row_spacing">6</property>
  82. <property name="column_spacing">12</property>
  83. <child>
  84. <object class="GtkLabel" id="limit-label">
  85. <property name="visible">True</property>
  86. <property name="can_focus">False</property>
  87. <property name="label" translatable="yes" context="querypropertiesdialog|limit-label">Limit:</property>
  88. <property name="xalign">1</property>
  89. </object>
  90. <packing>
  91. <property name="left_attach">0</property>
  92. <property name="top_attach">1</property>
  93. </packing>
  94. </child>
  95. <child>
  96. <object class="GtkButtonBox" id="distinct-buttons">
  97. <property name="visible">True</property>
  98. <property name="can_focus">False</property>
  99. <property name="layout_style">start</property>
  100. <child>
  101. <object class="GtkRadioButton" id="distinct">
  102. <property name="label" translatable="yes" context="querypropertiesdialog|distinct">Yes</property>
  103. <property name="visible">True</property>
  104. <property name="can_focus">True</property>
  105. <property name="receives_default">False</property>
  106. <property name="use_underline">True</property>
  107. <property name="xalign">0</property>
  108. <property name="active">True</property>
  109. <property name="draw_indicator">True</property>
  110. <child internal-child="accessible">
  111. <object class="AtkObject" id="distinct-atkobject">
  112. <property name="AtkObject::accessible-description" translatable="yes" context="querypropertiesdialog|extended_tip|distinct">Use distinct values in query.</property>
  113. </object>
  114. </child>
  115. </object>
  116. <packing>
  117. <property name="expand">False</property>
  118. <property name="fill">True</property>
  119. <property name="position">0</property>
  120. </packing>
  121. </child>
  122. <child>
  123. <object class="GtkRadioButton" id="nondistinct">
  124. <property name="label" translatable="yes" context="querypropertiesdialog|nondistinct">No</property>
  125. <property name="visible">True</property>
  126. <property name="can_focus">True</property>
  127. <property name="receives_default">False</property>
  128. <property name="use_underline">True</property>
  129. <property name="xalign">0</property>
  130. <property name="draw_indicator">True</property>
  131. <property name="group">distinct</property>
  132. <child internal-child="accessible">
  133. <object class="AtkObject" id="nondistinct-atkobject">
  134. <property name="AtkObject::accessible-description" translatable="yes" context="querypropertiesdialog|extended_tip|nondistinct">Not use distinct values in query.</property>
  135. </object>
  136. </child>
  137. </object>
  138. <packing>
  139. <property name="expand">False</property>
  140. <property name="fill">True</property>
  141. <property name="position">1</property>
  142. </packing>
  143. </child>
  144. </object>
  145. <packing>
  146. <property name="left_attach">1</property>
  147. <property name="top_attach">0</property>
  148. </packing>
  149. </child>
  150. <child>
  151. <object class="GtkLabel" id="distinctvalues">
  152. <property name="visible">True</property>
  153. <property name="can_focus">False</property>
  154. <property name="label" translatable="yes" context="querypropertiesdialog|distinctvalues">Distinct values:</property>
  155. <property name="xalign">1</property>
  156. </object>
  157. <packing>
  158. <property name="left_attach">0</property>
  159. <property name="top_attach">0</property>
  160. </packing>
  161. </child>
  162. <child>
  163. <object class="GtkComboBoxText" id="limitbox">
  164. <property name="visible">True</property>
  165. <property name="can_focus">False</property>
  166. <property name="hexpand">True</property>
  167. <property name="has_entry">True</property>
  168. <child internal-child="entry">
  169. <object class="GtkEntry">
  170. <property name="can_focus">True</property>
  171. <property name="truncate-multiline">True</property>
  172. <property name="activates_default">True</property>
  173. </object>
  174. </child>
  175. <child internal-child="accessible">
  176. <object class="AtkObject" id="limitbox-atkobject">
  177. <property name="AtkObject::accessible-description" translatable="yes" context="querypropertiesdialog|extended_tip|limitbox">Adds a Limit to set the maximum number of records to return.</property>
  178. </object>
  179. </child>
  180. </object>
  181. <packing>
  182. <property name="left_attach">1</property>
  183. <property name="top_attach">1</property>
  184. </packing>
  185. </child>
  186. </object>
  187. <packing>
  188. <property name="expand">False</property>
  189. <property name="fill">True</property>
  190. <property name="position">1</property>
  191. </packing>
  192. </child>
  193. </object>
  194. </child>
  195. <action-widgets>
  196. <action-widget response="-5">ok</action-widget>
  197. <action-widget response="-6">cancel</action-widget>
  198. <action-widget response="-11">help</action-widget>
  199. </action-widgets>
  200. <child type="titlebar">
  201. <placeholder/>
  202. </child>
  203. <child internal-child="accessible">
  204. <object class="AtkObject" id="QueryPropertiesDialog-atkobject">
  205. <property name="AtkObject::accessible-description" translatable="yes" context="querypropertiesdialog|extended_tip|QueryPropertiesDialog">In the Query Properties dialog you can set two properties of the SQL Query, i.e. whether to return distinct values, and whether to limit the result set.</property>
  206. </object>
  207. </child>
  208. </object>
  209. </interface>