summaryrefslogtreecommitdiffstats
path: root/src/gs-review-row.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-review-row.ui')
-rw-r--r--src/gs-review-row.ui164
1 files changed, 164 insertions, 0 deletions
diff --git a/src/gs-review-row.ui b/src/gs-review-row.ui
new file mode 100644
index 0000000..e0d1aca
--- /dev/null
+++ b/src/gs-review-row.ui
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.10 -->
+ <template class="GsReviewRow" parent="GtkListBoxRow">
+ <property name="activatable">False</property>
+ <style>
+ <class name="review-row"/>
+ </style>
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <child>
+ <object class="GtkBox">
+ <property name="spacing">10</property>
+ <property name="hexpand">True</property>
+ <child>
+ <object class="GsStarWidget" id="stars">
+ <property name="halign">start</property>
+ <property name="sensitive">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="summary_label">
+ <property name="halign">start</property>
+ <property name="label">Steep learning curve, but worth it</property>
+ <property name="ellipsize">end</property>
+ <property name="hexpand">True</property>
+ <property name="selectable">True</property>
+ <style>
+ <class name="heading"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="date_label">
+ <property name="halign">end</property>
+ <property name="label">3 January 2016</property>
+ <property name="hexpand">True</property>
+ <property name="selectable">True</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="author_label">
+ <property name="halign">start</property>
+ <property name="label">Angela Avery</property>
+ <property name="ellipsize">end</property>
+ <property name="selectable">True</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="text_label">
+ <property name="halign">start</property>
+ <property name="margin_top">10</property>
+ <property name="margin_bottom">8</property>
+ <property name="label">Best overall 3D application I've ever used overall 3D application I've ever used. Best overall 3D application I've ever used overall 3D application I've ever used. Best overall 3D application I've ever used overall 3D application I've ever used. Best overall 3D application I've ever used overall 3D application I've ever used.</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">80</property>
+ <property name="xalign">0</property>
+ <property name="wrap-mode">word-char</property>
+ <property name="selectable">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="spacing">9</property>
+ <child>
+ <object class="GtkBox" id="box_voting">
+ <property name="visible">False</property>
+ <property name="spacing">9</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="label" translatable="yes" comments="Translators: Users can express their opinions about other users&apos; opinions about the apps.">Was this review useful to you?</property>
+ <property name="wrap">True</property>
+ <property name="xalign">0</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkBox" id="box_vote_buttons">
+ <property name="spacing">0</property>
+ <style>
+ <class name="vote-buttons"/>
+ </style>
+ <child>
+ <object class="GtkButton" id="button_yes">
+ <property name="label" translatable="yes">Yes</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="has-frame">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="button_no">
+ <property name="label" translatable="yes">No</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="has-frame">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="button_dismiss">
+ <property name="label" translatable="yes" comments="Translators: Button text for indifference, only used when moderating">Meh</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="has-frame">False</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="button_report">
+ <property name="label" translatable="yes">Report…</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="halign">end</property>
+ <property name="has-frame">False</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="button_remove">
+ <property name="label" translatable="yes">Remove…</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="halign">end</property>
+ <property name="has-frame">False</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+
+ </template>
+
+ <object class="GtkSizeGroup" id="action_sizegroup">
+ <widgets>
+ <widget name="button_report"/>
+ <widget name="button_remove"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup" id="useful_sizegroup">
+ <widgets>
+ <widget name="button_yes"/>
+ <widget name="button_no"/>
+ </widgets>
+ </object>
+
+</interface>