camera.ui 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  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. <child>
  91. <object class="GtkButton" id="status-button">
  92. <property name="valign">start</property>
  93. <style>
  94. <class name="flat"/>
  95. <class name="control"/>
  96. </style>
  97. </object>
  98. </child>
  99. </object>
  100. </child>
  101. <child>
  102. <object class="GtkButton">
  103. <property name="visible">0</property>
  104. <property name="halign">start</property>
  105. <property name="margin-start">5</property>
  106. <property name="margin-end">5</property>
  107. <property name="margin-top">5</property>
  108. <property name="margin-bottom">5</property>
  109. <child>
  110. <object class="GtkBox">
  111. <property name="orientation">horizontal</property>
  112. <property name="spacing">10</property>
  113. <child>
  114. <object class="GtkLabel">
  115. <property name="label">Error</property>
  116. </object>
  117. </child>
  118. <child>
  119. <object class="GtkImage">
  120. <property name="icon-name">dialog-warning-symbolic</property>
  121. </object>
  122. </child>
  123. </object>
  124. </child>
  125. <style>
  126. <class name="destructive-action"/>
  127. </style>
  128. </object>
  129. </child>
  130. <style>
  131. <class name="button-overlay"/>
  132. </style>
  133. </object>
  134. </child>
  135. <child type="overlay">
  136. <object class="GtkBox" id="message-box">
  137. <property name="orientation">vertical</property>
  138. <property name="halign">fill</property>
  139. <property name="valign">center</property>
  140. <property name="spacing">5</property>
  141. <property name="can-focus">0</property>
  142. <property name="visible">0</property>
  143. <child>
  144. <object class="GtkLabel" id="message-label">
  145. <property name="label">Error happened</property>
  146. <property name="vexpand">1</property>
  147. <property name="hexpand">1</property>
  148. <property name="valign">start</property>
  149. <property name="margin-start">5</property>
  150. <property name="margin-end">5</property>
  151. <property name="margin-top">5</property>
  152. <property name="margin-bottom">5</property>
  153. <property name="can-focus">0</property>
  154. </object>
  155. </child>
  156. <child>
  157. <object class="GtkButton">
  158. <property name="visible">0</property>
  159. <property name="halign">start</property>
  160. <property name="margin-start">5</property>
  161. <property name="margin-end">5</property>
  162. <property name="margin-top">5</property>
  163. <property name="margin-bottom">5</property>
  164. <child>
  165. <object class="GtkBox">
  166. <property name="orientation">horizontal</property>
  167. <property name="spacing">10</property>
  168. <child>
  169. <object class="GtkLabel">
  170. <property name="label">Error</property>
  171. </object>
  172. </child>
  173. <child>
  174. <object class="GtkImage">
  175. <property name="icon-name">dialog-warning-symbolic</property>
  176. </object>
  177. </child>
  178. </object>
  179. </child>
  180. <style>
  181. <class name="destructive-action"/>
  182. </style>
  183. </object>
  184. </child>
  185. <style>
  186. <class name="error-overlay"/>
  187. </style>
  188. </object>
  189. </child>
  190. <child type="overlay">
  191. <object class="GtkBox" id="bottom-box">
  192. <property name="orientation">horizontal</property>
  193. <property name="halign">fill</property>
  194. <property name="valign">end</property>
  195. <child>
  196. <object class="GtkBox">
  197. <property name="orientation" bind-source="bottom-box" bind-property="orientation"/>
  198. <property name="hexpand">1</property>
  199. <property name="vexpand">1</property>
  200. <property name="halign">center</property>
  201. <property name="valign">center</property>
  202. <property name="margin-start">5</property>
  203. <property name="margin-end">5</property>
  204. <property name="margin-top">5</property>
  205. <property name="margin-bottom">5</property>
  206. <property name="spacing">5</property>
  207. <child>
  208. <object class="GtkButton">
  209. <property name="action-name">app.open-settings</property>
  210. <property name="icon-name">settings-symbolic</property>
  211. </object>
  212. </child>
  213. <child>
  214. <object class="GtkButton">
  215. <property name="action-name">app.switch-camera</property>
  216. <property name="icon-name">switch-camera-symbolic</property>
  217. </object>
  218. </child>
  219. </object>
  220. </child>
  221. <child>
  222. <object class="GtkButton">
  223. <property name="margin-top">5</property>
  224. <property name="margin-bottom">5</property>
  225. <property name="action-name">app.capture</property>
  226. <child>
  227. <object class="GtkImage">
  228. <property name="pixel-size">60</property>
  229. <property name="can-focus">0</property>
  230. <property name="icon-name">shutter-button-symbolic</property>
  231. </object>
  232. </child>
  233. <style>
  234. <class name="circular"/>
  235. </style>
  236. </object>
  237. </child>
  238. <child>
  239. <object class="GtkBox">
  240. <property name="orientation" bind-source="bottom-box" bind-property="orientation"/>
  241. <property name="hexpand">1</property>
  242. <property name="vexpand">1</property>
  243. <property name="halign">center</property>
  244. <property name="valign">center</property>
  245. <property name="margin-start">5</property>
  246. <property name="margin-end">5</property>
  247. <property name="margin-top">5</property>
  248. <property name="margin-bottom">5</property>
  249. <property name="spacing">5</property>
  250. <child>
  251. <object class="GtkButton" id="movie">
  252. <property name="valign">start</property>
  253. <property name="icon-name">video-inactive-symbolic</property>
  254. </object>
  255. </child>
  256. <child>
  257. <object class="GtkButton">
  258. <property name="action-name">app.open-last</property>
  259. <child>
  260. <object class="GtkStack" id="open_last_stack">
  261. <property name="can-focus">0</property>
  262. <child>
  263. <object class="GtkImage" id="thumb_last">
  264. <property name="width-request">24</property>
  265. <property name="height-request">24</property>
  266. <property name="can-focus">0</property>
  267. </object>
  268. </child>
  269. <child>
  270. <object class="GtkSpinner" id="process_spinner">
  271. <property name="width-request">24</property>
  272. <property name="height-request">24</property>
  273. <property name="can-focus">0</property>
  274. </object>
  275. </child>
  276. </object>
  277. </child>
  278. </object>
  279. </child>
  280. <child>
  281. <object class="GtkButton">
  282. <property name="action-name">app.open-photos</property>
  283. <property name="icon-name">folder-symbolic</property>
  284. </object>
  285. </child>
  286. </object>
  287. </child>
  288. <style>
  289. <class name="button-overlay"/>
  290. </style>
  291. </object>
  292. </child>
  293. </object>
  294. </property>
  295. </object>
  296. </child>
  297. <child>
  298. <object class="GtkStackPage">
  299. <property name="name">settings</property>
  300. <property name="title" translatable="yes">page1</property>
  301. <property name="child">
  302. <object class="GtkScrolledWindow">
  303. <property name="child">
  304. <object class="GtkViewport">
  305. <property name="can-focus">0</property>
  306. <property name="child">
  307. <object class="GtkBox">
  308. <property name="can-focus">0</property>
  309. <property name="margin-start">10</property>
  310. <property name="margin-end">10</property>
  311. <property name="margin-top">10</property>
  312. <property name="margin-bottom">10</property>
  313. <property name="orientation">vertical</property>
  314. <property name="spacing">10</property>
  315. <child>
  316. <object class="GtkBox">
  317. <property name="can-focus">0</property>
  318. <child>
  319. <object class="GtkButton">
  320. <property name="label" translatable="yes">Back</property>
  321. <property name="margin-start">10</property>
  322. <property name="margin-end">10</property>
  323. <property name="action-name">app.close-settings</property>
  324. <style>
  325. <class name="suggested-action"/>
  326. </style>
  327. </object>
  328. </child>
  329. <child>
  330. <object class="GtkButton">
  331. <property name="label" translatable="yes">About</property>
  332. <property name="margin-start">10</property>
  333. <property name="margin-end">10</property>
  334. <property name="action-name">app.about</property>
  335. </object>
  336. </child>
  337. </object>
  338. </child>
  339. <child>
  340. <object class="GtkLabel">
  341. <property name="visible">True</property>
  342. <property name="halign">start</property>
  343. <property name="label">Postprocessor</property>
  344. <style>
  345. <class name="heading"/>
  346. </style>
  347. </object>
  348. </child>
  349. <child>
  350. <object class="GtkComboBox" id="setting-processor">
  351. <property name="visible">True</property>
  352. <property name="model">list-postprocessors</property>
  353. <property name="entry-text-column">1</property>
  354. <property name="id-column">0</property>
  355. <child>
  356. <object class="GtkCellRendererText"/>
  357. <attributes>
  358. <attribute name="text">1</attribute>
  359. </attributes>
  360. </child>
  361. </object>
  362. </child>
  363. <child>
  364. <object class="GtkCheckButton" id="setting-raw">
  365. <property name="label">Save raw files</property>
  366. </object>
  367. </child>
  368. <child>
  369. <object class="GtkBox" id="feedback-box">
  370. <property name="orientation">vertical</property>
  371. <child>
  372. <object class="GtkLabel">
  373. <property name="halign">start</property>
  374. <property name="label">Feedback</property>
  375. <style>
  376. <class name="heading"/>
  377. </style>
  378. </object>
  379. </child>
  380. <child>
  381. <object class="GtkBox" id="shutter-sound-box">
  382. <property name="orientation">horizontal</property>
  383. <property name="spacing">12</property>
  384. <child>
  385. <object class="GtkLabel">
  386. <property name="label" translatable="yes">Shutter sound</property>
  387. </object>
  388. </child>
  389. <child>
  390. <object class="GtkSwitch" id="shutter-sound-switch">
  391. </object>
  392. </child>
  393. </object>
  394. </child>
  395. </object>
  396. </child>
  397. </object>
  398. </property>
  399. </object>
  400. </property>
  401. </object>
  402. </property>
  403. </object>
  404. </child>
  405. </object>
  406. </property>
  407. </object>
  408. </interface>