camera.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <interface>
  3. <requires lib="gtk" version="4.0"/>
  4. <object class="GtkListStore" id="list-postprocessors">
  5. <columns>
  6. <column type="gchararray"/>
  7. <column type="gchararray"/>
  8. </columns>
  9. </object>
  10. <object class="GtkWindow" id="window">
  11. <property name="can-focus">0</property>
  12. <property name="default-width">360</property>
  13. <property name="default-height">640</property>
  14. <property name="decorated">0</property>
  15. <property name="child">
  16. <object class="GtkStack" id="main_stack">
  17. <property name="can-focus">0</property>
  18. <child>
  19. <object class="GtkStackPage">
  20. <property name="name">main</property>
  21. <property name="child">
  22. <object class="GtkOverlay">
  23. <property name="can-focus">0</property>
  24. <child>
  25. <object class="GtkGLArea" id="preview">
  26. <property name="vexpand">1</property>
  27. <property name="can-focus">0</property>
  28. <property name="use-es">1</property>
  29. </object>
  30. </child>
  31. <child type="overlay">
  32. <object class="GtkBox" id="top-box">
  33. <property name="orientation">vertical</property>
  34. <property name="halign">fill</property>
  35. <property name="valign">start</property>
  36. <property name="spacing">5</property>
  37. <property name="can-focus">0</property>
  38. <child>
  39. <object class="GtkBox">
  40. <property name="orientation" bind-source="bottom-box" bind-property="orientation"/>
  41. <property name="vexpand">1</property>
  42. <property name="hexpand">1</property>
  43. <property name="valign">start</property>
  44. <property name="margin-start">5</property>
  45. <property name="margin-end">5</property>
  46. <property name="margin-top">5</property>
  47. <property name="margin-bottom">5</property>
  48. <property name="can-focus">0</property>
  49. <property name="spacing">5</property>
  50. <child>
  51. <object class="GtkButton" id="iso-controls-button">
  52. <property name="valign">start</property>
  53. <property name="icon-name">iso-auto-symbolic</property>
  54. <style>
  55. <class name="flat"/>
  56. <class name="control"/>
  57. </style>
  58. </object>
  59. </child>
  60. <child>
  61. <object class="GtkButton" id="shutter-controls-button">
  62. <property name="valign">start</property>
  63. <property name="icon-name">shutter-auto-symbolic</property>
  64. <style>
  65. <class name="flat"/>
  66. <class name="control"/>
  67. </style>
  68. </object>
  69. </child>
  70. <child>
  71. <object class="GtkButton" id="focus-controls-button">
  72. <property name="valign">start</property>
  73. <property name="icon-name">focus-auto-symbolic</property>
  74. <style>
  75. <class name="flat"/>
  76. <class name="control"/>
  77. </style>
  78. </object>
  79. </child>
  80. <child>
  81. <object class="GtkButton" id="flash-controls-button">
  82. <property name="valign">start</property>
  83. <property name="icon-name">flash-disabled-symbolic</property>
  84. <style>
  85. <class name="flat"/>
  86. <class name="control"/>
  87. </style>
  88. </object>
  89. </child>
  90. </object>
  91. </child>
  92. <child>
  93. <object class="GtkButton">
  94. <property name="visible">0</property>
  95. <property name="halign">start</property>
  96. <property name="margin-start">5</property>
  97. <property name="margin-end">5</property>
  98. <property name="margin-top">5</property>
  99. <property name="margin-bottom">5</property>
  100. <child>
  101. <object class="GtkBox">
  102. <property name="orientation">horizontal</property>
  103. <property name="spacing">10</property>
  104. <child>
  105. <object class="GtkLabel">
  106. <property name="label">Error</property>
  107. </object>
  108. </child>
  109. <child>
  110. <object class="GtkImage">
  111. <property name="icon-name">dialog-warning-symbolic</property>
  112. </object>
  113. </child>
  114. </object>
  115. </child>
  116. <style>
  117. <class name="destructive-action"/>
  118. </style>
  119. </object>
  120. </child>
  121. <style>
  122. <class name="button-overlay"/>
  123. </style>
  124. </object>
  125. </child>
  126. <child type="overlay">
  127. <object class="GtkBox" id="message-box">
  128. <property name="orientation">vertical</property>
  129. <property name="halign">fill</property>
  130. <property name="valign">center</property>
  131. <property name="spacing">5</property>
  132. <property name="can-focus">0</property>
  133. <property name="visible">0</property>
  134. <child>
  135. <object class="GtkLabel" id="message-label">
  136. <property name="label">Error happened</property>
  137. <property name="vexpand">1</property>
  138. <property name="hexpand">1</property>
  139. <property name="valign">start</property>
  140. <property name="margin-start">5</property>
  141. <property name="margin-end">5</property>
  142. <property name="margin-top">5</property>
  143. <property name="margin-bottom">5</property>
  144. <property name="can-focus">0</property>
  145. </object>
  146. </child>
  147. <child>
  148. <object class="GtkButton">
  149. <property name="visible">0</property>
  150. <property name="halign">start</property>
  151. <property name="margin-start">5</property>
  152. <property name="margin-end">5</property>
  153. <property name="margin-top">5</property>
  154. <property name="margin-bottom">5</property>
  155. <child>
  156. <object class="GtkBox">
  157. <property name="orientation">horizontal</property>
  158. <property name="spacing">10</property>
  159. <child>
  160. <object class="GtkLabel">
  161. <property name="label">Error</property>
  162. </object>
  163. </child>
  164. <child>
  165. <object class="GtkImage">
  166. <property name="icon-name">dialog-warning-symbolic</property>
  167. </object>
  168. </child>
  169. </object>
  170. </child>
  171. <style>
  172. <class name="destructive-action"/>
  173. </style>
  174. </object>
  175. </child>
  176. <style>
  177. <class name="error-overlay"/>
  178. </style>
  179. </object>
  180. </child>
  181. <child type="overlay">
  182. <object class="GtkBox" id="bottom-box">
  183. <property name="orientation">horizontal</property>
  184. <property name="halign">fill</property>
  185. <property name="valign">end</property>
  186. <child>
  187. <object class="GtkBox">
  188. <property name="orientation" bind-source="bottom-box" bind-property="orientation"/>
  189. <property name="hexpand">1</property>
  190. <property name="vexpand">1</property>
  191. <property name="halign">center</property>
  192. <property name="valign">center</property>
  193. <property name="margin-start">5</property>
  194. <property name="margin-end">5</property>
  195. <property name="margin-top">5</property>
  196. <property name="margin-bottom">5</property>
  197. <property name="spacing">5</property>
  198. <child>
  199. <object class="GtkButton">
  200. <property name="action-name">app.open-settings</property>
  201. <property name="icon-name">settings-symbolic</property>
  202. </object>
  203. </child>
  204. <child>
  205. <object class="GtkButton">
  206. <property name="action-name">app.switch-camera</property>
  207. <property name="icon-name">switch-camera-symbolic</property>
  208. </object>
  209. </child>
  210. </object>
  211. </child>
  212. <child>
  213. <object class="GtkButton">
  214. <property name="margin-top">5</property>
  215. <property name="margin-bottom">5</property>
  216. <property name="action-name">app.capture</property>
  217. <child>
  218. <object class="GtkImage">
  219. <property name="pixel-size">60</property>
  220. <property name="can-focus">0</property>
  221. <property name="icon-name">shutter-button-symbolic</property>
  222. </object>
  223. </child>
  224. <style>
  225. <class name="circular"/>
  226. </style>
  227. </object>
  228. </child>
  229. <child>
  230. <object class="GtkBox">
  231. <property name="orientation" bind-source="bottom-box" bind-property="orientation"/>
  232. <property name="hexpand">1</property>
  233. <property name="vexpand">1</property>
  234. <property name="halign">center</property>
  235. <property name="valign">center</property>
  236. <property name="margin-start">5</property>
  237. <property name="margin-end">5</property>
  238. <property name="margin-top">5</property>
  239. <property name="margin-bottom">5</property>
  240. <property name="spacing">5</property>
  241. <child>
  242. <object class="GtkButton" id="movie">
  243. <property name="valign">start</property>
  244. <property name="icon-name">video-inactive-symbolic</property>
  245. </object>
  246. </child>
  247. <child>
  248. <object class="GtkButton">
  249. <property name="action-name">app.open-last</property>
  250. <child>
  251. <object class="GtkStack" id="open_last_stack">
  252. <property name="can-focus">0</property>
  253. <child>
  254. <object class="GtkImage" id="thumb_last">
  255. <property name="width-request">24</property>
  256. <property name="height-request">24</property>
  257. <property name="can-focus">0</property>
  258. </object>
  259. </child>
  260. <child>
  261. <object class="GtkSpinner" id="process_spinner">
  262. <property name="width-request">24</property>
  263. <property name="height-request">24</property>
  264. <property name="can-focus">0</property>
  265. </object>
  266. </child>
  267. </object>
  268. </child>
  269. </object>
  270. </child>
  271. <child>
  272. <object class="GtkButton">
  273. <property name="action-name">app.open-photos</property>
  274. <property name="icon-name">folder-symbolic</property>
  275. </object>
  276. </child>
  277. </object>
  278. </child>
  279. <style>
  280. <class name="button-overlay"/>
  281. </style>
  282. </object>
  283. </child>
  284. </object>
  285. </property>
  286. </object>
  287. </child>
  288. <child>
  289. <object class="GtkStackPage">
  290. <property name="name">settings</property>
  291. <property name="title" translatable="yes">page1</property>
  292. <property name="child">
  293. <object class="GtkScrolledWindow">
  294. <property name="child">
  295. <object class="GtkViewport">
  296. <property name="can-focus">0</property>
  297. <property name="child">
  298. <object class="GtkBox">
  299. <property name="can-focus">0</property>
  300. <property name="margin-start">10</property>
  301. <property name="margin-end">10</property>
  302. <property name="margin-top">10</property>
  303. <property name="margin-bottom">10</property>
  304. <property name="orientation">vertical</property>
  305. <property name="spacing">10</property>
  306. <child>
  307. <object class="GtkBox">
  308. <property name="can-focus">0</property>
  309. <child>
  310. <object class="GtkButton">
  311. <property name="label" translatable="yes">Back</property>
  312. <property name="margin-start">10</property>
  313. <property name="margin-end">10</property>
  314. <property name="action-name">app.close-settings</property>
  315. <style>
  316. <class name="suggested-action"/>
  317. </style>
  318. </object>
  319. </child>
  320. <child>
  321. <object class="GtkButton">
  322. <property name="label" translatable="yes">About</property>
  323. <property name="margin-start">10</property>
  324. <property name="margin-end">10</property>
  325. <property name="action-name">app.about</property>
  326. </object>
  327. </child>
  328. </object>
  329. </child>
  330. <child>
  331. <object class="GtkLabel">
  332. <property name="visible">True</property>
  333. <property name="halign">start</property>
  334. <property name="label">Postprocessor</property>
  335. <style>
  336. <class name="heading"/>
  337. </style>
  338. </object>
  339. </child>
  340. <child>
  341. <object class="GtkComboBox" id="setting-processor">
  342. <property name="visible">True</property>
  343. <property name="model">list-postprocessors</property>
  344. <property name="entry-text-column">1</property>
  345. <property name="id-column">0</property>
  346. <child>
  347. <object class="GtkCellRendererText"/>
  348. <attributes>
  349. <attribute name="text">1</attribute>
  350. </attributes>
  351. </child>
  352. </object>
  353. </child>
  354. <child>
  355. <object class="GtkCheckButton" id="setting-raw">
  356. <property name="label">Save raw files</property>
  357. </object>
  358. </child>
  359. <child>
  360. <object class="GtkBox" id="feedback-box">
  361. <property name="orientation">vertical</property>
  362. <child>
  363. <object class="GtkLabel">
  364. <property name="halign">start</property>
  365. <property name="label">Feedback</property>
  366. <style>
  367. <class name="heading"/>
  368. </style>
  369. </object>
  370. </child>
  371. <child>
  372. <object class="GtkBox" id="shutter-sound-box">
  373. <property name="orientation">horizontal</property>
  374. <property name="spacing">12</property>
  375. <child>
  376. <object class="GtkLabel">
  377. <property name="label" translatable="yes">Shutter sound</property>
  378. </object>
  379. </child>
  380. <child>
  381. <object class="GtkSwitch" id="shutter-sound-switch">
  382. </object>
  383. </child>
  384. </object>
  385. </child>
  386. </object>
  387. </child>
  388. </object>
  389. </property>
  390. </object>
  391. </property>
  392. </object>
  393. </property>
  394. </object>
  395. </child>
  396. </object>
  397. </property>
  398. </object>
  399. </interface>