carousel4.ui 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. <style>
  64. <class name="linked"/>
  65. </style>
  66. <child>
  67. <object class="GtkButton" id="favButton">
  68. <property name="tooltip-text" translatable="yes">Favorite</property>
  69. <property name='icon-name'>checkbox</property>
  70. <!-- <property name='icon-name'>checkbox-checked</property> -->
  71. <property name="receives-default">1</property>
  72. <property name="hexpand">0</property>
  73. <property name="halign">center</property>
  74. </object>
  75. </child>
  76. <child>
  77. <object class="GtkButton" id="unfavButton">
  78. <property name="tooltip-text" translatable="yes">Favorite</property>
  79. <property name='icon-name'>checkbox-checked</property>
  80. <!-- <property name='icon-name'>checkbox-checked</property> -->
  81. <property name="receives-default">1</property>
  82. <property name="hexpand">0</property>
  83. <property name="halign">center</property>
  84. </object>
  85. </child>
  86. <child>
  87. <object class="GtkButton" id="applyButton">
  88. <property name="tooltip-text" translatable="yes">Apply</property>
  89. <property name='icon-name'>preferences-desktop-wallpaper</property>
  90. <property name="receives-default">1</property>
  91. <property name="hexpand">0</property>
  92. <property name="halign">center</property>
  93. </object>
  94. </child>
  95. <child>
  96. <object class="GtkButton" id="viewButton">
  97. <property name="tooltip-text" translatable="yes">View</property>
  98. <property name='icon-name'>view-reveal</property>
  99. <property name="receives-default">1</property>
  100. <property name="hexpand">0</property>
  101. <property name="halign">center</property>
  102. </object>
  103. </child>
  104. <child>
  105. <object class="GtkButton" id="infoButton">
  106. <property name="tooltip-text" translatable="yes">Info</property>
  107. <property name='icon-name'>preferences-system-details</property>
  108. <property name="receives-default">1</property>
  109. <property name="hexpand">0</property>
  110. <property name="halign">center</property>
  111. </object>
  112. </child>
  113. <child>
  114. <object class="GtkButton" id="deleteButton">
  115. <property name="tooltip-text" translatable="yes">Delete</property>
  116. <property name='icon-name'>edit-delete</property>
  117. <property name="receives-default">1</property>
  118. <property name="hexpand">0</property>
  119. <property name="halign">center</property>
  120. </object>
  121. </child>
  122. </object>
  123. </child>
  124. </object>
  125. </property>
  126. </object>
  127. <object class="GtkFlowBoxChild" id="flowBoxRandom">
  128. <property name="can-focus">0</property>
  129. <property name="child">
  130. <object class="GtkGrid" id="imageGrid">
  131. <property name="can-focus">0</property>
  132. <property name="halign">center</property>
  133. <child>
  134. <object class="GtkImage" id="randomImage">
  135. <property name="width-request">320</property>
  136. <property name="height-request">120</property>
  137. <property name="can-focus">0</property>
  138. <property name="icon-name">media-playlist-shuffle</property>
  139. <property name="icon_size">2</property>
  140. <layout>
  141. <property name="column">0</property>
  142. <property name="row">0</property>
  143. <property name="column-span">2</property>
  144. </layout>
  145. </object>
  146. </child>
  147. <child>
  148. <object class="GtkLabel" id="randomLabel">
  149. <property name="can-focus">0</property>
  150. <property name="label" translatable="yes">&lt;image name here&gt;</property>
  151. <layout>
  152. <property name="column">0</property>
  153. <property name="row">1</property>
  154. <property name="column-span">2</property>
  155. </layout>
  156. </object>
  157. </child>
  158. <child>
  159. <object class="GtkButton" id="randomButton">
  160. <property name="label" translatable="yes">Image shuffle mode</property>
  161. <property name="receives-default">1</property>
  162. <layout>
  163. <property name="column">0</property>
  164. <property name="row">2</property>
  165. <property name="column-span">2</property>
  166. </layout>
  167. </object>
  168. </child>
  169. </object>
  170. </property>
  171. </object>
  172. <object class="GtkFlowBoxChild" id="flowBoxPlaceholder">
  173. <property name="can-focus">0</property>
  174. <property name="child">
  175. <object class="GtkGrid" id="loadGrid">
  176. <property name="can-focus">0</property>
  177. <property name="halign">center</property>
  178. <child>
  179. <object class="GtkImage" id="loadImage">
  180. <property name="width-request">320</property>
  181. <property name="height-request">120</property>
  182. <property name="can-focus">0</property>
  183. <property name="icon-name">preferences-desktop-wallpaper-symbolic</property>
  184. <property name="icon_size">2</property>
  185. <layout>
  186. <property name="column">0</property>
  187. <property name="row">0</property>
  188. </layout>
  189. </object>
  190. </child>
  191. <child>
  192. <object class="GtkButton" id="loadButton">
  193. <property name="label" translatable="yes">Load image gallery</property>
  194. <property name="receives-default">1</property>
  195. <layout>
  196. <property name="column">0</property>
  197. <property name="row">1</property>
  198. </layout>
  199. </object>
  200. </child>
  201. </object>
  202. </property>
  203. </object>
  204. </interface>