Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

465 rader
20 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <stetic-interface>
  3. <configuration>
  4. <images-root-path>..</images-root-path>
  5. <target-gtk-version>2.12.1</target-gtk-version>
  6. </configuration>
  7. <import>
  8. <widget-library name="../Pimp.exe" internal="true" />
  9. </import>
  10. <widget class="Gtk.Window" id="MainWindow" design-size="840 680">
  11. <action-group name="Default">
  12. <action id="newAction">
  13. <property name="Type">Action</property>
  14. <property name="Label" translatable="yes" />
  15. <property name="Sensitive">False</property>
  16. <property name="StockId">gtk-new</property>
  17. </action>
  18. <action id="openAction">
  19. <property name="Type">Action</property>
  20. <property name="Label" translatable="yes" />
  21. <property name="StockId">gtk-open</property>
  22. <signal name="Activated" handler="OnOpenActionActivated" />
  23. </action>
  24. <action id="saveAction">
  25. <property name="Type">Action</property>
  26. <property name="Label" translatable="yes" />
  27. <property name="Sensitive">False</property>
  28. <property name="StockId">gtk-save</property>
  29. </action>
  30. <action id="Action">
  31. <property name="Type">Action</property>
  32. <property name="Label" translatable="yes" />
  33. </action>
  34. <action id="FileAction">
  35. <property name="Type">Action</property>
  36. <property name="Label" translatable="yes">File</property>
  37. <property name="ShortLabel" translatable="yes">File</property>
  38. </action>
  39. <action id="EditAction">
  40. <property name="Type">Action</property>
  41. <property name="Label" translatable="yes">Edit</property>
  42. <property name="ShortLabel" translatable="yes">Edit</property>
  43. </action>
  44. <action id="ViewAction">
  45. <property name="Type">Action</property>
  46. <property name="Label" translatable="yes">View</property>
  47. <property name="ShortLabel" translatable="yes">View</property>
  48. </action>
  49. <action id="HelpAction">
  50. <property name="Type">Action</property>
  51. <property name="Label" translatable="yes">Help</property>
  52. <property name="ShortLabel" translatable="yes">Help</property>
  53. </action>
  54. <action id="NewAction">
  55. <property name="Type">Action</property>
  56. <property name="Label" translatable="yes">_New</property>
  57. <property name="Sensitive">False</property>
  58. <property name="ShortLabel" translatable="yes">_New</property>
  59. <property name="StockId">gtk-new</property>
  60. </action>
  61. <action id="OpenAction">
  62. <property name="Type">Action</property>
  63. <property name="Label" translatable="yes">_Open</property>
  64. <property name="ShortLabel" translatable="yes">_Open</property>
  65. <property name="StockId">gtk-open</property>
  66. <signal name="Activated" handler="OnOpenActionActivated" />
  67. </action>
  68. <action id="SaveAction">
  69. <property name="Type">Action</property>
  70. <property name="Label" translatable="yes">_Save</property>
  71. <property name="Sensitive">False</property>
  72. <property name="ShortLabel" translatable="yes">_Save</property>
  73. <property name="StockId">gtk-save</property>
  74. </action>
  75. <action id="SaveAsAction">
  76. <property name="Type">Action</property>
  77. <property name="Label" translatable="yes">Save _As</property>
  78. <property name="Sensitive">False</property>
  79. <property name="ShortLabel" translatable="yes">Save _As</property>
  80. <property name="StockId">gtk-save-as</property>
  81. </action>
  82. <action id="QuitAction">
  83. <property name="Type">Action</property>
  84. <property name="Label" translatable="yes">_Quit</property>
  85. <property name="ShortLabel" translatable="yes">_Quit</property>
  86. <property name="StockId">gtk-quit</property>
  87. <signal name="Activated" handler="OnQuitActionActivated" />
  88. </action>
  89. <action id="HelpAction1">
  90. <property name="Type">Action</property>
  91. <property name="Label" translatable="yes">_Help</property>
  92. <property name="Sensitive">False</property>
  93. <property name="ShortLabel" translatable="yes">_Help</property>
  94. <property name="StockId">gtk-help</property>
  95. </action>
  96. <action id="AboutAction">
  97. <property name="Type">Action</property>
  98. <property name="Label" translatable="yes">_About</property>
  99. <property name="Sensitive">False</property>
  100. <property name="ShortLabel" translatable="yes">_About</property>
  101. <property name="StockId">gtk-about</property>
  102. </action>
  103. <action id="UndoAction">
  104. <property name="Type">Action</property>
  105. <property name="Label" translatable="yes">_Undo</property>
  106. <property name="Sensitive">False</property>
  107. <property name="ShortLabel" translatable="yes">_Undo</property>
  108. <property name="StockId">gtk-undo</property>
  109. </action>
  110. <action id="RedoAction">
  111. <property name="Type">Action</property>
  112. <property name="Label" translatable="yes">_Redo</property>
  113. <property name="Sensitive">False</property>
  114. <property name="ShortLabel" translatable="yes">_Redo</property>
  115. <property name="StockId">gtk-redo</property>
  116. </action>
  117. <action id="BestFitAction">
  118. <property name="Type">Action</property>
  119. <property name="Label" translatable="yes">Best _Fit</property>
  120. <property name="Sensitive">False</property>
  121. <property name="ShortLabel" translatable="yes">Best _Fit</property>
  122. <property name="StockId">gtk-zoom-fit</property>
  123. </action>
  124. <action id="NormalSizeAction">
  125. <property name="Type">Action</property>
  126. <property name="Label" translatable="yes">_Normal Size</property>
  127. <property name="Sensitive">False</property>
  128. <property name="ShortLabel" translatable="yes">_Normal Size</property>
  129. <property name="StockId">gtk-zoom-100</property>
  130. </action>
  131. <action id="ZoomOutAction">
  132. <property name="Type">Action</property>
  133. <property name="Label" translatable="yes">Zoom _Out</property>
  134. <property name="Sensitive">False</property>
  135. <property name="ShortLabel" translatable="yes">Zoom _Out</property>
  136. <property name="StockId">gtk-zoom-out</property>
  137. </action>
  138. <action id="ZoomInAction">
  139. <property name="Type">Action</property>
  140. <property name="Label" translatable="yes">Zoom _In</property>
  141. <property name="Sensitive">False</property>
  142. <property name="ShortLabel" translatable="yes">Zoom _In</property>
  143. <property name="StockId">gtk-zoom-in</property>
  144. </action>
  145. <action id="undoAction">
  146. <property name="Type">Action</property>
  147. <property name="Label" translatable="yes" />
  148. <property name="Sensitive">False</property>
  149. <property name="StockId">gtk-undo</property>
  150. </action>
  151. <action id="redoAction">
  152. <property name="Type">Action</property>
  153. <property name="Label" translatable="yes" />
  154. <property name="Sensitive">False</property>
  155. <property name="StockId">gtk-redo</property>
  156. </action>
  157. <action id="zoom100Action">
  158. <property name="Type">Action</property>
  159. <property name="Label" translatable="yes" />
  160. <property name="Sensitive">False</property>
  161. <property name="StockId">gtk-zoom-100</property>
  162. </action>
  163. <action id="zoomFitAction">
  164. <property name="Type">Action</property>
  165. <property name="Label" translatable="yes" />
  166. <property name="Sensitive">False</property>
  167. <property name="StockId">gtk-zoom-fit</property>
  168. </action>
  169. <action id="zoomOutAction">
  170. <property name="Type">Action</property>
  171. <property name="Label" translatable="yes" />
  172. <property name="Sensitive">False</property>
  173. <property name="StockId">gtk-zoom-out</property>
  174. </action>
  175. <action id="zoomInAction">
  176. <property name="Type">Action</property>
  177. <property name="Label" translatable="yes" />
  178. <property name="Sensitive">False</property>
  179. <property name="StockId">gtk-zoom-in</property>
  180. </action>
  181. <action id="helpAction">
  182. <property name="Type">Action</property>
  183. <property name="Label" translatable="yes" />
  184. <property name="Sensitive">False</property>
  185. <property name="StockId">gtk-help</property>
  186. </action>
  187. </action-group>
  188. <property name="MemberName" />
  189. <property name="Title" translatable="yes">The Pimp</property>
  190. <property name="Icon">stock:stock_insert_image Menu</property>
  191. <property name="WindowPosition">CenterOnParent</property>
  192. <signal name="DeleteEvent" handler="OnDeleteEvent" />
  193. <child>
  194. <widget class="Gtk.VBox" id="vbox1">
  195. <property name="MemberName" />
  196. <child>
  197. <widget class="Gtk.MenuBar" id="menubar1">
  198. <property name="MemberName" />
  199. <node name="menubar1" type="Menubar">
  200. <node type="Menu" action="FileAction">
  201. <node type="Menuitem" action="NewAction" />
  202. <node type="Menuitem" action="OpenAction" />
  203. <node type="Menuitem" action="SaveAction" />
  204. <node type="Menuitem" action="SaveAsAction" />
  205. <node type="Menuitem" action="QuitAction" />
  206. </node>
  207. <node type="Menu" action="EditAction">
  208. <node type="Menuitem" action="UndoAction" />
  209. <node type="Menuitem" action="RedoAction" />
  210. </node>
  211. <node type="Menu" action="ViewAction">
  212. <node type="Menuitem" action="ZoomInAction" />
  213. <node type="Menuitem" action="ZoomOutAction" />
  214. <node type="Menuitem" action="BestFitAction" />
  215. <node type="Menuitem" action="NormalSizeAction" />
  216. </node>
  217. <node type="Menu" action="HelpAction">
  218. <node type="Menuitem" action="HelpAction1" />
  219. <node type="Menuitem" action="AboutAction" />
  220. </node>
  221. </node>
  222. </widget>
  223. <packing>
  224. <property name="Position">0</property>
  225. <property name="AutoSize">True</property>
  226. <property name="Expand">False</property>
  227. <property name="Fill">False</property>
  228. </packing>
  229. </child>
  230. <child>
  231. <widget class="Gtk.Toolbar" id="toolbar1">
  232. <property name="MemberName" />
  233. <property name="ShowArrow">False</property>
  234. <property name="ButtonStyle">Icons</property>
  235. <node name="toolbar1" type="Toolbar">
  236. <node type="Toolitem" action="newAction" />
  237. <node type="Toolitem" action="openAction" />
  238. <node type="Toolitem" action="saveAction" />
  239. <node type="Separator" />
  240. <node type="Toolitem" action="undoAction" />
  241. <node type="Toolitem" action="redoAction" />
  242. <node type="Separator" />
  243. <node type="Toolitem" action="zoomInAction" />
  244. <node type="Toolitem" action="zoomOutAction" />
  245. <node type="Toolitem" action="zoomFitAction" />
  246. <node type="Toolitem" action="zoom100Action" />
  247. <node type="Separator" />
  248. <node type="Toolitem" action="helpAction" />
  249. </node>
  250. </widget>
  251. <packing>
  252. <property name="Position">1</property>
  253. <property name="AutoSize">True</property>
  254. <property name="Expand">False</property>
  255. <property name="Fill">False</property>
  256. </packing>
  257. </child>
  258. <child>
  259. <widget class="Gtk.HPaned" id="hpaned1">
  260. <property name="MemberName" />
  261. <property name="CanFocus">True</property>
  262. <property name="Position">408</property>
  263. <child>
  264. <widget class="Gtk.Notebook" id="notebook1">
  265. <property name="MemberName" />
  266. <property name="CanFocus">True</property>
  267. <property name="CurrentPage">0</property>
  268. <property name="BorderWidth">5</property>
  269. <child>
  270. <widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
  271. <property name="MemberName" />
  272. <property name="WidthRequest">640</property>
  273. <property name="HeightRequest">480</property>
  274. <property name="CanFocus">True</property>
  275. <property name="ShadowType">In</property>
  276. <child>
  277. <widget class="Gtk.Viewport" id="GtkViewport">
  278. <property name="MemberName" />
  279. <property name="ShadowType">None</property>
  280. <child>
  281. <placeholder />
  282. </child>
  283. </widget>
  284. </child>
  285. </widget>
  286. </child>
  287. <child>
  288. <widget class="Gtk.Label" id="label1">
  289. <property name="MemberName" />
  290. <property name="LabelProp" translatable="yes">Test tab</property>
  291. </widget>
  292. <packing>
  293. <property name="type">tab</property>
  294. </packing>
  295. </child>
  296. </widget>
  297. <packing>
  298. <property name="Resize">False</property>
  299. </packing>
  300. </child>
  301. <child>
  302. <widget class="Gtk.VPaned" id="vpaned1">
  303. <property name="MemberName" />
  304. <property name="CanFocus">True</property>
  305. <property name="Position">60</property>
  306. <child>
  307. <widget class="Gtk.VBox" id="vbox2">
  308. <property name="MemberName" />
  309. <property name="BorderWidth">5</property>
  310. <child>
  311. <widget class="Gtk.Label" id="label2">
  312. <property name="MemberName" />
  313. <property name="WidthRequest">100</property>
  314. <property name="LabelProp" translatable="yes">Tools</property>
  315. </widget>
  316. <packing>
  317. <property name="Position">0</property>
  318. <property name="AutoSize">True</property>
  319. <property name="Expand">False</property>
  320. <property name="Fill">False</property>
  321. </packing>
  322. </child>
  323. <child>
  324. <placeholder />
  325. </child>
  326. <child>
  327. <placeholder />
  328. </child>
  329. </widget>
  330. <packing>
  331. <property name="Resize">False</property>
  332. </packing>
  333. </child>
  334. <child>
  335. <widget class="Gtk.VBox" id="vbox3">
  336. <property name="MemberName" />
  337. <property name="BorderWidth">5</property>
  338. <child>
  339. <widget class="Gtk.Label" id="label3">
  340. <property name="MemberName" />
  341. <property name="WidthRequest">100</property>
  342. <property name="LabelProp" translatable="yes">Layers &amp; Channels</property>
  343. </widget>
  344. <packing>
  345. <property name="Position">0</property>
  346. <property name="AutoSize">True</property>
  347. <property name="Expand">False</property>
  348. <property name="Fill">False</property>
  349. </packing>
  350. </child>
  351. <child>
  352. <placeholder />
  353. </child>
  354. <child>
  355. <placeholder />
  356. </child>
  357. </widget>
  358. </child>
  359. </widget>
  360. </child>
  361. </widget>
  362. <packing>
  363. <property name="Position">2</property>
  364. <property name="AutoSize">True</property>
  365. </packing>
  366. </child>
  367. <child>
  368. <widget class="Gtk.Statusbar" id="statusbar1">
  369. <property name="MemberName" />
  370. <property name="Spacing">6</property>
  371. <child>
  372. <placeholder />
  373. </child>
  374. <child>
  375. <placeholder />
  376. </child>
  377. </widget>
  378. <packing>
  379. <property name="Position">3</property>
  380. <property name="AutoSize">True</property>
  381. <property name="Expand">False</property>
  382. <property name="Fill">False</property>
  383. </packing>
  384. </child>
  385. </widget>
  386. </child>
  387. </widget>
  388. <widget class="Gtk.Dialog" id="ThePimp.OpenFile" design-size="627 448">
  389. <property name="MemberName" />
  390. <property name="Title" translatable="yes">Open File</property>
  391. <property name="Icon">stock:gtk-open Menu</property>
  392. <property name="TypeHint">Dialog</property>
  393. <property name="WindowPosition">CenterOnParent</property>
  394. <property name="Modal">True</property>
  395. <property name="Buttons">2</property>
  396. <property name="HelpButton">False</property>
  397. <property name="HasSeparator">False</property>
  398. <child internal-child="VBox">
  399. <widget class="Gtk.VBox" id="dialog1_VBox">
  400. <property name="MemberName" />
  401. <property name="BorderWidth">2</property>
  402. <child>
  403. <widget class="Gtk.FileChooserWidget" id="filechooserwidget1">
  404. <property name="MemberName" />
  405. </widget>
  406. <packing>
  407. <property name="Position">0</property>
  408. <property name="AutoSize">True</property>
  409. </packing>
  410. </child>
  411. </widget>
  412. </child>
  413. <child internal-child="ActionArea">
  414. <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
  415. <property name="MemberName" />
  416. <property name="Spacing">6</property>
  417. <property name="BorderWidth">5</property>
  418. <property name="Size">2</property>
  419. <property name="LayoutStyle">End</property>
  420. <child>
  421. <widget class="Gtk.Button" id="buttonCancel">
  422. <property name="MemberName" />
  423. <property name="CanDefault">True</property>
  424. <property name="CanFocus">True</property>
  425. <property name="UseStock">True</property>
  426. <property name="Type">StockItem</property>
  427. <property name="StockId">gtk-cancel</property>
  428. <property name="ResponseId">-6</property>
  429. <property name="label">gtk-cancel</property>
  430. </widget>
  431. <packing>
  432. <property name="Expand">False</property>
  433. <property name="Fill">False</property>
  434. </packing>
  435. </child>
  436. <child>
  437. <widget class="Gtk.Button" id="buttonOk">
  438. <property name="MemberName" />
  439. <property name="CanDefault">True</property>
  440. <property name="CanFocus">True</property>
  441. <property name="UseStock">True</property>
  442. <property name="Type">StockItem</property>
  443. <property name="StockId">gtk-ok</property>
  444. <property name="ResponseId">-5</property>
  445. <property name="label">gtk-ok</property>
  446. </widget>
  447. <packing>
  448. <property name="Position">1</property>
  449. <property name="Expand">False</property>
  450. <property name="Fill">False</property>
  451. </packing>
  452. </child>
  453. </widget>
  454. </child>
  455. </widget>
  456. <widget class="Gtk.Bin" id="ThePimp.PictureView" design-size="300 300">
  457. <property name="MemberName" />
  458. <child>
  459. <widget class="Gtk.DrawingArea" id="drawingarea1">
  460. <property name="MemberName" />
  461. </widget>
  462. </child>
  463. </widget>
  464. </stetic-interface>