diff options
Diffstat (limited to 'resources/ui/new_contact.ui')
-rw-r--r-- | resources/ui/new_contact.ui | 53 |
1 files changed, 50 insertions, 3 deletions
diff --git a/resources/ui/new_contact.ui b/resources/ui/new_contact.ui index b483a25..25a90a9 100644 --- a/resources/ui/new_contact.ui +++ b/resources/ui/new_contact.ui | |||
@@ -77,10 +77,58 @@ Author: Tobias Frisch | |||
77 | <property name="orientation">vertical</property> | 77 | <property name="orientation">vertical</property> |
78 | <property name="spacing">4</property> | 78 | <property name="spacing">4</property> |
79 | <child> | 79 | <child> |
80 | <object class="GtkDrawingArea" id="id_drawing_area"> | 80 | <object class="GtkStack" id="preview_stack"> |
81 | <property name="height-request">250</property> | ||
82 | <property name="visible">True</property> | 81 | <property name="visible">True</property> |
83 | <property name="can-focus">False</property> | 82 | <property name="can-focus">False</property> |
83 | <child> | ||
84 | <object class="GtkBox" id="fail_box"> | ||
85 | <property name="visible">True</property> | ||
86 | <property name="can-focus">False</property> | ||
87 | <property name="valign">center</property> | ||
88 | <property name="orientation">vertical</property> | ||
89 | <property name="spacing">8</property> | ||
90 | <child> | ||
91 | <object class="GtkImage"> | ||
92 | <property name="visible">True</property> | ||
93 | <property name="can-focus">False</property> | ||
94 | <property name="pixel-size">64</property> | ||
95 | <property name="icon-name">action-unavailable-symbolic</property> | ||
96 | <property name="icon_size">3</property> | ||
97 | </object> | ||
98 | <packing> | ||
99 | <property name="expand">False</property> | ||
100 | <property name="fill">True</property> | ||
101 | <property name="position">0</property> | ||
102 | </packing> | ||
103 | </child> | ||
104 | <child> | ||
105 | <object class="GtkLabel"> | ||
106 | <property name="visible">True</property> | ||
107 | <property name="can-focus">False</property> | ||
108 | <property name="label" translatable="yes">Connection to camera failed!</property> | ||
109 | </object> | ||
110 | <packing> | ||
111 | <property name="expand">False</property> | ||
112 | <property name="fill">True</property> | ||
113 | <property name="position">1</property> | ||
114 | </packing> | ||
115 | </child> | ||
116 | </object> | ||
117 | <packing> | ||
118 | <property name="name">page_fail</property> | ||
119 | </packing> | ||
120 | </child> | ||
121 | <child> | ||
122 | <object class="GtkDrawingArea" id="id_drawing_area"> | ||
123 | <property name="height-request">250</property> | ||
124 | <property name="visible">True</property> | ||
125 | <property name="can-focus">False</property> | ||
126 | </object> | ||
127 | <packing> | ||
128 | <property name="name">page_drawing</property> | ||
129 | <property name="position">1</property> | ||
130 | </packing> | ||
131 | </child> | ||
84 | </object> | 132 | </object> |
85 | <packing> | 133 | <packing> |
86 | <property name="expand">True</property> | 134 | <property name="expand">True</property> |
@@ -106,7 +154,6 @@ Author: Tobias Frisch | |||
106 | <property name="width-request">250</property> | 154 | <property name="width-request">250</property> |
107 | <property name="visible">True</property> | 155 | <property name="visible">True</property> |
108 | <property name="can-focus">True</property> | 156 | <property name="can-focus">True</property> |
109 | <property name="editable">False</property> | ||
110 | </object> | 157 | </object> |
111 | <packing> | 158 | <packing> |
112 | <property name="expand">False</property> | 159 | <property name="expand">False</property> |