diff options
author | fiaxh <git@lightrise.org> | 2020-02-21 02:49:53 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-02-22 02:58:36 +0100 |
commit | 4ed6204fc2879c52fe88caa5711dea37cd4ae201 (patch) | |
tree | ba6f0f8227694c95e53645a701ac4b4111b8698c /main/data/conversation_content_view | |
parent | 01698959feaa9005c8a5f3439478431ab5837792 (diff) | |
download | dino-4ed6204fc2879c52fe88caa5711dea37cd4ae201.tar.gz dino-4ed6204fc2879c52fe88caa5711dea37cd4ae201.zip |
Rename folders/files conversation_summary -> conversation_content_view
Diffstat (limited to 'main/data/conversation_content_view')
-rw-r--r-- | main/data/conversation_content_view/image_toolbar.ui | 41 | ||||
-rw-r--r-- | main/data/conversation_content_view/item_metadata_header.ui | 55 | ||||
-rw-r--r-- | main/data/conversation_content_view/view.ui | 84 |
3 files changed, 180 insertions, 0 deletions
diff --git a/main/data/conversation_content_view/image_toolbar.ui b/main/data/conversation_content_view/image_toolbar.ui new file mode 100644 index 00000000..562f944b --- /dev/null +++ b/main/data/conversation_content_view/image_toolbar.ui @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <object class="GtkBox" id="main"> + <property name="valign">end</property> + <property name="halign">end</property> + <property name="margin">10</property> + <property name="visible">True</property> + <child> + <object class="GtkToolItem"> + <property name="visible">True</property> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <child> + <object class="GtkLabel" id="url_label"> + <property name="max_width_chars">25</property> + <property name="ellipsize">middle</property> + <property name="hexpand">True</property> + <property name="margin-left">5</property> + <property name="visible">True</property> + </object> + </child> + <child> + <object class="GtkButton" id="open_button"> + <property name="relief">none</property> + <property name="visible">True</property> + <child> + <object class="GtkImage" id="open_image"> + <property name="icon-name">view-fullscreen-symbolic</property> + <property name="icon-size">1</property> + <property name="visible">True</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> +</interface> diff --git a/main/data/conversation_content_view/item_metadata_header.ui b/main/data/conversation_content_view/item_metadata_header.ui new file mode 100644 index 00000000..93940c9a --- /dev/null +++ b/main/data/conversation_content_view/item_metadata_header.ui @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="DinoUiConversationSummaryItemMetaDataHeader"> + <property name="spacing">4</property> + <property name="orientation">horizontal</property> + <child> + <object class="GtkLabel" id="name_label"> + <property name="use_markup">True</property> + <property name="xalign">0</property> + <property name="valign">start</property> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="0.8"/> + </attributes> + </object> + </child> + <child> + <object class="GtkLabel" id="dot_label"> + <property name="label">ยท</property> + <property name="xalign">0</property> + <property name="valign">start</property> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="0.8"/> + </attributes> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="time_label"> + <property name="xalign">0</property> + <property name="valign">start</property> + <property name="visible">True</property> + <attributes> + <attribute name="scale" value="0.8"/> + </attributes> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + <child> + <object class="GtkImage" id="encryption_image"> + <property name="opacity">0.4</property> + </object> + </child> + <child> + <object class="GtkImage" id="received_image"> + <property name="opacity">0.4</property> + </object> + </child> + </template> +</interface> diff --git a/main/data/conversation_content_view/view.ui b/main/data/conversation_content_view/view.ui new file mode 100644 index 00000000..51133890 --- /dev/null +++ b/main/data/conversation_content_view/view.ui @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="DinoUiConversationSummaryConversationView"> + <property name="expand">True</property> + <property name="homogeneous">False</property> + <property name="spacing">0</property> + <property name="visible">True</property> + <child> + <object class="GtkStack" id="stack"> + <property name="transition_type">crossfade</property> + <property name="visible">True</property> + <child> + <object class="GtkOverlay"> + <property name="visible">True</property> + <child> + <object class="GtkScrolledWindow" id="scrolled"> + <property name="hscrollbar_policy">never</property> + <property name="expand">True</property> + <property name="visible">True</property> + <child> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <property name="visible">True</property> + <child> + <object class="GtkBox" id="main"> + <property name="margin-bottom">15</property> + <property name="expand">False</property> + <property name="orientation">vertical</property> + <property name="visible">True</property> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="index">-1</property> + </packing> + </child> + <child type="overlay"> + <object class="GtkRevealer" id="notification_revealer"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">center</property> + <property name="valign">start</property> + <child> + <object class="GtkFrame" id="frame2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> + <style> + <class name="app-notification"/> + </style> + <child> + <object class="GtkBox" id="notifications"> + <property name="expand">False</property> + <property name="orientation">vertical</property> + <property name="visible">True</property> + </object> + </child> + <child type="label_item"> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">main</property> + </packing> + </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + </object> + <packing> + <property name="name">void</property> + </packing> + </child> + </object> + </child> + </template> +</interface> |