]> git.sur5r.net Git - ptouch-print/blob - data/ptouch.ui
added initial support for PT-2730PC
[ptouch-print] / data / ptouch.ui
1 <?xml version="1.0"?>
2 <interface>
3   <object class="GtkWindow" id="editorwindow">
4     <property name="visible">True</property>
5     <property name="title" translatable="yes">ptouch-print-gtk</property>
6     <property name="icon">/usr/share/pixmaps/ptouch-gtk.png</property>
7     <signal handler="on_window_destroy" name="delete_event"/>
8     <child>
9       <object class="GtkVBox" id="vbox1">
10         <property name="visible">True</property>
11         <property name="orientation">vertical</property>
12         <child>
13           <object class="GtkScrolledWindow" id="previewscroll">
14             <property name="visible">True</property>
15             <property name="can_focus">True</property>
16             <property name="vscrollbar_policy">never</property>
17             <property name="window_placement">bottom-right</property>
18             <child>
19               <object class="GtkViewport" id="viewport1">
20                 <property name="visible">True</property>
21                 <property name="resize_mode">queue</property>
22                 <child>
23                   <object class="GtkImage" id="preview">
24                     <property name="visible">True</property>
25                     <property name="app_paintable">True</property>
26                     <property name="has_tooltip">True</property>
27                     <property name="tooltip-text" translatable="yes">Preview area</property>
28                     <property name="stock">gtk-missing-image</property>
29                   </object>
30                 </child>
31               </object>
32             </child>
33           </object>
34           <packing>
35             <property name="expand">False</property>
36             <property name="position">0</property>
37           </packing>
38         </child>
39         <child>
40           <object class="GtkFrame" id="Line 1">
41             <property name="visible">True</property>
42             <property name="label_xalign">0</property>
43             <child>
44               <object class="GtkAlignment" id="alignment1">
45                 <property name="visible">True</property>
46                 <property name="left_padding">12</property>
47                 <child>
48                   <object class="GtkVBox" id="vbox2">
49                     <property name="visible">True</property>
50                     <property name="orientation">vertical</property>
51                     <child>
52                       <object class="GtkEntry" id="entry1">
53                         <property name="visible">True</property>
54                         <property name="can_focus">True</property>
55                         <property name="invisible_char">&#x2022;</property>
56                         <signal handler="update_preview" name="changed"/>
57                       </object>
58                       <packing>
59                         <property name="position">0</property>
60                       </packing>
61                     </child>
62                     <child>
63                       <object class="GtkHBox" id="hbox1">
64                         <property name="visible">True</property>
65                         <property name="spacing">2</property>
66                         <child>
67                           <object class="GtkFontButton" id="fontselect1">
68                             <property name="visible">True</property>
69                             <property name="can_focus">True</property>
70                             <property name="receives_default">True</property>
71                             <property name="has_tooltip">True</property>
72                             <property name="tooltip-text" translatable="yes">Font for 1st line</property>
73                             <property name="use_font">True</property>
74                             <signal handler="update_preview" name="font_set"/>
75                           </object>
76                           <packing>
77                             <property name="position">0</property>
78                           </packing>
79                         </child>
80                       </object>
81                       <packing>
82                         <property name="position">1</property>
83                       </packing>
84                     </child>
85                   </object>
86                 </child>
87               </object>
88             </child>
89             <child type="label">
90               <object class="GtkLabel" id="label1">
91                 <property name="visible">True</property>
92                 <property name="label" translatable="yes">&lt;b&gt;1st line&lt;/b&gt;</property>
93                 <property name="use_markup">True</property>
94               </object>
95             </child>
96           </object>
97           <packing>
98             <property name="padding">2</property>
99             <property name="position">1</property>
100           </packing>
101         </child>
102         <child>
103           <object class="GtkFrame" id="Line 2">
104             <property name="visible">True</property>
105             <property name="label_xalign">0</property>
106             <child>
107               <object class="GtkAlignment" id="alignment2">
108                 <property name="visible">True</property>
109                 <property name="left_padding">12</property>
110                 <child>
111                   <object class="GtkVBox" id="vbox3">
112                     <property name="visible">True</property>
113                     <property name="orientation">vertical</property>
114                     <child>
115                       <object class="GtkEntry" id="entry2">
116                         <property name="visible">True</property>
117                         <property name="can_focus">True</property>
118                         <property name="invisible_char">&#x2022;</property>
119                         <signal handler="update_preview" name="changed"/>
120                       </object>
121                       <packing>
122                         <property name="position">0</property>
123                       </packing>
124                     </child>
125                     <child>
126                       <object class="GtkHBox" id="hbox2">
127                         <property name="visible">True</property>
128                         <property name="spacing">2</property>
129                         <child>
130                           <object class="GtkFontButton" id="fontselect2">
131                             <property name="visible">True</property>
132                             <property name="can_focus">True</property>
133                             <property name="receives_default">True</property>
134                             <property name="has_tooltip">True</property>
135                             <property name="tooltip-text" translatable="yes">Font for 2nd line</property>
136                             <property name="use_font">True</property>
137                             <signal handler="update_preview" name="font_set"/>
138                           </object>
139                           <packing>
140                             <property name="position">0</property>
141                           </packing>
142                         </child>
143                       </object>
144                       <packing>
145                         <property name="position">1</property>
146                       </packing>
147                     </child>
148                   </object>
149                 </child>
150               </object>
151             </child>
152             <child type="label">
153               <object class="GtkLabel" id="label2">
154                 <property name="visible">True</property>
155                 <property name="label" translatable="yes">&lt;b&gt;2nd line&lt;/b&gt;</property>
156                 <property name="use_markup">True</property>
157               </object>
158             </child>
159           </object>
160           <packing>
161             <property name="padding">2</property>
162             <property name="position">2</property>
163           </packing>
164         </child>
165         <child>
166           <object class="GtkHBox" id="hbox4">
167             <property name="visible">True</property>
168             <property name="spacing">2</property>
169             <child>
170               <object class="GtkButton" id="printbutton">
171                 <property name="label">gtk-print</property>
172                 <property name="visible">True</property>
173                 <property name="sensitive">False</property>
174                 <property name="can_focus">True</property>
175                 <property name="receives_default">True</property>
176                 <property name="has_tooltip">True</property>
177                 <property name="tooltip-text" translatable="yes">Print</property>
178                 <property name="use_stock">True</property>
179                 <signal handler="print_all" name="clicked"/>
180               </object>
181               <packing>
182                 <property name="position">0</property>
183               </packing>
184             </child>
185             <child>
186               <object class="GtkButton" id="About">
187                 <property name="label">gtk-about</property>
188                 <property name="visible">True</property>
189                 <property name="can_focus">True</property>
190                 <property name="receives_default">True</property>
191                 <property name="has_tooltip">True</property>
192                 <property name="tooltip-text" translatable="yes">About this program</property>
193                 <property name="use_stock">True</property>
194                 <signal handler="show_about" name="clicked"/>
195               </object>
196               <packing>
197                 <property name="position">1</property>
198               </packing>
199             </child>
200             <child>
201               <object class="GtkButton" id="quitbutton">
202                 <property name="label">gtk-quit</property>
203                 <property name="visible">True</property>
204                 <property name="can_focus">True</property>
205                 <property name="receives_default">True</property>
206                 <property name="has_tooltip">True</property>
207                 <property name="tooltip-text" translatable="yes">Quit the program</property>
208                 <property name="use_stock">True</property>
209                 <signal handler="on_window_destroy" name="clicked"/>
210               </object>
211               <packing>
212                 <property name="position">2</property>
213               </packing>
214             </child>
215           </object>
216           <packing>
217             <property name="position">4</property>
218           </packing>
219         </child>
220       </object>
221     </child>
222   </object>
223 </interface>