carousel4.ui 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Generated with glade 3.38.2
  3. Copyright (C) 2017-2021
  4. This file is part of Bing Wallpaper.
  5. Bing Wallpaper is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. Bing Wallpaper is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with Bing Wallpaper. If not, see <http://www.gnu.org/licenses/>.
  15. Author: Michael Carroll
  16. -->
  17. <interface>
  18. <requires lib="gtk" version="4.0"/>
  19. <object class="GtkScrolledWindow" id="carouselScrollable">
  20. <property name="hscrollbar-policy">never</property>
  21. <property name="child">
  22. <object class="GtkViewport" id="carouselViewPort">
  23. <property name="can-focus">0</property>
  24. <property name="vexpand">0</property>
  25. <property name="height-request">500</property>
  26. <property name="child">
  27. <object class="GtkFlowBox" id="carouselFlowBox">
  28. <property name="can-focus">0</property>
  29. <property name="halign">center</property>
  30. <property name="homogeneous">1</property>
  31. <!-- <property name="max-children-per-line">5</property> -->
  32. <property name="min-children-per-line">2</property>
  33. <property name="row-spacing">10</property>
  34. <property name="column-spacing">4</property>
  35. </object>
  36. </property>
  37. </object>
  38. </property>
  39. </object>
  40. <object class="GtkFlowBoxChild" id="flowBoxChild">
  41. <property name="can-focus">0</property>
  42. <property name="child">
  43. <object class="GtkBox" id="imageGrid">
  44. <property name="can-focus">0</property>
  45. <property name="homogeneous">0</property>
  46. <property name="spacing">5</property>
  47. <!-- <property name="orientation">vertical</property> -->
  48. <child>
  49. <object class="GtkPicture" id="galleryImage">
  50. <property name="width-request">320</property>
  51. <property name="height-request">120</property>
  52. <property name="can-focus">0</property>
  53. <property name="hexpand">1</property>
  54. <property name="vexpand">1</property>
  55. </object>
  56. </child>
  57. <child>
  58. <object class="GtkBox" id="buttonBar">
  59. <property name="can-focus">0</property>
  60. <property name="orientation">vertical</property>
  61. <property name="vexpand">1</property>
  62. <property name="valign">center</property>
  63. <child>
  64. <object class="GtkButton" id="favButton">
  65. <property name="tooltip-text" translatable="yes">Favorite</property>
  66. <property name='icon-name'>checkbox</property>
  67. <!-- <property name='icon-name'>checkbox-checked</property> -->
  68. <property name="receives-default">1</property>
  69. <property name="hexpand">0</property>
  70. <property name="halign">center</property>
  71. </object>
  72. </child>
  73. <child>
  74. <object class="GtkButton" id="unfavButton">
  75. <property name="tooltip-text" translatable="yes">Favorite</property>
  76. <property name='icon-name'>checkbox-checked</property>
  77. <!-- <property name='icon-name'>checkbox-checked</property> -->
  78. <property name="receives-default">1</property>
  79. <property name="hexpand">0</property>
  80. <property name="halign">center</property>
  81. </object>
  82. </child>
  83. <child>
  84. <object class="GtkButton" id="applyButton">
  85. <property name="tooltip-text" translatable="yes">Apply</property>
  86. <property name='icon-name'>preferences-desktop-wallpaper</property>
  87. <property name="receives-default">1</property>
  88. <property name="hexpand">0</property>
  89. <property name="halign">center</property>
  90. </object>
  91. </child>
  92. <child>
  93. <object class="GtkButton" id="viewButton">
  94. <property name="tooltip-text" translatable="yes">View</property>
  95. <property name='icon-name'>view-reveal</property>
  96. <property name="receives-default">1</property>
  97. <property name="hexpand">0</property>
  98. <property name="halign">center</property>
  99. </object>
  100. </child>
  101. <child>
  102. <object class="GtkButton" id="infoButton">
  103. <property name="tooltip-text" translatable="yes">Info</property>
  104. <property name='icon-name'>preferences-system-details</property>
  105. <property name="receives-default">1</property>
  106. <property name="hexpand">0</property>
  107. <property name="halign">center</property>
  108. </object>
  109. </child>
  110. <child>
  111. <object class="GtkButton" id="deleteButton">
  112. <property name="tooltip-text" translatable="yes">Delete</property>
  113. <property name='icon-name'>edit-delete</property>
  114. <property name="receives-default">1</property>
  115. <property name="hexpand">0</property>
  116. <property name="halign">center</property>
  117. </object>
  118. </child>
  119. </object>
  120. </child>
  121. </object>
  122. </property>
  123. </object>
  124. <object class="GtkFlowBoxChild" id="flowBoxRandom">
  125. <property name="can-focus">0</property>
  126. <property name="child">
  127. <object class="GtkGrid" id="imageGrid">
  128. <property name="can-focus">0</property>
  129. <property name="halign">center</property>
  130. <child>
  131. <object class="GtkImage" id="randomImage">
  132. <property name="width-request">320</property>
  133. <property name="height-request">120</property>
  134. <property name="can-focus">0</property>
  135. <property name="icon-name">media-playlist-shuffle</property>
  136. <property name="icon_size">2</property>
  137. <layout>
  138. <property name="column">0</property>
  139. <property name="row">0</property>
  140. <property name="column-span">2</property>
  141. </layout>
  142. </object>
  143. </child>
  144. <child>
  145. <object class="GtkLabel" id="randomLabel">
  146. <property name="can-focus">0</property>
  147. <property name="label" translatable="yes">&lt;image name here&gt;</property>
  148. <layout>
  149. <property name="column">0</property>
  150. <property name="row">1</property>
  151. <property name="column-span">2</property>
  152. </layout>
  153. </object>
  154. </child>
  155. <child>
  156. <object class="GtkButton" id="randomButton">
  157. <property name="label" translatable="yes">Image shuffle mode</property>
  158. <property name="receives-default">1</property>
  159. <layout>
  160. <property name="column">0</property>
  161. <property name="row">2</property>
  162. <property name="column-span">2</property>
  163. </layout>
  164. </object>
  165. </child>
  166. </object>
  167. </property>
  168. </object>
  169. <object class="GtkFlowBoxChild" id="flowBoxPlaceholder">
  170. <property name="can-focus">0</property>
  171. <property name="child">
  172. <object class="GtkGrid" id="loadGrid">
  173. <property name="can-focus">0</property>
  174. <property name="halign">center</property>
  175. <child>
  176. <object class="GtkImage" id="loadImage">
  177. <property name="width-request">320</property>
  178. <property name="height-request">120</property>
  179. <property name="can-focus">0</property>
  180. <property name="icon-name">preferences-desktop-wallpaper-symbolic</property>
  181. <property name="icon_size">2</property>
  182. <layout>
  183. <property name="column">0</property>
  184. <property name="row">0</property>
  185. </layout>
  186. </object>
  187. </child>
  188. <child>
  189. <object class="GtkButton" id="loadButton">
  190. <property name="label" translatable="yes">Load image gallery</property>
  191. <property name="receives-default">1</property>
  192. <layout>
  193. <property name="column">0</property>
  194. <property name="row">1</property>
  195. </layout>
  196. </object>
  197. </child>
  198. </object>
  199. </property>
  200. </object>
  201. </interface>