all repos — m12-patcher @ e3c37d39bb278f21f24f2661ccddd39d5175ca23

patcher.ui (view raw)

  1<?xml version='1.0' encoding='utf-8'?>
  2<interface version="1.2">
  3  <object class="ttk.Frame" id="main_frame">
  4    <property name="height">200</property>
  5    <property name="width">200</property>
  6    <layout manager="pack">
  7      <property name="side">top</property>
  8    </layout>
  9    <child>
 10      <object class="ttk.Labelframe" id="browse_frame">
 11        <property name="height">200</property>
 12        <property name="text" translatable="yes"> Selezione della ROM </property>
 13        <property name="width">200</property>
 14        <layout manager="grid">
 15          <property name="column">0</property>
 16          <property name="ipadx">2</property>
 17          <property name="ipady">5</property>
 18          <property name="padx">5</property>
 19          <property name="pady">5</property>
 20          <property name="row">0</property>
 21          <property name="sticky">ew</property>
 22        </layout>
 23        <child>
 24          <object class="ttk.Entry" id="browse_entry">
 25            <property name="justify">left</property>
 26            <property name="textvariable">string:browse_path</property>
 27            <property name="width">23</property>
 28            <layout manager="pack">
 29              <property name="expand">true</property>
 30              <property name="fill">x</property>
 31              <property name="padx">3</property>
 32              <property name="pady">5</property>
 33              <property name="side">left</property>
 34            </layout>
 35          </object>
 36        </child>
 37        <child>
 38          <object class="ttk.Button" id="browse_button">
 39            <property name="command" type="command" cbtype="simple">on_browse_button</property>
 40            <property name="text" translatable="yes">...</property>
 41            <property name="width">2</property>
 42            <layout manager="pack">
 43              <property name="expand">false</property>
 44              <property name="fill">x</property>
 45              <property name="ipadx">2</property>
 46              <property name="padx">5</property>
 47              <property name="side">right</property>
 48            </layout>
 49          </object>
 50        </child>
 51      </object>
 52    </child>
 53    <child>
 54      <object class="ttk.Labelframe" id="preset_frame">
 55        <property name="height">200</property>
 56        <property name="text" translatable="yes"> Preset </property>
 57        <property name="width">200</property>
 58        <layout manager="grid">
 59          <property name="column">1</property>
 60          <property name="ipadx">2</property>
 61          <property name="ipady">2</property>
 62          <property name="padx">5</property>
 63          <property name="pady">5</property>
 64          <property name="row">0</property>
 65          <property name="sticky">ew</property>
 66        </layout>
 67        <child>
 68          <object class="ttk.Combobox" id="preset_combo">
 69            <property name="state">readonly</property>
 70            <property name="textvariable">string:preset</property>
 71            <property name="values">"Scelte consigliate" "EB Beginnings (US)" "Mother 1 (JP)" "Mother 1+2"</property>
 72            <layout manager="pack">
 73              <property name="fill">x</property>
 74              <property name="padx">5</property>
 75              <property name="pady">8</property>
 76              <property name="side">top</property>
 77            </layout>
 78          </object>
 79        </child>
 80      </object>
 81    </child>
 82    <child>
 83      <object class="ttk.Labelframe" id="font_frame">
 84        <property name="height">200</property>
 85        <property name="text" translatable="yes"> Font </property>
 86        <property name="width">200</property>
 87        <layout manager="grid">
 88          <property name="column">0</property>
 89          <property name="ipadx">2</property>
 90          <property name="ipady">2</property>
 91          <property name="padx">5</property>
 92          <property name="pady">5</property>
 93          <property name="row">1</property>
 94          <property name="sticky">ew</property>
 95        </layout>
 96        <child>
 97          <object class="ttk.Radiobutton" id="font_serif">
 98            <property name="text" translatable="yes">Serif (originale)</property>
 99            <property name="value">fonts_og</property>
100            <property name="variable">string:font</property>
101            <layout manager="pack">
102              <property name="anchor">w</property>
103              <property name="padx">5</property>
104              <property name="pady">1</property>
105              <property name="side">top</property>
106            </layout>
107          </object>
108        </child>
109        <child>
110          <object class="ttk.Radiobutton" id="font_sans">
111            <property name="text" translatable="yes">Sans serif (alternativa di Tomato)</property>
112            <property name="value">fonts_new</property>
113            <property name="variable">string:font</property>
114            <layout manager="pack">
115              <property name="anchor">w</property>
116              <property name="padx">5</property>
117              <property name="pady">1</property>
118              <property name="side">top</property>
119            </layout>
120          </object>
121        </child>
122      </object>
123    </child>
124    <child>
125      <object class="ttk.Labelframe" id="places_frame">
126        <property name="height">200</property>
127        <property name="text" translatable="yes"> Nomi dei luoghi </property>
128        <property name="width">200</property>
129        <layout manager="grid">
130          <property name="column">1</property>
131          <property name="ipadx">2</property>
132          <property name="ipady">2</property>
133          <property name="padx">5</property>
134          <property name="pady">5</property>
135          <property name="row">1</property>
136          <property name="sticky">ew</property>
137        </layout>
138        <child>
139          <object class="ttk.Radiobutton" id="places_us">
140            <property name="text" translatable="yes">Occidentali</property>
141            <property name="value">places_us</property>
142            <property name="variable">string:places</property>
143            <layout manager="pack">
144              <property name="anchor">w</property>
145              <property name="padx">5</property>
146              <property name="pady">1</property>
147              <property name="side">top</property>
148            </layout>
149          </object>
150        </child>
151        <child>
152          <object class="ttk.Radiobutton" id="places_jp">
153            <property name="text" translatable="yes">Giapponesi</property>
154            <property name="value">places_jp</property>
155            <property name="variable">string:places</property>
156            <layout manager="pack">
157              <property name="anchor">w</property>
158              <property name="padx">5</property>
159              <property name="pady">1</property>
160              <property name="side">top</property>
161            </layout>
162          </object>
163        </child>
164      </object>
165    </child>
166    <child>
167      <object class="ttk.Labelframe" id="sprites_frame">
168        <property name="height">200</property>
169        <property name="text" translatable="yes"> Sprite e tileset </property>
170        <property name="width">200</property>
171        <layout manager="grid">
172          <property name="column">1</property>
173          <property name="ipadx">2</property>
174          <property name="ipady">2</property>
175          <property name="padx">5</property>
176          <property name="pady">5</property>
177          <property name="row">2</property>
178          <property name="sticky">ew</property>
179        </layout>
180        <child>
181          <object class="ttk.Radiobutton" id="sprites_mix">
182            <property name="text" translatable="yes">Misti (aggiornati non censurati)</property>
183            <property name="value">sprites_mix</property>
184            <property name="variable">string:sprites</property>
185            <layout manager="pack">
186              <property name="anchor">w</property>
187              <property name="padx">5</property>
188              <property name="pady">1</property>
189              <property name="side">top</property>
190            </layout>
191          </object>
192        </child>
193        <child>
194          <object class="ttk.Radiobutton" id="sprites_us">
195            <property name="text" translatable="yes">Aggiornati e censurati (EBB, M1+2)</property>
196            <property name="value">sprites_us</property>
197            <property name="variable">string:sprites</property>
198            <layout manager="pack">
199              <property name="anchor">w</property>
200              <property name="padx">5</property>
201              <property name="pady">1</property>
202              <property name="side">top</property>
203            </layout>
204          </object>
205        </child>
206        <child>
207          <object class="ttk.Radiobutton" id="sprites_jp">
208            <property name="text" translatable="yes">Originali (M1)</property>
209            <property name="value">sprites_jp</property>
210            <property name="variable">string:sprites</property>
211            <layout manager="pack">
212              <property name="anchor">w</property>
213              <property name="padx">5</property>
214              <property name="pady">1</property>
215              <property name="side">top</property>
216            </layout>
217          </object>
218        </child>
219      </object>
220    </child>
221    <child>
222      <object class="ttk.Labelframe" id="palette_frame">
223        <property name="height">200</property>
224        <property name="text" translatable="yes"> Palette dei colori </property>
225        <property name="width">200</property>
226        <layout manager="grid">
227          <property name="column">0</property>
228          <property name="ipadx">2</property>
229          <property name="ipady">2</property>
230          <property name="padx">5</property>
231          <property name="pady">5</property>
232          <property name="row">2</property>
233          <property name="sticky">new</property>
234        </layout>
235        <child>
236          <object class="ttk.Radiobutton" id="palette_nes">
237            <property name="text" translatable="yes">NES</property>
238            <property name="value">palette_nes</property>
239            <property name="variable">string:palette</property>
240            <layout manager="pack">
241              <property name="anchor">w</property>
242              <property name="padx">5</property>
243              <property name="pady">1</property>
244              <property name="side">top</property>
245            </layout>
246          </object>
247        </child>
248        <child>
249          <object class="ttk.Radiobutton" id="palette_gba">
250            <property name="text" translatable="yes">GBA</property>
251            <property name="value">palette_gba</property>
252            <property name="variable">string:palette</property>
253            <layout manager="pack">
254              <property name="anchor">w</property>
255              <property name="padx">5</property>
256              <property name="pady">1</property>
257              <property name="side">top</property>
258            </layout>
259          </object>
260        </child>
261        <child>
262          <object class="ttk.Radiobutton" id="palette_ncm">
263            <property name="text" translatable="yes">Nintendo Classic Mini - NES</property>
264            <property name="value">palette_ncm</property>
265            <property name="variable">string:palette</property>
266            <layout manager="pack">
267              <property name="anchor">w</property>
268              <property name="padx">5</property>
269              <property name="pady">1</property>
270              <property name="side">top</property>
271            </layout>
272          </object>
273        </child>
274      </object>
275    </child>
276    <child>
277      <object class="ttk.Labelframe" id="other_frame">
278        <property name="height">200</property>
279        <property name="text" translatable="yes"> Altri miglioramenti </property>
280        <property name="width">200</property>
281        <layout manager="grid">
282          <property name="column">0</property>
283          <property name="columnspan">2</property>
284          <property name="ipadx">2</property>
285          <property name="ipady">2</property>
286          <property name="padx">5</property>
287          <property name="pady">5</property>
288          <property name="row">3</property>
289          <property name="sticky">ew</property>
290        </layout>
291        <child>
292          <object class="ttk.Checkbutton" id="skip_m1_check">
293            <property name="offvalue">skip_m1_no</property>
294            <property name="onvalue">skip_m1_yes</property>
295            <property name="text" translatable="yes">Avvia automaticamente Mother 1</property>
296            <property name="variable">string:skip_m1</property>
297            <layout manager="pack">
298              <property name="anchor">w</property>
299              <property name="padx">5</property>
300              <property name="pady">1</property>
301              <property name="side">top</property>
302            </layout>
303          </object>
304        </child>
305      </object>
306    </child>
307    <child>
308      <object class="ttk.Frame" id="apply_frame">
309        <property name="height">200</property>
310        <property name="width">200</property>
311        <layout manager="grid">
312          <property name="column">0</property>
313          <property name="columnspan">2</property>
314          <property name="padx">5</property>
315          <property name="pady">4</property>
316          <property name="row">5</property>
317          <property name="sticky">ew</property>
318        </layout>
319        <child>
320          <object class="ttk.Button" id="apply_button">
321            <property name="command" type="command" cbtype="simple">on_apply_button</property>
322            <property name="text" translatable="yes">Applica!</property>
323            <layout manager="pack">
324              <property name="fill">x</property>
325              <property name="pady">2</property>
326            </layout>
327          </object>
328        </child>
329        <child>
330          <object class="ttk.Progressbar" id="progress_bar">
331            <property name="length">215</property>
332            <property name="orient">horizontal</property>
333            <property name="variable">int:progress</property>
334            <layout manager="pack">
335              <property name="fill">x</property>
336              <property name="side">top</property>
337            </layout>
338          </object>
339        </child>
340      </object>
341    </child>
342    <child>
343      <object class="ttk.Label" id="status_label">
344        <property name="relief">sunken</property>
345        <property name="text" translatable="yes">Benvenuto al patcher per Mother 1+2.</property>
346        <property name="textvariable">string:status_text</property>
347        <layout manager="grid">
348          <property name="columnspan">2</property>
349          <property name="sticky">ew</property>
350        </layout>
351      </object>
352    </child>
353  </object>
354</interface>