GTK+ GUI for configuring PD Buddy Sink devices
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.

src-cap-dialog.ui 9.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.20.0 -->
  3. <interface>
  4. <requires lib="gtk+" version="3.20"/>
  5. <object class="GtkDialog" id="src-cap-dialog">
  6. <property name="can_focus">False</property>
  7. <property name="title" translatable="yes">Source Capabilities</property>
  8. <property name="modal">True</property>
  9. <property name="type_hint">dialog</property>
  10. <child internal-child="vbox">
  11. <object class="GtkBox">
  12. <property name="can_focus">False</property>
  13. <property name="orientation">vertical</property>
  14. <child internal-child="action_area">
  15. <object class="GtkButtonBox">
  16. <property name="can_focus">False</property>
  17. <property name="layout_style">end</property>
  18. <child>
  19. <placeholder/>
  20. </child>
  21. <child>
  22. <placeholder/>
  23. </child>
  24. </object>
  25. <packing>
  26. <property name="expand">False</property>
  27. <property name="fill">False</property>
  28. <property name="position">0</property>
  29. </packing>
  30. </child>
  31. <child>
  32. <object class="GtkScrolledWindow">
  33. <property name="visible">True</property>
  34. <property name="can_focus">True</property>
  35. <property name="hscrollbar_policy">never</property>
  36. <property name="min_content_height">250</property>
  37. <property name="propagate_natural_width">True</property>
  38. <child>
  39. <object class="GtkViewport">
  40. <property name="visible">True</property>
  41. <property name="can_focus">False</property>
  42. <child>
  43. <object class="GtkBox">
  44. <property name="visible">True</property>
  45. <property name="can_focus">False</property>
  46. <property name="valign">start</property>
  47. <property name="margin_left">50</property>
  48. <property name="margin_right">50</property>
  49. <property name="margin_top">22</property>
  50. <property name="margin_bottom">22</property>
  51. <property name="orientation">vertical</property>
  52. <property name="spacing">18</property>
  53. <child>
  54. <object class="GtkGrid">
  55. <property name="visible">True</property>
  56. <property name="can_focus">False</property>
  57. <property name="halign">center</property>
  58. <property name="row_spacing">6</property>
  59. <property name="column_spacing">12</property>
  60. <child>
  61. <object class="GtkLabel" id="power-header">
  62. <property name="visible">True</property>
  63. <property name="can_focus">False</property>
  64. <property name="halign">end</property>
  65. <property name="valign">start</property>
  66. <property name="label" translatable="yes">PD Power</property>
  67. <style>
  68. <class name="dim-label"/>
  69. </style>
  70. </object>
  71. <packing>
  72. <property name="left_attach">0</property>
  73. <property name="top_attach">0</property>
  74. </packing>
  75. </child>
  76. <child>
  77. <object class="GtkLabel" id="info-header">
  78. <property name="visible">True</property>
  79. <property name="can_focus">False</property>
  80. <property name="halign">end</property>
  81. <property name="valign">start</property>
  82. <property name="label" translatable="yes">Information</property>
  83. <style>
  84. <class name="dim-label"/>
  85. </style>
  86. </object>
  87. <packing>
  88. <property name="left_attach">0</property>
  89. <property name="top_attach">1</property>
  90. </packing>
  91. </child>
  92. <child>
  93. <object class="GtkLabel" id="info-label">
  94. <property name="visible">True</property>
  95. <property name="can_focus">False</property>
  96. <property name="halign">start</property>
  97. <property name="valign">start</property>
  98. <property name="label" translatable="yes">label</property>
  99. </object>
  100. <packing>
  101. <property name="left_attach">1</property>
  102. <property name="top_attach">1</property>
  103. </packing>
  104. </child>
  105. <child>
  106. <object class="GtkBox">
  107. <property name="visible">True</property>
  108. <property name="can_focus">False</property>
  109. <property name="halign">start</property>
  110. <property name="valign">start</property>
  111. <property name="spacing">6</property>
  112. <child>
  113. <object class="GtkLabel" id="power-label">
  114. <property name="visible">True</property>
  115. <property name="can_focus">False</property>
  116. <property name="halign">start</property>
  117. <property name="valign">start</property>
  118. <property name="label" translatable="yes">label</property>
  119. </object>
  120. <packing>
  121. <property name="expand">False</property>
  122. <property name="fill">True</property>
  123. <property name="position">0</property>
  124. </packing>
  125. </child>
  126. <child>
  127. <object class="GtkImage" id="source-cap-warning">
  128. <property name="can_focus">False</property>
  129. <property name="tooltip_text" translatable="yes">Source violates the USB PD Power Rules</property>
  130. <property name="halign">start</property>
  131. <property name="icon_name">dialog-warning-symbolic</property>
  132. </object>
  133. <packing>
  134. <property name="expand">False</property>
  135. <property name="fill">True</property>
  136. <property name="position">1</property>
  137. </packing>
  138. </child>
  139. </object>
  140. <packing>
  141. <property name="left_attach">1</property>
  142. <property name="top_attach">0</property>
  143. </packing>
  144. </child>
  145. </object>
  146. <packing>
  147. <property name="expand">False</property>
  148. <property name="fill">True</property>
  149. <property name="position">0</property>
  150. </packing>
  151. </child>
  152. <child>
  153. <object class="GtkFrame">
  154. <property name="visible">True</property>
  155. <property name="can_focus">False</property>
  156. <property name="halign">center</property>
  157. <property name="label_xalign">0</property>
  158. <property name="shadow_type">in</property>
  159. <child>
  160. <object class="GtkAlignment">
  161. <property name="visible">True</property>
  162. <property name="can_focus">False</property>
  163. <child>
  164. <object class="GtkListBox" id="src-cap-list">
  165. <property name="width_request">300</property>
  166. <property name="visible">True</property>
  167. <property name="can_focus">False</property>
  168. <property name="selection_mode">none</property>
  169. <property name="activate_on_single_click">False</property>
  170. </object>
  171. </child>
  172. </object>
  173. </child>
  174. <child type="label_item">
  175. <placeholder/>
  176. </child>
  177. </object>
  178. <packing>
  179. <property name="expand">False</property>
  180. <property name="fill">False</property>
  181. <property name="position">1</property>
  182. </packing>
  183. </child>
  184. </object>
  185. </child>
  186. </object>
  187. </child>
  188. </object>
  189. <packing>
  190. <property name="expand">True</property>
  191. <property name="fill">True</property>
  192. <property name="position">1</property>
  193. </packing>
  194. </child>
  195. </object>
  196. </child>
  197. <child>
  198. <placeholder/>
  199. </child>
  200. </object>
  201. </interface>