all repos — m12-patcher @ 3473a55360ab7a11cb56040fa2fdae97e4fc73af

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">0</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="other_frame">
223        <property name="height">200</property>
224        <property name="text" translatable="yes"> Altri miglioramenti </property>
225        <property name="width">200</property>
226        <layout manager="grid">
227          <property name="column">1</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.Checkbutton" id="nes_palette_check">
237            <property name="offvalue">nes_palette_no</property>
238            <property name="onvalue">nes_palette_yes</property>
239            <property name="text" translatable="yes">Palette NES</property>
240            <property name="variable">string:nes_palette</property>
241            <layout manager="pack">
242              <property name="anchor">w</property>
243              <property name="padx">5</property>
244              <property name="pady">1</property>
245              <property name="side">top</property>
246            </layout>
247          </object>
248        </child>
249        <child>
250          <object class="ttk.Checkbutton" id="skip_m1_check">
251            <property name="offvalue">skip_m1_no</property>
252            <property name="onvalue">skip_m1_yes</property>
253            <property name="text" translatable="yes">Avvia automaticamente Mother 1</property>
254            <property name="variable">string:skip_m1</property>
255            <layout manager="pack">
256              <property name="anchor">w</property>
257              <property name="padx">5</property>
258              <property name="pady">1</property>
259              <property name="side">top</property>
260            </layout>
261          </object>
262        </child>
263      </object>
264    </child>
265    <child>
266      <object class="ttk.Frame" id="apply_frame">
267        <property name="height">200</property>
268        <property name="width">200</property>
269        <layout manager="grid">
270          <property name="column">0</property>
271          <property name="columnspan">2</property>
272          <property name="padx">5</property>
273          <property name="pady">4</property>
274          <property name="row">5</property>
275          <property name="sticky">ew</property>
276        </layout>
277        <child>
278          <object class="ttk.Button" id="apply_button">
279            <property name="command" type="command" cbtype="simple">on_apply_button</property>
280            <property name="text" translatable="yes">Applica!</property>
281            <layout manager="pack">
282              <property name="fill">x</property>
283              <property name="pady">2</property>
284            </layout>
285          </object>
286        </child>
287        <child>
288          <object class="ttk.Progressbar" id="progress_bar">
289            <property name="length">215</property>
290            <property name="orient">horizontal</property>
291            <property name="variable">int:progress</property>
292            <layout manager="pack">
293              <property name="fill">x</property>
294              <property name="side">top</property>
295            </layout>
296          </object>
297        </child>
298      </object>
299    </child>
300    <child>
301      <object class="ttk.Label" id="status_label">
302        <property name="relief">sunken</property>
303        <property name="text" translatable="yes">Benvenuto al patcher per Mother 1+2.</property>
304        <property name="textvariable">string:status_text</property>
305        <layout manager="grid">
306          <property name="columnspan">2</property>
307          <property name="sticky">ew</property>
308        </layout>
309      </object>
310    </child>
311  </object>
312</interface>