blob: c01a10e903e78cbfa23483a8e28e2223b1695135 (
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
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
|
<!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>618</width>
<height>436</height>
</rect>
</property>
<property name="caption">
<string>Picture viewer</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</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="Label" row="0" column="0">
<property name="name">
<cstring>Label1</cstring>
</property>
<property name="text">
<string>Directory:</string>
</property>
</widget>
<widget class="Label" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Label2</cstring>
</property>
<property name="text">
<string>Images:</string>
</property>
</widget>
<widget class="FileSelector" row="0" column="1">
<property name="name">
<cstring>FileSelector1</cstring>
</property>
<property name="selectionType">
<enum>Directory</enum>
</property>
</widget>
<widget class=TQLAYOUTWIDGET_OBJECT_NAME_STRING row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="ListBox">
<property name="name">
<cstring>ListBox1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>200</width>
<height>32767</height>
</size>
</property>
<property name="populationText">
<string>@exec(cd @FileSelector1.text && find * -name "*.jpg" -o -name "*.png" -o -name "*.gif" -o -name "*.bmp")</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
<widget class="PixmapLabel">
<property name="name">
<cstring>PixmapLabel1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>2</hsizetype>
<vsizetype>2</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="frameShape">
<enum>Box</enum>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="populationText">
<string>@FileSelector1.text/@ListBox1.selection</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string></string>
</stringlist>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>FileSelector1</sender>
<signal>widgetTextChanged(const QString&)</signal>
<receiver>ListBox1</receiver>
<slot>populate()</slot>
</connection>
<connection>
<sender>ListBox1</sender>
<signal>highlighted(int)</signal>
<receiver>PixmapLabel1</receiver>
<slot>populate()</slot>
</connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>
|