-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtexturemapper.ui
240 lines (240 loc) · 8.58 KB
/
texturemapper.ui
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>700</width>
<height>300</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle">
<string>Mass Effect Texture Mapper</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/icon</normaloff>:/icon</iconset>
</property>
<widget class="QWidget" name="centralWidget">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>640</width>
<height>300</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<layout class="QGridLayout" name="grid" columnstretch="1,1">
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
</property>
<property name="spacing">
<number>8</number>
</property>
<item row="3" column="0">
<layout class="QHBoxLayout" name="hl1" stretch="0,0,0,0">
<property name="spacing">
<number>8</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<item>
<spacer name="h2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="option_rename">
<property name="toolTip">
<string><html><head/><body><p>If the file name contains a hash, rename the file to name_hash. Otherwise, try to deduce the hash from the filename and display it in the right panel (no renaming : a name can correspond to multiple hashes).</p><p>If there are no files selected, the results will simply be displayed since there is nothing to rename.</p></body></html></string>
</property>
<property name="text">
<string>Rename</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="option_copy">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string><html><head/><body><p>Makes as many copies of your texture as there are duplicates, and renames those copies accordingly. There will be no overwriting of the files you selected, the ported textures will be pasted in a subfolder named ME1, ME2 or ME3 depending on the game you next choose.</p></body></html></string>
</property>
<property name="text">
<string>Copy</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="combobox_game">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string><html><head/><body><p>Select the game you wish to port your textures to. The tool doesn't care from which game your hashes actually come from, only in which game it should find matching duplicates. You could mix hashes from ME1, ME2 and ME3 and it would work just fine.</p></body></html></string>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="currentText">
<string>ME1</string>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<item>
<property name="text">
<string>ME1</string>
</property>
</item>
<item>
<property name="text">
<string>ME2</string>
</property>
</item>
<item>
<property name="text">
<string>ME3</string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="file_chooser_dst">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string><html><head/><body><p>Select the folder you want the ported textures to be copied into. By default it is set to where you selected the files.</p></body></html></string>
</property>
<property name="text">
<string>Browse destination</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="file_chooser_src">
<property name="toolTip">
<string><html><head/><body><p>Browse for the files you wish to port. The selected files will be displayed in the left pane below, one per line. Once you've selected files, you can't edit the left pane anymore, until you hit the Clear button.</p></body></html></string>
</property>
<property name="text">
<string>Add files</string>
</property>
</widget>
</item>
<item row="3" column="1">
<layout class="QHBoxLayout" name="hl2">
<item>
<widget class="QLineEdit" name="line_edit_search">
<property name="toolTip">
<string><html><head/><body><p>Filter the results.</p></body></html></string>
</property>
<property name="placeholderText">
<string>Search...</string>
</property>
</widget>
</item>
<item>
<spacer name="h1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="button_clear">
<property name="enabled">
<bool>true</bool>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_go">
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string><html><head/><body><p>The tool will match your hashes with the database, and display the results in the right pane. If you selected the copy option, it will copy the matches in a subfolder.</p></body></html></string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>Go !</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="1">
<widget class="QTextEdit" name="text_edit_right">
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="overwriteMode">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QTextEdit" name="text_edit_left">
<property name="placeholderText">
<string>Paste hashes here, or browse for the files you want to port...</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>