Sun, 18 Aug 2013 17:30:58 +0300
Rewrote stud logo support, restructuring inlining stuff in the process. Logoed studs must only be used for rendering scenes, otherwise they will for instance get inlined in and that's not desired, or the vertex snapper will catch onto the logo's coordinates.
426 | 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> | |
427
d308149fbc90
now actually downloads parts
Santeri Piippo <crimsondusk64@gmail.com>
parents:
426
diff
changeset
|
9 | <width>546</width> |
d308149fbc90
now actually downloads parts
Santeri Piippo <crimsondusk64@gmail.com>
parents:
426
diff
changeset
|
10 | <height>405</height> |
426 | 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>Parts tracker</string> | |
57 | </property> | |
58 | </item> | |
59 | <item> | |
60 | <property name="text"> | |
61 | <string>Custom URL</string> | |
62 | </property> | |
63 | </item> | |
64 | </widget> | |
65 | </item> | |
66 | <item row="1" column="0"> | |
67 | <widget class="QLabel" name="fileNameLabel"> | |
68 | <property name="text"> | |
69 | <string>File name:</string> | |
70 | </property> | |
71 | </widget> | |
72 | </item> | |
73 | <item row="1" column="1"> | |
74 | <widget class="QLineEdit" name="fname"/> | |
75 | </item> | |
76 | </layout> | |
77 | </item> | |
78 | <item> | |
79 | <widget class="QTableWidget" name="progress"> | |
80 | <property name="enabled"> | |
81 | <bool>false</bool> | |
82 | </property> | |
83 | <property name="editTriggers"> | |
84 | <set>QAbstractItemView::NoEditTriggers</set> | |
85 | </property> | |
435
bc3a51394953
Merged PartDownloader into the prompt and renamed the prompt to PartDownloader
Santeri Piippo <crimsondusk64@gmail.com>
parents:
432
diff
changeset
|
86 | <property name="selectionMode"> |
bc3a51394953
Merged PartDownloader into the prompt and renamed the prompt to PartDownloader
Santeri Piippo <crimsondusk64@gmail.com>
parents:
432
diff
changeset
|
87 | <enum>QAbstractItemView::NoSelection</enum> |
426 | 88 | </property> |
89 | <attribute name="verticalHeaderVisible"> | |
90 | <bool>false</bool> | |
91 | </attribute> | |
92 | <column> | |
93 | <property name="text"> | |
435
bc3a51394953
Merged PartDownloader into the prompt and renamed the prompt to PartDownloader
Santeri Piippo <crimsondusk64@gmail.com>
parents:
432
diff
changeset
|
94 | <string>File</string> |
426 | 95 | </property> |
96 | <property name="font"> | |
97 | <font> | |
98 | <weight>50</weight> | |
99 | <bold>false</bold> | |
100 | </font> | |
101 | </property> | |
102 | </column> | |
103 | <column> | |
104 | <property name="text"> | |
105 | <string>Status</string> | |
106 | </property> | |
107 | </column> | |
108 | </widget> | |
109 | </item> | |
110 | <item> | |
111 | <widget class="QDialogButtonBox" name="buttonBox"> | |
112 | <property name="orientation"> | |
113 | <enum>Qt::Horizontal</enum> | |
114 | </property> | |
115 | <property name="standardButtons"> | |
432
ef382b98a8af
finalized downloading
Santeri Piippo <crimsondusk64@gmail.com>
parents:
428
diff
changeset
|
116 | <set>QDialogButtonBox::Abort|QDialogButtonBox::Close</set> |
426 | 117 | </property> |
118 | </widget> | |
119 | </item> | |
120 | </layout> | |
121 | </widget> | |
122 | <resources/> | |
123 | <connections> | |
124 | <connection> | |
125 | <sender>buttonBox</sender> | |
126 | <signal>rejected()</signal> | |
127 | <receiver>DownloadFrom</receiver> | |
128 | <slot>reject()</slot> | |
129 | <hints> | |
130 | <hint type="sourcelabel"> | |
131 | <x>322</x> | |
132 | <y>312</y> | |
133 | </hint> | |
134 | <hint type="destinationlabel"> | |
135 | <x>286</x> | |
136 | <y>274</y> | |
137 | </hint> | |
138 | </hints> | |
139 | </connection> | |
140 | </connections> | |
141 | </ui> |