-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
main.ui
237 lines (237 loc) · 6.13 KB
/
main.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
<?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>600</width>
<height>592</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>600</width>
<height>592</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>592</height>
</size>
</property>
<property name="windowTitle">
<string>Snap Lens Tool v0.7.0</string>
</property>
<property name="toolTip">
<string/>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>551</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>10</number>
</property>
<item>
<widget class="MyTreeWidget" name="treeWidget">
<property name="dragDropMode">
<enum>QAbstractItemView::InternalMove</enum>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
</property>
<property name="columnCount">
<number>3</number>
</property>
<attribute name="headerMinimumSectionSize">
<number>40</number>
</attribute>
<attribute name="headerDefaultSectionSize">
<number>190</number>
</attribute>
<column>
<property name="text">
<string>Path</string>
</property>
</column>
<column>
<property name="text">
<string>Type</string>
</property>
</column>
<column>
<property name="text">
<string>Size</string>
</property>
</column>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="itemButtonLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="addFilesButton">
<property name="toolTip">
<string>Add packed lens files (.lns) files</string>
</property>
<property name="text">
<string>Add Files</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="addFolderButton">
<property name="toolTip">
<string>Add unpacked lens folder</string>
</property>
<property name="text">
<string>Add Folder</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QPushButton" name="removeButton">
<property name="toolTip">
<string>Remove the selected files and folders</string>
</property>
<property name="text">
<string>Remove Selected</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="clearButton">
<property name="toolTip">
<string>Removes all files and folders</string>
</property>
<property name="text">
<string>Clear All</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="actionSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>6</height>
</size>
</property>
</spacer>
</item>
<item>
<layout class="QHBoxLayout" name="actionButtonLayout">
<item>
<widget class="QPushButton" name="unpackButton">
<property name="text">
<string>Unpack Lens</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="repackButton">
<property name="text">
<string>Re-Pack Lens</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="disableFallbackButton">
<property name="text">
<string>Disable Fallback Mode</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<spacer name="downloadSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>12</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="downloadButton">
<property name="text">
<string>Download Snap Lens</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar">
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>MyTreeWidget</class>
<extends>QTreeWidget</extends>
<header>src.qt.my_tree_widget</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>