blob: d567233812866c74cc93d34910ba3c7923a6e556 (
plain)
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
|
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>Form1</class>
<widget class="Dialog">
<property name="name">
<cstring>Form1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>480</height>
</rect>
</property>
<property name="caption">
<string>Looooop!</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="ExecButton" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>ExecButton1</cstring>
</property>
<property name="text">
<string>Enter loop!</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@forEach(i, @exec(ls))
@TreeWidget1.insertItem(@i\t@exec(wc -c "@i" | cut -f 1 -d ' '), -1)
@end
@for(olymp, 1900, 2006, 4)
@ListBox1.insertItem(@olymp, -1)
@end</string>
</stringlist>
</property>
</widget>
<widget class="TreeWidget" row="0" column="0">
<column>
<property name="text">
<string>File</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizeable">
<bool>true</bool>
</property>
</column>
<column>
<property name="text">
<string>Size</string>
</property>
<property name="clickable">
<bool>true</bool>
</property>
<property name="resizeable">
<bool>true</bool>
</property>
</column>
<property name="name">
<cstring>TreeWidget1</cstring>
</property>
<property name="fullWidth">
<bool>true</bool>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>Layout1</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string>Olympiads:</string>
</property>
</widget>
<widget class="ListBox">
<property name="name">
<cstring>ListBox1</cstring>
</property>
</widget>
</vbox>
</widget>
</grid>
</widget>
<layoutdefaults spacing="6" margin="11"/>
</UI>
|