Debian Codegraph @

src/Examples/CsoundQt/Widgets/Label_Widget.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 </CsOptions>
4 <CsInstruments>
5
6 sr = 44100
7 ksmps = 128
8 nchnls = 2
9 0dbfs = 1
10
11 instr 1
12 ;Nothing here...
13 endin
14
15 </CsInstruments>
16 <CsScore>
17 </CsScore>
18 </CsoundSynthesizer>
19 <bsbPanel>
20 <label>Widgets</label>
21 <objectName/>
22 <x>592</x>
23 <y>184</y>
24 <width>519</width>
25 <height>486</height>
26 <visible>true</visible>
27 <uuid/>
28 <bgcolor mode="background">
29 <r>203</r>
30 <g>213</g>
31 <b>220</b>
32 </bgcolor>
33 <bsbObject version="2" type="BSBLabel">
34 <objectName/>
35 <x>131</x>
36 <y>20</y>
37 <width>249</width>
38 <height>43</height>
39 <uuid>{d476aacb-5c13-4b87-bcaf-4a2ed7f0a445}</uuid>
40 <visible>true</visible>
41 <midichan>0</midichan>
42 <midicc>-3</midicc>
43 <description/>
44 <label>Label Widget</label>
45 <alignment>center</alignment>
46 <valignment>top</valignment>
47 <font>Arial</font>
48 <fontsize>24</fontsize>
49 <precision>3</precision>
50 <color>
51 <r>0</r>
52 <g>0</g>
53 <b>0</b>
54 </color>
55 <bgcolor mode="nobackground">
56 <r>191</r>
57 <g>204</g>
58 <b>234</b>
59 </bgcolor>
60 <bordermode>noborder</bordermode>
61 <borderradius>1</borderradius>
62 <borderwidth>0</borderwidth>
63 </bsbObject>
64 <bsbObject version="2" type="BSBLabel">
65 <objectName/>
66 <x>64</x>
67 <y>58</y>
68 <width>377</width>
69 <height>86</height>
70 <uuid>{f409f199-15e5-4b21-ae23-c21c37e87ce6}</uuid>
71 <visible>true</visible>
72 <midichan>0</midichan>
73 <midicc>-3</midicc>
74 <description/>
75 <label>All the widgets you see here are label widgets. Their function is to display formatted text. You can choose text and background color, size, font, border and alignment. Note that labels do not send or receive data on their channels. If you want to receive data use a different widget like a SpinBox widget or a Scroll Number widget.</label>
76 <alignment>left</alignment>
77 <valignment>top</valignment>
78 <font>Liberation Sans</font>
79 <fontsize>12</fontsize>
80 <precision>3</precision>
81 <color>
82 <r>0</r>
83 <g>0</g>
84 <b>0</b>
85 </color>
86 <bgcolor mode="background">
87 <r>175</r>
88 <g>186</g>
89 <b>190</b>
90 </bgcolor>
91 <bordermode>false</bordermode>
92 <borderradius>5</borderradius>
93 <borderwidth>0</borderwidth>
94 </bsbObject>
95 <bsbObject version="2" type="BSBLabel">
96 <objectName/>
97 <x>65</x>
98 <y>155</y>
99 <width>112</width>
100 <height>57</height>
101 <uuid>{c1e8e530-b68d-49bc-ad51-9f8adb59fb0d}</uuid>
102 <visible>true</visible>
103 <midichan>0</midichan>
104 <midicc>-3</midicc>
105 <description/>
106 <label>With border</label>
107 <alignment>left</alignment>
108 <valignment>top</valignment>
109 <font>Helvetica</font>
110 <fontsize>14</fontsize>
111 <precision>3</precision>
112 <color>
113 <r>0</r>
114 <g>0</g>
115 <b>0</b>
116 </color>
117 <bgcolor mode="nobackground">
118 <r>255</r>
119 <g>255</g>
120 <b>255</b>
121 </bgcolor>
122 <bordermode>border</bordermode>
123 <borderradius>1</borderradius>
124 <borderwidth>1</borderwidth>
125 </bsbObject>
126 <bsbObject version="2" type="BSBLabel">
127 <objectName/>
128 <x>180</x>
129 <y>150</y>
130 <width>259</width>
131 <height>71</height>
132 <uuid>{3f79a644-8417-4936-bfc9-461570356823}</uuid>
133 <visible>true</visible>
134 <midichan>0</midichan>
135 <midicc>-3</midicc>
136 <description/>
137 <label>Large Times font with right alignment</label>
138 <alignment>right</alignment>
139 <valignment>top</valignment>
140 <font>Times New Roman</font>
141 <fontsize>26</fontsize>
142 <precision>3</precision>
143 <color>
144 <r>0</r>
145 <g>0</g>
146 <b>0</b>
147 </color>
148 <bgcolor mode="nobackground">
149 <r>255</r>
150 <g>255</g>
151 <b>255</b>
152 </bgcolor>
153 <bordermode>noborder</bordermode>
154 <borderradius>1</borderradius>
155 <borderwidth>0</borderwidth>
156 </bsbObject>
157 <bsbObject version="2" type="BSBLabel">
158 <objectName/>
159 <x>65</x>
160 <y>215</y>
161 <width>109</width>
162 <height>98</height>
163 <uuid>{c3a30447-fc28-4f8c-a7bc-dc5bfe90c48d}</uuid>
164 <visible>true</visible>
165 <midichan>0</midichan>
166 <midicc>-3</midicc>
167 <description/>
168 <label>Text color centered</label>
169 <alignment>center</alignment>
170 <valignment>center</valignment>
171 <font>Nimbus Sans [urw]</font>
172 <fontsize>18</fontsize>
173 <precision>3</precision>
174 <color>
175 <r>78</r>
176 <g>105</g>
177 <b>212</b>
178 </color>
179 <bgcolor mode="nobackground">
180 <r>255</r>
181 <g>255</g>
182 <b>255</b>
183 </bgcolor>
184 <bordermode>true</bordermode>
185 <borderradius>5</borderradius>
186 <borderwidth>1</borderwidth>
187 </bsbObject>
188 <bsbObject version="2" type="BSBLabel">
189 <objectName/>
190 <x>190</x>
191 <y>330</y>
192 <width>253</width>
193 <height>84</height>
194 <uuid>{636e83e7-be85-4e52-a61e-47e76bc3dc5b}</uuid>
195 <visible>true</visible>
196 <midichan>0</midichan>
197 <midicc>-3</midicc>
198 <description/>
199 <label/>
200 <alignment>left</alignment>
201 <valignment>top</valignment>
202 <font>DejaVu Sans</font>
203 <fontsize>6</fontsize>
204 <precision>3</precision>
205 <color>
206 <r>0</r>
207 <g>0</g>
208 <b>0</b>
209 </color>
210 <bgcolor mode="background">
211 <r>87</r>
212 <g>132</g>
213 <b>255</b>
214 </bgcolor>
215 <bordermode>noborder</bordermode>
216 <borderradius>1</borderradius>
217 <borderwidth>0</borderwidth>
218 </bsbObject>
219 <bsbObject version="2" type="BSBLabel">
220 <objectName/>
221 <x>205</x>
222 <y>270</y>
223 <width>92</width>
224 <height>78</height>
225 <uuid>{d92a498d-9b8b-4ae0-b778-4f92f53e0a6c}</uuid>
226 <visible>true</visible>
227 <midichan>0</midichan>
228 <midicc>-3</midicc>
229 <description/>
230 <label/>
231 <alignment>left</alignment>
232 <valignment>top</valignment>
233 <font>DejaVu Sans</font>
234 <fontsize>6</fontsize>
235 <precision>3</precision>
236 <color>
237 <r>0</r>
238 <g>0</g>
239 <b>0</b>
240 </color>
241 <bgcolor mode="background">
242 <r>139</r>
243 <g>174</g>
244 <b>255</b>
245 </bgcolor>
246 <bordermode>noborder</bordermode>
247 <borderradius>1</borderradius>
248 <borderwidth>0</borderwidth>
249 </bsbObject>
250 <bsbObject version="2" type="BSBLabel">
251 <objectName/>
252 <x>180</x>
253 <y>320</y>
254 <width>216</width>
255 <height>38</height>
256 <uuid>{ed3b47df-9ab5-4657-9223-35f1bbb79594}</uuid>
257 <visible>true</visible>
258 <midichan>0</midichan>
259 <midicc>-3</midicc>
260 <description/>
261 <label/>
262 <alignment>left</alignment>
263 <valignment>top</valignment>
264 <font>DejaVu Sans</font>
265 <fontsize>6</fontsize>
266 <precision>3</precision>
267 <color>
268 <r>0</r>
269 <g>0</g>
270 <b>0</b>
271 </color>
272 <bgcolor mode="background">
273 <r>167</r>
274 <g>207</g>
275 <b>255</b>
276 </bgcolor>
277 <bordermode>noborder</bordermode>
278 <borderradius>1</borderradius>
279 <borderwidth>0</borderwidth>
280 </bsbObject>
281 <bsbObject version="2" type="BSBLabel">
282 <objectName/>
283 <x>200</x>
284 <y>370</y>
285 <width>233</width>
286 <height>35</height>
287 <uuid>{c61db74a-07eb-490a-b0dd-5dadb73571ce}</uuid>
288 <visible>true</visible>
289 <midichan>0</midichan>
290 <midicc>-3</midicc>
291 <description/>
292 <label>Labels can be used as colored blocks</label>
293 <alignment>center</alignment>
294 <valignment>top</valignment>
295 <font>Arial</font>
296 <fontsize>12</fontsize>
297 <precision>3</precision>
298 <color>
299 <r>255</r>
300 <g>255</g>
301 <b>255</b>
302 </color>
303 <bgcolor mode="background">
304 <r>28</r>
305 <g>74</g>
306 <b>98</b>
307 </bgcolor>
308 <bordermode>noborder</bordermode>
309 <borderradius>10</borderradius>
310 <borderwidth>0</borderwidth>
311 </bsbObject>
312 <bsbObject version="2" type="BSBLabel">
313 <objectName/>
314 <x>60</x>
315 <y>320</y>
316 <width>121</width>
317 <height>107</height>
318 <uuid>{8a294141-18dd-4cbf-b427-5594895563cb}</uuid>
319 <visible>true</visible>
320 <midichan>0</midichan>
321 <midicc>-3</midicc>
322 <description/>
323 <label>With Border and Background</label>
324 <alignment>center</alignment>
325 <valignment>top</valignment>
326 <font>Arial</font>
327 <fontsize>18</fontsize>
328 <precision>3</precision>
329 <color>
330 <r>212</r>
331 <g>91</g>
332 <b>60</b>
333 </color>
334 <bgcolor mode="background">
335 <r>255</r>
336 <g>255</g>
337 <b>255</b>
338 </bgcolor>
339 <bordermode>border</bordermode>
340 <borderradius>10</borderradius>
341 <borderwidth>6</borderwidth>
342 </bsbObject>
343 <bsbObject version="2" type="BSBLabel">
344 <objectName/>
345 <x>340</x>
346 <y>220</y>
347 <width>71</width>
348 <height>107</height>
349 <uuid>{41eb9e39-2a7a-47f6-b085-041908cf349c}</uuid>
350 <visible>true</visible>
351 <midichan>0</midichan>
352 <midicc>-3</midicc>
353 <description/>
354 <label/>
355 <alignment>left</alignment>
356 <valignment>top</valignment>
357 <font>Helvetica</font>
358 <fontsize>6</fontsize>
359 <precision>3</precision>
360 <color>
361 <r>0</r>
362 <g>0</g>
363 <b>0</b>
364 </color>
365 <bgcolor mode="background">
366 <r>139</r>
367 <g>174</g>
368 <b>255</b>
369 </bgcolor>
370 <bordermode>noborder</bordermode>
371 <borderradius>4</borderradius>
372 <borderwidth>0</borderwidth>
373 </bsbObject>
374 <bsbObject version="2" type="BSBLabel">
375 <objectName/>
376 <x>220</x>
377 <y>275</y>
378 <width>216</width>
379 <height>38</height>
380 <uuid>{746fe42a-2574-48e7-8ede-afe8d65d2a94}</uuid>
381 <visible>true</visible>
382 <midichan>0</midichan>
383 <midicc>-3</midicc>
384 <description/>
385 <label/>
386 <alignment>left</alignment>
387 <valignment>top</valignment>
388 <font>Helvetica</font>
389 <fontsize>6</fontsize>
390 <precision>3</precision>
391 <color>
392 <r>0</r>
393 <g>0</g>
394 <b>0</b>
395 </color>
396 <bgcolor mode="background">
397 <r>167</r>
398 <g>207</g>
399 <b>255</b>
400 </bgcolor>
401 <bordermode>noborder</bordermode>
402 <borderradius>6</borderradius>
403 <borderwidth>0</borderwidth>
404 </bsbObject>
405 <bsbObject version="2" type="BSBLabel">
406 <objectName/>
407 <x>350</x>
408 <y>260</y>
409 <width>54</width>
410 <height>54</height>
411 <uuid>{e6106606-e57d-44ae-960e-3f3352cc2b64}</uuid>
412 <visible>true</visible>
413 <midichan>0</midichan>
414 <midicc>-3</midicc>
415 <description/>
416 <label/>
417 <alignment>left</alignment>
418 <valignment>top</valignment>
419 <font>Helvetica</font>
420 <fontsize>6</fontsize>
421 <precision>3</precision>
422 <color>
423 <r>0</r>
424 <g>0</g>
425 <b>0</b>
426 </color>
427 <bgcolor mode="background">
428 <r>117</r>
429 <g>125</g>
430 <b>189</b>
431 </bgcolor>
432 <bordermode>noborder</bordermode>
433 <borderradius>26</borderradius>
434 <borderwidth>0</borderwidth>
435 </bsbObject>
436 <bsbObject version="2" type="BSBLabel">
437 <objectName/>
438 <x>235</x>
439 <y>240</y>
440 <width>56</width>
441 <height>105</height>
442 <uuid>{dd9efe3f-f119-4572-aa08-4fba350689cb}</uuid>
443 <visible>true</visible>
444 <midichan>0</midichan>
445 <midicc>-3</midicc>
446 <description/>
447 <label/>
448 <alignment>left</alignment>
449 <valignment>top</valignment>
450 <font>DejaVu Sans</font>
451 <fontsize>6</fontsize>
452 <precision>3</precision>
453 <color>
454 <r>0</r>
455 <g>0</g>
456 <b>0</b>
457 </color>
458 <bgcolor mode="background">
459 <r>117</r>
460 <g>125</g>
461 <b>189</b>
462 </bgcolor>
463 <bordermode>noborder</bordermode>
464 <borderradius>1</borderradius>
465 <borderwidth>0</borderwidth>
466 </bsbObject>
467 </bsbPanel>
468 <bsbPresets>
469 </bsbPresets>