addmodeldialog.ui 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.36.0 -->
  3. <interface domain="svx">
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkDialog" id="AddModelDialog">
  6. <property name="can_focus">False</property>
  7. <property name="border_width">6</property>
  8. <property name="title" translatable="yes" context="addmodeldialog|AddModelDialog">Add Model</property>
  9. <property name="modal">True</property>
  10. <property name="default_width">0</property>
  11. <property name="default_height">0</property>
  12. <property name="type_hint">dialog</property>
  13. <child internal-child="vbox">
  14. <object class="GtkBox" id="dialog-vbox1">
  15. <property name="can_focus">False</property>
  16. <property name="orientation">vertical</property>
  17. <property name="spacing">12</property>
  18. <child internal-child="action_area">
  19. <object class="GtkButtonBox" id="dialog-action_area1">
  20. <property name="can_focus">False</property>
  21. <property name="layout_style">end</property>
  22. <child>
  23. <object class="GtkButton" id="ok">
  24. <property name="label">gtk-ok</property>
  25. <property name="visible">True</property>
  26. <property name="can_focus">True</property>
  27. <property name="can_default">True</property>
  28. <property name="has_default">True</property>
  29. <property name="receives_default">True</property>
  30. <property name="use_stock">True</property>
  31. </object>
  32. <packing>
  33. <property name="expand">False</property>
  34. <property name="fill">True</property>
  35. <property name="position">0</property>
  36. </packing>
  37. </child>
  38. <child>
  39. <object class="GtkButton" id="cancel">
  40. <property name="label">gtk-cancel</property>
  41. <property name="visible">True</property>
  42. <property name="can_focus">True</property>
  43. <property name="receives_default">True</property>
  44. <property name="use_stock">True</property>
  45. </object>
  46. <packing>
  47. <property name="expand">False</property>
  48. <property name="fill">True</property>
  49. <property name="position">1</property>
  50. </packing>
  51. </child>
  52. <child>
  53. <object class="GtkButton" id="help">
  54. <property name="label">gtk-help</property>
  55. <property name="visible">True</property>
  56. <property name="can_focus">True</property>
  57. <property name="receives_default">True</property>
  58. <property name="use_stock">True</property>
  59. </object>
  60. <packing>
  61. <property name="expand">False</property>
  62. <property name="fill">True</property>
  63. <property name="position">2</property>
  64. <property name="secondary">True</property>
  65. </packing>
  66. </child>
  67. </object>
  68. <packing>
  69. <property name="expand">False</property>
  70. <property name="fill">True</property>
  71. <property name="pack_type">end</property>
  72. <property name="position">0</property>
  73. </packing>
  74. </child>
  75. <child>
  76. <!-- n-columns=1 n-rows=1 -->
  77. <object class="GtkGrid" id="grid3">
  78. <property name="visible">True</property>
  79. <property name="can_focus">False</property>
  80. <property name="hexpand">True</property>
  81. <property name="row_spacing">6</property>
  82. <property name="column_spacing">12</property>
  83. <child>
  84. <object class="GtkCheckButton" id="modify">
  85. <property name="label" translatable="yes" context="addmodeldialog|modify">Model data updates change document's modification status</property>
  86. <property name="visible">True</property>
  87. <property name="can_focus">True</property>
  88. <property name="receives_default">False</property>
  89. <property name="use_underline">True</property>
  90. <property name="xalign">0</property>
  91. <property name="draw_indicator">True</property>
  92. <child internal-child="accessible">
  93. <object class="AtkObject" id="modify-atkobject">
  94. <property name="AtkObject::accessible-description" translatable="yes" context="addmodeldialog|extended_tip|modify">When enabled, the document status will be set to "modified" when you change any form control that is bound to any data in the model. When not enabled, such a change does not set the document status to "modified".</property>
  95. </object>
  96. </child>
  97. </object>
  98. <packing>
  99. <property name="left_attach">0</property>
  100. <property name="top_attach">1</property>
  101. <property name="width">2</property>
  102. </packing>
  103. </child>
  104. <child>
  105. <object class="GtkEntry" id="name">
  106. <property name="visible">True</property>
  107. <property name="can_focus">True</property>
  108. <property name="hexpand">True</property>
  109. <property name="activates_default">True</property>
  110. <property name="truncate-multiline">True</property>
  111. <child internal-child="accessible">
  112. <object class="AtkObject" id="name-atkobject">
  113. <property name="AtkObject::accessible-description" translatable="yes" context="addmodeldialog|extended_tip|name">Enter the name.</property>
  114. </object>
  115. </child>
  116. </object>
  117. <packing>
  118. <property name="left_attach">1</property>
  119. <property name="top_attach">0</property>
  120. </packing>
  121. </child>
  122. <child>
  123. <object class="GtkLabel" id="label2">
  124. <property name="visible">True</property>
  125. <property name="can_focus">False</property>
  126. <property name="label" translatable="yes" context="addmodeldialog|label2">_Name:</property>
  127. <property name="use_underline">True</property>
  128. <property name="mnemonic_widget">name</property>
  129. <property name="xalign">0</property>
  130. </object>
  131. <packing>
  132. <property name="left_attach">0</property>
  133. <property name="top_attach">0</property>
  134. </packing>
  135. </child>
  136. <child>
  137. <object class="GtkLabel" id="alttitle">
  138. <property name="can_focus">False</property>
  139. <property name="no_show_all">True</property>
  140. <property name="label" translatable="yes" context="addmodeldialog|alttitle">Edit Model</property>
  141. </object>
  142. <packing>
  143. <property name="left_attach">0</property>
  144. <property name="top_attach">2</property>
  145. <property name="width">2</property>
  146. </packing>
  147. </child>
  148. </object>
  149. <packing>
  150. <property name="expand">False</property>
  151. <property name="fill">True</property>
  152. <property name="position">1</property>
  153. </packing>
  154. </child>
  155. </object>
  156. </child>
  157. <action-widgets>
  158. <action-widget response="-5">ok</action-widget>
  159. <action-widget response="-6">cancel</action-widget>
  160. <action-widget response="-11">help</action-widget>
  161. </action-widgets>
  162. <child type="titlebar">
  163. <placeholder/>
  164. </child>
  165. </object>
  166. </interface>