src/ui/downloadfrom.ui

changeset 426
be5746bf0f12
child 427
d308149fbc90
equal deleted inserted replaced
425:6bdf2b3f4e00 426:be5746bf0f12
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>DownloadFrom</class>
4 <widget class="QDialog" name="DownloadFrom">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>406</width>
10 <height>319</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Download from LDraw.org</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <item>
18 <widget class="QLabel" name="label">
19 <property name="font">
20 <font>
21 <pointsize>11</pointsize>
22 <weight>75</weight>
23 <bold>true</bold>
24 </font>
25 </property>
26 <property name="text">
27 <string>Download from LDraw.org</string>
28 </property>
29 <property name="alignment">
30 <set>Qt::AlignCenter</set>
31 </property>
32 </widget>
33 </item>
34 <item>
35 <layout class="QFormLayout" name="formLayout">
36 <property name="fieldGrowthPolicy">
37 <enum>QFormLayout::ExpandingFieldsGrow</enum>
38 </property>
39 <item row="0" column="0">
40 <widget class="QLabel" name="label_2">
41 <property name="text">
42 <string>Source:</string>
43 </property>
44 </widget>
45 </item>
46 <item row="0" column="1">
47 <widget class="QComboBox" name="source">
48 <property name="sizePolicy">
49 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
50 <horstretch>0</horstretch>
51 <verstretch>0</verstretch>
52 </sizepolicy>
53 </property>
54 <item>
55 <property name="text">
56 <string>Official parts</string>
57 </property>
58 </item>
59 <item>
60 <property name="text">
61 <string>Parts tracker</string>
62 </property>
63 </item>
64 <item>
65 <property name="text">
66 <string>Custom URL</string>
67 </property>
68 </item>
69 </widget>
70 </item>
71 <item row="1" column="0">
72 <widget class="QLabel" name="fileNameLabel">
73 <property name="text">
74 <string>File name:</string>
75 </property>
76 </widget>
77 </item>
78 <item row="1" column="1">
79 <widget class="QLineEdit" name="fname"/>
80 </item>
81 </layout>
82 </item>
83 <item>
84 <widget class="QTableWidget" name="progress">
85 <property name="enabled">
86 <bool>false</bool>
87 </property>
88 <property name="editTriggers">
89 <set>QAbstractItemView::NoEditTriggers</set>
90 </property>
91 <property name="cornerButtonEnabled">
92 <bool>false</bool>
93 </property>
94 <attribute name="horizontalHeaderCascadingSectionResizes">
95 <bool>false</bool>
96 </attribute>
97 <attribute name="horizontalHeaderShowSortIndicator" stdset="0">
98 <bool>true</bool>
99 </attribute>
100 <attribute name="horizontalHeaderStretchLastSection">
101 <bool>true</bool>
102 </attribute>
103 <attribute name="verticalHeaderVisible">
104 <bool>false</bool>
105 </attribute>
106 <attribute name="verticalHeaderCascadingSectionResizes">
107 <bool>false</bool>
108 </attribute>
109 <attribute name="verticalHeaderStretchLastSection">
110 <bool>false</bool>
111 </attribute>
112 <column>
113 <property name="text">
114 <string>URL</string>
115 </property>
116 <property name="font">
117 <font>
118 <weight>50</weight>
119 <bold>false</bold>
120 </font>
121 </property>
122 </column>
123 <column>
124 <property name="text">
125 <string>Status</string>
126 </property>
127 </column>
128 </widget>
129 </item>
130 <item>
131 <widget class="QDialogButtonBox" name="buttonBox">
132 <property name="orientation">
133 <enum>Qt::Horizontal</enum>
134 </property>
135 <property name="standardButtons">
136 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
137 </property>
138 </widget>
139 </item>
140 </layout>
141 </widget>
142 <resources/>
143 <connections>
144 <connection>
145 <sender>buttonBox</sender>
146 <signal>rejected()</signal>
147 <receiver>DownloadFrom</receiver>
148 <slot>reject()</slot>
149 <hints>
150 <hint type="sourcelabel">
151 <x>322</x>
152 <y>312</y>
153 </hint>
154 <hint type="destinationlabel">
155 <x>286</x>
156 <y>274</y>
157 </hint>
158 </hints>
159 </connection>
160 </connections>
161 </ui>

mercurial