-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmconvertmode.lfm
252 lines (252 loc) · 5.7 KB
/
frmconvertmode.lfm
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
241
242
243
244
245
246
247
248
249
250
251
252
object ConvertModeForm: TConvertModeForm
Left = 569
Height = 311
Top = 283
Width = 653
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Настройка конвертирования'
ClientHeight = 311
ClientWidth = 653
DefaultMonitor = dmMainForm
OnCreate = FormCreate
Position = poMainFormCenter
ShowInTaskBar = stNever
LCLVersion = '2.0.6.0'
object GroupBox1: TGroupBox
Left = 16
Height = 137
Top = 8
Width = 624
Caption = 'Конвертировать в'
ClientHeight = 117
ClientWidth = 620
TabOrder = 0
object ConvertToComboBox: TComboBox
Left = 8
Height = 28
Top = 8
Width = 232
ItemHeight = 0
ItemIndex = 0
Items.Strings = (
'JPEG images (.jpg)'
'PNG images (.png)'
'BMP images (.bmp)'
'GIF images (.gif)'
'XPM image (.xpm)'
)
OnSelect = ConvertToComboBoxSelect
ParentShowHint = False
Style = csDropDownList
TabOrder = 0
Text = 'JPEG images (.jpg)'
end
object RadioGroup1: TRadioGroup
Left = 8
Height = 62
Top = 43
Width = 232
AutoFill = True
Caption = 'Bits per pixel'
ChildSizing.LeftRightSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclTopToBottomThenLeftToRight
ChildSizing.ControlsPerLine = 1
ClientHeight = 42
ClientWidth = 228
ColumnLayout = clVerticalThenHorizontal
TabOrder = 1
object BitsRadioButton8: TRadioButton
Left = 6
Height = 42
Top = 0
Width = 31
Caption = '8'
OnClick = BitsRadioButton8Change
TabOrder = 0
end
object BitsRadioButton16: TRadioButton
Left = 37
Height = 42
Top = 0
Width = 39
Caption = '16'
OnClick = BitsRadioButton8Change
TabOrder = 1
end
object BitsRadioButton24: TRadioButton
Left = 76
Height = 42
Top = 0
Width = 39
Caption = '24'
OnClick = BitsRadioButton8Change
TabOrder = 2
end
object BitsRadioButton32: TRadioButton
Left = 115
Height = 42
Top = 0
Width = 39
Caption = '32'
OnClick = BitsRadioButton8Change
TabOrder = 3
end
object BitsRadioButtonNone: TRadioButton
Left = 154
Height = 42
Top = 0
Width = 68
Caption = 'Default'
Checked = True
TabOrder = 4
TabStop = True
end
end
object CompressGroupBox: TGroupBox
Left = 248
Height = 105
Top = 0
Width = 177
Caption = 'Сжатие JPEG/PNG'
ClientHeight = 85
ClientWidth = 173
TabOrder = 2
object CompressSpinEdit: TSpinEdit
Left = 8
Height = 26
Top = 8
Width = 58
MinValue = 30
OnChange = CompressSpinEditChange
TabOrder = 0
Value = 30
end
object Label1: TLabel
Left = 72
Height = 16
Top = 14
Width = 13
Caption = '%'
ParentColor = False
end
object CompressTrackBar: TTrackBar
Left = 8
Height = 39
Top = 40
Width = 156
Max = 100
Min = 30
OnChange = CompressTrackBarChange
Position = 30
TickStyle = tsNone
TabOrder = 1
end
end
object ChangeSizeCheckBox: TCheckBox
Left = 442
Height = 22
Top = 8
Width = 161
Caption = 'Изменение размера'
OnChange = ChangeSizeCheckBoxChange
TabOrder = 3
end
object Label2: TLabel
Left = 442
Height = 16
Top = 36
Width = 57
Caption = 'Ширина:'
ParentColor = False
end
object Label3: TLabel
Left = 442
Height = 16
Top = 80
Width = 54
Caption = 'Высота:'
ParentColor = False
end
object WidthSpinEdit: TSpinEdit
Left = 512
Height = 26
Top = 32
Width = 91
OnChange = WidthSpinEditChange
TabOrder = 4
end
object HeightSpinEdit: TSpinEdit
Left = 512
Height = 26
Top = 79
Width = 91
OnChange = HeightSpinEditChange
TabOrder = 5
end
end
object GroupBox3: TGroupBox
Left = 16
Height = 105
Top = 152
Width = 625
Caption = 'Имя фалы и пути'
ClientHeight = 85
ClientWidth = 621
TabOrder = 1
object Label4: TLabel
Left = 9
Height = 16
Top = 13
Width = 149
Caption = 'Путь для сохранения:'
ParentColor = False
end
object PathToSaveEdit: TEdit
Left = 168
Height = 26
Top = 8
Width = 384
ReadOnly = True
TabOrder = 0
end
object SelectPathToSaveButton: TButton
Left = 560
Height = 25
Top = 8
Width = 46
Caption = '...'
OnClick = SelectPathToSaveButtonClick
TabOrder = 1
end
object Label5: TLabel
Left = 8
Height = 16
Top = 52
Width = 116
Caption = 'Суффикс файла:'
ParentColor = False
end
object FileNameSuffixEdit: TEdit
Left = 168
Height = 26
Top = 48
Width = 384
TabOrder = 2
Text = '_converted'
end
end
object StartConvertButton: TButton
Left = 464
Height = 25
Top = 272
Width = 176
Caption = 'Конвертировать'
OnClick = StartConvertButtonClick
TabOrder = 2
end
end