all repos — m12-patcher @ bdc5a2e0ea16893a72389ca8757b9dcf51630f99

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            <layout manager="pack">
 72              <property name="fill">x</property>
 73              <property name="padx">5</property>
 74              <property name="pady">8</property>
 75              <property name="side">top</property>
 76            </layout>
 77          </object>
 78        </child>
 79      </object>
 80    </child>
 81    <child>
 82      <object class="ttk.Labelframe" id="font_frame">
 83        <property name="height">200</property>
 84        <property name="text" translatable="yes"> Font </property>
 85        <property name="width">200</property>
 86        <layout manager="grid">
 87          <property name="column">0</property>
 88          <property name="ipadx">2</property>
 89          <property name="ipady">2</property>
 90          <property name="padx">5</property>
 91          <property name="pady">5</property>
 92          <property name="row">1</property>
 93          <property name="sticky">ew</property>
 94        </layout>
 95        <child>
 96          <object class="ttk.Radiobutton" id="font_serif">
 97            <property name="text" translatable="yes">Serif (originale)</property>
 98            <property name="value">font_og</property>
 99            <property name="variable">string:font</property>
100            <layout manager="pack">
101              <property name="anchor">w</property>
102              <property name="padx">5</property>
103              <property name="pady">1</property>
104              <property name="side">top</property>
105            </layout>
106          </object>
107        </child>
108        <child>
109          <object class="ttk.Radiobutton" id="font_sans">
110            <property name="text" translatable="yes">Sans serif (alternativa di Tomato)</property>
111            <property name="value">font_new</property>
112            <property name="variable">string:font</property>
113            <layout manager="pack">
114              <property name="anchor">w</property>
115              <property name="padx">5</property>
116              <property name="pady">1</property>
117              <property name="side">top</property>
118            </layout>
119          </object>
120        </child>
121      </object>
122    </child>
123    <child>
124      <object class="ttk.Labelframe" id="places_frame">
125        <property name="height">200</property>
126        <property name="text" translatable="yes"> Nomi dei luoghi </property>
127        <property name="width">200</property>
128        <layout manager="grid">
129          <property name="column">1</property>
130          <property name="ipadx">2</property>
131          <property name="ipady">2</property>
132          <property name="padx">5</property>
133          <property name="pady">5</property>
134          <property name="row">1</property>
135          <property name="sticky">ew</property>
136        </layout>
137        <child>
138          <object class="ttk.Radiobutton" id="places_us">
139            <property name="text" translatable="yes">Occidentali</property>
140            <property name="value">places_us</property>
141            <property name="variable">string:places</property>
142            <layout manager="pack">
143              <property name="anchor">w</property>
144              <property name="padx">5</property>
145              <property name="pady">1</property>
146              <property name="side">top</property>
147            </layout>
148          </object>
149        </child>
150        <child>
151          <object class="ttk.Radiobutton" id="places_jp">
152            <property name="text" translatable="yes">Giapponesi</property>
153            <property name="value">places_jp</property>
154            <property name="variable">string:places</property>
155            <layout manager="pack">
156              <property name="anchor">w</property>
157              <property name="padx">5</property>
158              <property name="pady">1</property>
159              <property name="side">top</property>
160            </layout>
161          </object>
162        </child>
163      </object>
164    </child>
165    <child>
166      <object class="ttk.Labelframe" id="sprites_frame">
167        <property name="height">200</property>
168        <property name="text" translatable="yes"> Sprite e tileset </property>
169        <property name="width">200</property>
170        <layout manager="grid">
171          <property name="column">0</property>
172          <property name="ipadx">2</property>
173          <property name="ipady">2</property>
174          <property name="padx">5</property>
175          <property name="pady">5</property>
176          <property name="row">2</property>
177          <property name="sticky">ew</property>
178        </layout>
179        <child>
180          <object class="ttk.Radiobutton" id="sprites_mix">
181            <property name="text" translatable="yes">Misti (aggiornati non censurati)</property>
182            <property name="value">sprites_mix</property>
183            <property name="variable">string:sprites</property>
184            <layout manager="pack">
185              <property name="anchor">w</property>
186              <property name="padx">5</property>
187              <property name="pady">1</property>
188              <property name="side">top</property>
189            </layout>
190          </object>
191        </child>
192        <child>
193          <object class="ttk.Radiobutton" id="sprites_us">
194            <property name="text" translatable="yes">Aggiornati e censurati (EBB, M1+2)</property>
195            <property name="value">sprites_us</property>
196            <property name="variable">string:sprites</property>
197            <layout manager="pack">
198              <property name="anchor">w</property>
199              <property name="padx">5</property>
200              <property name="pady">1</property>
201              <property name="side">top</property>
202            </layout>
203          </object>
204        </child>
205        <child>
206          <object class="ttk.Radiobutton" id="sprites_jp">
207            <property name="text" translatable="yes">Originali (M1)</property>
208            <property name="value">sprites_jp</property>
209            <property name="variable">string:sprites</property>
210            <layout manager="pack">
211              <property name="anchor">w</property>
212              <property name="padx">5</property>
213              <property name="pady">1</property>
214              <property name="side">top</property>
215            </layout>
216          </object>
217        </child>
218      </object>
219    </child>
220    <child>
221      <object class="ttk.Labelframe" id="other_frame">
222        <property name="height">200</property>
223        <property name="text" translatable="yes"> Altri miglioramenti </property>
224        <property name="width">200</property>
225        <layout manager="grid">
226          <property name="column">1</property>
227          <property name="ipadx">2</property>
228          <property name="ipady">2</property>
229          <property name="padx">5</property>
230          <property name="pady">5</property>
231          <property name="row">2</property>
232          <property name="sticky">new</property>
233        </layout>
234        <child>
235          <object class="ttk.Checkbutton" id="nes_palette_check">
236            <property name="offvalue">nes_palette_no</property>
237            <property name="onvalue">nes_palette_yes</property>
238            <property name="text" translatable="yes">Palette NES</property>
239            <property name="variable">string:nes_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.Checkbutton" id="skip_m1_check">
250            <property name="offvalue">skip_m1_no</property>
251            <property name="onvalue">skip_m1_yes</property>
252            <property name="text" translatable="yes">Avvia automaticamente Mother 1</property>
253            <property name="variable">string:skip_m1</property>
254            <layout manager="pack">
255              <property name="anchor">w</property>
256              <property name="padx">5</property>
257              <property name="pady">1</property>
258              <property name="side">top</property>
259            </layout>
260          </object>
261        </child>
262      </object>
263    </child>
264    <child>
265      <object class="ttk.Frame" id="apply_frame">
266        <property name="height">200</property>
267        <property name="width">200</property>
268        <layout manager="grid">
269          <property name="column">0</property>
270          <property name="columnspan">2</property>
271          <property name="padx">5</property>
272          <property name="pady">4</property>
273          <property name="row">5</property>
274          <property name="sticky">ew</property>
275        </layout>
276        <child>
277          <object class="ttk.Button" id="apply_button">
278            <property name="command" type="command" cbtype="simple">on_apply_button</property>
279            <property name="text" translatable="yes">Applica!</property>
280            <layout manager="pack">
281              <property name="fill">x</property>
282              <property name="pady">2</property>
283            </layout>
284          </object>
285        </child>
286        <child>
287          <object class="ttk.Progressbar" id="progress_bar">
288            <property name="length">215</property>
289            <property name="orient">horizontal</property>
290            <property name="variable">int:progress</property>
291            <layout manager="pack">
292              <property name="fill">x</property>
293              <property name="side">top</property>
294            </layout>
295          </object>
296        </child>
297      </object>
298    </child>
299    <child>
300      <object class="ttk.Label" id="status_label">
301        <property name="relief">sunken</property>
302        <property name="text" translatable="yes">Benvenuto al patcher per Mother 1+2.</property>
303        <property name="textvariable">string:status_text</property>
304        <layout manager="grid">
305          <property name="columnspan">2</property>
306          <property name="sticky">ew</property>
307        </layout>
308      </object>
309    </child>
310  </object>
311</interface>