-
Notifications
You must be signed in to change notification settings - Fork 2
/
IconDialog.ui
162 lines (162 loc) · 3.9 KB
/
IconDialog.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
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>IconDialog</class>
<widget class="QDialog" name="IconDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>388</width>
<height>306</height>
</rect>
</property>
<property name="windowTitle">
<string>Select Icon</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/icons/images/swine32.png</normaloff>:/icons/images/swine32.png</iconset>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>1</number>
</property>
<property name="margin">
<number>1</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="filename">
<property name="maximumSize">
<size>
<width>500</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string notr="true">FILENAME</string>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="toolButton">
<property name="text">
<string notr="true">...</string>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/images/document-open.png</normaloff>:/icons/images/document-open.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QListWidget" name="iconView">
<property name="font">
<font>
<stylestrategy>NoAntialias</stylestrategy>
<kerning>false</kerning>
</font>
</property>
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
<property name="flow">
<enum>QListView::LeftToRight</enum>
</property>
<property name="spacing">
<number>3</number>
</property>
<property name="viewMode">
<enum>QListView::IconMode</enum>
</property>
<property name="maxItemTextLength" stdset="0">
<number>0</number>
</property>
<property name="itemsMovable" stdset="0">
<bool>false</bool>
</property>
<property name="wordWrapIconText" stdset="0">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
<property name="centerButtons">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
<resources>
<include location="resources.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>IconDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>193</x>
<y>283</y>
</hint>
<hint type="destinationlabel">
<x>193</x>
<y>152</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>IconDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>193</x>
<y>283</y>
</hint>
<hint type="destinationlabel">
<x>193</x>
<y>152</y>
</hint>
</hints>
</connection>
<connection>
<sender>toolButton</sender>
<signal>pressed()</signal>
<receiver>IconDialog</receiver>
<slot>openFile()</slot>
<hints>
<hint type="sourcelabel">
<x>364</x>
<y>22</y>
</hint>
<hint type="destinationlabel">
<x>193</x>
<y>152</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>openFile()</slot>
</slots>
</ui>