| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<requires lib="gtk" version="4.0"/> |
| 4 |
<requires lib="Adw" version="1.0"/> |
| 5 |
<template class="PaperClipDocumentView" parent="AdwBin"> |
| 6 |
<child> |
| 7 |
<object class="GtkScrolledWindow" id="scrolled_window"> |
| 8 |
<property name="propagate-natural-height">true</property> |
| 9 |
<property name="propagate-natural-width">true</property> |
| 10 |
|
| 11 |
<child> |
| 12 |
<object class="AdwClamp" id="content_clamp"> |
| 13 |
<style> |
| 14 |
<class name="document-view-drop"/> |
| 15 |
</style> |
| 16 |
<child> |
| 17 |
<object class="GtkBox"> |
| 18 |
<property name="orientation">vertical</property> |
| 19 |
<property name="spacing">18</property> |
| 20 |
<property name="margin-start">12</property> |
| 21 |
<property name="margin-bottom">24</property> |
| 22 |
<property name="margin-end">12</property> |
| 23 |
|
| 24 |
<child> |
| 25 |
<object class="PaperClipDocumentThumbnail" id="document_thumbnail"> |
| 26 |
<property name="margin-top">12</property> |
| 27 |
</object> |
| 28 |
</child> |
| 29 |
|
| 30 |
<child> |
| 31 |
<object class="GtkLabel" id="title_label"> |
| 32 |
<property name="wrap">true</property> |
| 33 |
<property name="justify">center</property> |
| 34 |
<property name="hexpand">true</property> |
| 35 |
<style> |
| 36 |
<class name="title-1"/> |
| 37 |
</style> |
| 38 |
</object> |
| 39 |
</child> |
| 40 |
|
| 41 |
<child> |
| 42 |
<object class="AdwPreferencesGroup" id="properties_group"> |
| 43 |
<child> |
| 44 |
<object class="AdwEntryRow" id="title_row"> |
| 45 |
<property name="title" translatable="yes">Title</property> |
| 46 |
</object> |
| 47 |
</child> |
| 48 |
|
| 49 |
<child> |
| 50 |
<object class="AdwEntryRow" id="author_row"> |
| 51 |
<property name="title" translatable="yes">Author</property> |
| 52 |
</object> |
| 53 |
</child> |
| 54 |
|
| 55 |
<child> |
| 56 |
<object class="AdwEntryRow" id="creator_row"> |
| 57 |
<property name="title" translatable="yes">Creation Software</property> |
| 58 |
</object> |
| 59 |
</child> |
| 60 |
|
| 61 |
<child> |
| 62 |
<object class="AdwEntryRow" id="subject_row"> |
| 63 |
<property name="title" translatable="yes">Subject</property> |
| 64 |
</object> |
| 65 |
</child> |
| 66 |
|
| 67 |
<child> |
| 68 |
<object class="AdwEntryRow" id="producer_row"> |
| 69 |
<property name="title" translatable="yes">Conversion Software</property> |
| 70 |
</object> |
| 71 |
</child> |
| 72 |
|
| 73 |
<child> |
| 74 |
<object class="PaperClipDateRow" id="creation_row"> |
| 75 |
<property name="title" translatable="yes">Creation Date</property> |
| 76 |
</object> |
| 77 |
</child> |
| 78 |
|
| 79 |
<child> |
| 80 |
<object class="PaperClipDateRow" id="modification_row"> |
| 81 |
<property name="title" translatable="yes">Modification Date</property> |
| 82 |
</object> |
| 83 |
</child> |
| 84 |
</object> |
| 85 |
</child> |
| 86 |
|
| 87 |
<child> |
| 88 |
<object class="PaperClipKeywordList" id="keyword_list"> |
| 89 |
</object> |
| 90 |
</child> |
| 91 |
|
| 92 |
<child> |
| 93 |
<object class="AdwPreferencesGroup" id="details_group"> |
| 94 |
<property name="title" translatable="yes">Non-Editable Properties</property> |
| 95 |
|
| 96 |
<child> |
| 97 |
<object class="PaperClipDetailsList" id="details_list"></object> |
| 98 |
</child> |
| 99 |
|
| 100 |
</object> |
| 101 |
</child> |
| 102 |
</object> |
| 103 |
</child> |
| 104 |
</object> |
| 105 |
</child> |
| 106 |
</object> |
| 107 |
</child> |
| 108 |
|
| 109 |
|
| 110 |
<!-- Shortcuts --> |
| 111 |
<child> |
| 112 |
<object class="GtkShortcutController"> |
| 113 |
<child> |
| 114 |
<object class="GtkShortcut"> |
| 115 |
<property name="trigger"><Control>s</property> |
| 116 |
<property name="action">action(win.save)</property> |
| 117 |
</object> |
| 118 |
</child> |
| 119 |
<child> |
| 120 |
<object class="GtkShortcut"> |
| 121 |
<property name="trigger"><Control><Shift>s</property> |
| 122 |
<property name="action">action(win.save-as)</property> |
| 123 |
</object> |
| 124 |
</child> |
| 125 |
</object> |
| 126 |
</child> |
| 127 |
</template> |
| 128 |
</interface> |