質問編集履歴

1

uiファイルの追加

2019/07/13 01:19

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -3,3 +3,497 @@
3
3
  黒い部分を適当な色に塗りつぶしたいです。
4
4
 
5
5
  どのようにすればよいでしょうか。ご指導お願いします。
6
+
7
+ ```ui
8
+
9
+ <?xml version="1.0" encoding="UTF-8"?>
10
+
11
+ <ui version="4.0">
12
+
13
+ <widget name="__qt_fake_top_level">
14
+
15
+ <widget class="QSpinBox" name="spinBox_year">
16
+
17
+ <property name="enabled">
18
+
19
+ <bool>true</bool>
20
+
21
+ </property>
22
+
23
+ <property name="geometry">
24
+
25
+ <rect>
26
+
27
+ <x>290</x>
28
+
29
+ <y>50</y>
30
+
31
+ <width>71</width>
32
+
33
+ <height>22</height>
34
+
35
+ </rect>
36
+
37
+ </property>
38
+
39
+ <property name="minimum">
40
+
41
+ <number>2000</number>
42
+
43
+ </property>
44
+
45
+ <property name="maximum">
46
+
47
+ <number>9999</number>
48
+
49
+ </property>
50
+
51
+ <property name="value">
52
+
53
+ <number>2019</number>
54
+
55
+ </property>
56
+
57
+ </widget>
58
+
59
+ <widget class="QLabel" name="label_month">
60
+
61
+ <property name="geometry">
62
+
63
+ <rect>
64
+
65
+ <x>436</x>
66
+
67
+ <y>50</y>
68
+
69
+ <width>20</width>
70
+
71
+ <height>21</height>
72
+
73
+ </rect>
74
+
75
+ </property>
76
+
77
+ <property name="text">
78
+
79
+ <string>月</string>
80
+
81
+ </property>
82
+
83
+ </widget>
84
+
85
+ <widget class="QPushButton" name="forward">
86
+
87
+ <property name="enabled">
88
+
89
+ <bool>false</bool>
90
+
91
+ </property>
92
+
93
+ <property name="geometry">
94
+
95
+ <rect>
96
+
97
+ <x>640</x>
98
+
99
+ <y>100</y>
100
+
101
+ <width>41</width>
102
+
103
+ <height>32</height>
104
+
105
+ </rect>
106
+
107
+ </property>
108
+
109
+ <property name="font">
110
+
111
+ <font>
112
+
113
+ <weight>50</weight>
114
+
115
+ <italic>false</italic>
116
+
117
+ <bold>false</bold>
118
+
119
+ <underline>false</underline>
120
+
121
+ <strikeout>false</strikeout>
122
+
123
+ <kerning>false</kerning>
124
+
125
+ </font>
126
+
127
+ </property>
128
+
129
+ <property name="mouseTracking">
130
+
131
+ <bool>false</bool>
132
+
133
+ </property>
134
+
135
+ <property name="focusPolicy">
136
+
137
+ <enum>Qt::ClickFocus</enum>
138
+
139
+ </property>
140
+
141
+ <property name="layoutDirection">
142
+
143
+ <enum>Qt::RightToLeft</enum>
144
+
145
+ </property>
146
+
147
+ <property name="text">
148
+
149
+ <string>></string>
150
+
151
+ </property>
152
+
153
+ <property name="checkable">
154
+
155
+ <bool>false</bool>
156
+
157
+ </property>
158
+
159
+ <property name="checked">
160
+
161
+ <bool>false</bool>
162
+
163
+ </property>
164
+
165
+ </widget>
166
+
167
+ <widget class="QLabel" name="label">
168
+
169
+ <property name="enabled">
170
+
171
+ <bool>true</bool>
172
+
173
+ </property>
174
+
175
+ <property name="geometry">
176
+
177
+ <rect>
178
+
179
+ <x>390</x>
180
+
181
+ <y>110</y>
182
+
183
+ <width>59</width>
184
+
185
+ <height>16</height>
186
+
187
+ </rect>
188
+
189
+ </property>
190
+
191
+ <property name="styleSheet">
192
+
193
+ <string notr="true">color: #777;</string>
194
+
195
+ </property>
196
+
197
+ <property name="text">
198
+
199
+ <string>今日</string>
200
+
201
+ </property>
202
+
203
+ <property name="alignment">
204
+
205
+ <set>Qt::AlignCenter</set>
206
+
207
+ </property>
208
+
209
+ </widget>
210
+
211
+ <widget class="QLabel" name="label_year">
212
+
213
+ <property name="geometry">
214
+
215
+ <rect>
216
+
217
+ <x>366</x>
218
+
219
+ <y>50</y>
220
+
221
+ <width>20</width>
222
+
223
+ <height>21</height>
224
+
225
+ </rect>
226
+
227
+ </property>
228
+
229
+ <property name="text">
230
+
231
+ <string>年</string>
232
+
233
+ </property>
234
+
235
+ </widget>
236
+
237
+ <widget class="QLabel" name="label_day">
238
+
239
+ <property name="geometry">
240
+
241
+ <rect>
242
+
243
+ <x>509</x>
244
+
245
+ <y>50</y>
246
+
247
+ <width>21</width>
248
+
249
+ <height>21</height>
250
+
251
+ </rect>
252
+
253
+ </property>
254
+
255
+ <property name="text">
256
+
257
+ <string>日</string>
258
+
259
+ </property>
260
+
261
+ </widget>
262
+
263
+ <widget class="QSpinBox" name="spinBox_month">
264
+
265
+ <property name="geometry">
266
+
267
+ <rect>
268
+
269
+ <x>390</x>
270
+
271
+ <y>50</y>
272
+
273
+ <width>42</width>
274
+
275
+ <height>22</height>
276
+
277
+ </rect>
278
+
279
+ </property>
280
+
281
+ <property name="minimum">
282
+
283
+ <number>1</number>
284
+
285
+ </property>
286
+
287
+ <property name="maximum">
288
+
289
+ <number>12</number>
290
+
291
+ </property>
292
+
293
+ <property name="value">
294
+
295
+ <number>7</number>
296
+
297
+ </property>
298
+
299
+ </widget>
300
+
301
+ <widget class="QSpinBox" name="spinBox_day">
302
+
303
+ <property name="geometry">
304
+
305
+ <rect>
306
+
307
+ <x>460</x>
308
+
309
+ <y>50</y>
310
+
311
+ <width>42</width>
312
+
313
+ <height>22</height>
314
+
315
+ </rect>
316
+
317
+ </property>
318
+
319
+ <property name="acceptDrops">
320
+
321
+ <bool>true</bool>
322
+
323
+ </property>
324
+
325
+ <property name="minimum">
326
+
327
+ <number>1</number>
328
+
329
+ </property>
330
+
331
+ <property name="maximum">
332
+
333
+ <number>31</number>
334
+
335
+ </property>
336
+
337
+ <property name="value">
338
+
339
+ <number>30</number>
340
+
341
+ </property>
342
+
343
+ </widget>
344
+
345
+ <widget class="QTextBrowser" name="diary_brouser">
346
+
347
+ <property name="geometry">
348
+
349
+ <rect>
350
+
351
+ <x>160</x>
352
+
353
+ <y>140</y>
354
+
355
+ <width>521</width>
356
+
357
+ <height>371</height>
358
+
359
+ </rect>
360
+
361
+ </property>
362
+
363
+ <property name="sizePolicy">
364
+
365
+ <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
366
+
367
+ <horstretch>0</horstretch>
368
+
369
+ <verstretch>0</verstretch>
370
+
371
+ </sizepolicy>
372
+
373
+ </property>
374
+
375
+ <property name="cursor" stdset="0">
376
+
377
+ <cursorShape>IBeamCursor</cursorShape>
378
+
379
+ </property>
380
+
381
+ <property name="layoutDirection">
382
+
383
+ <enum>Qt::RightToLeft</enum>
384
+
385
+ </property>
386
+
387
+ <property name="styleSheet">
388
+
389
+ <string notr="true">width: 50%;</string>
390
+
391
+ </property>
392
+
393
+ <property name="readOnly">
394
+
395
+ <bool>false</bool>
396
+
397
+ </property>
398
+
399
+ <property name="html">
400
+
401
+ <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
402
+
403
+ &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
404
+
405
+ p, li { white-space: pre-wrap; }
406
+
407
+ &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;&quot;&gt;
408
+
409
+ &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
410
+
411
+ </property>
412
+
413
+ </widget>
414
+
415
+ <widget class="QPushButton" name="back">
416
+
417
+ <property name="geometry">
418
+
419
+ <rect>
420
+
421
+ <x>160</x>
422
+
423
+ <y>100</y>
424
+
425
+ <width>41</width>
426
+
427
+ <height>32</height>
428
+
429
+ </rect>
430
+
431
+ </property>
432
+
433
+ <property name="font">
434
+
435
+ <font>
436
+
437
+ <weight>50</weight>
438
+
439
+ <italic>false</italic>
440
+
441
+ <bold>false</bold>
442
+
443
+ <underline>false</underline>
444
+
445
+ <strikeout>false</strikeout>
446
+
447
+ <kerning>true</kerning>
448
+
449
+ </font>
450
+
451
+ </property>
452
+
453
+ <property name="text">
454
+
455
+ <string><</string>
456
+
457
+ </property>
458
+
459
+ <property name="checkable">
460
+
461
+ <bool>false</bool>
462
+
463
+ </property>
464
+
465
+ <property name="checked">
466
+
467
+ <bool>false</bool>
468
+
469
+ </property>
470
+
471
+ <property name="autoDefault">
472
+
473
+ <bool>false</bool>
474
+
475
+ </property>
476
+
477
+ <property name="default">
478
+
479
+ <bool>false</bool>
480
+
481
+ </property>
482
+
483
+ <property name="flat">
484
+
485
+ <bool>false</bool>
486
+
487
+ </property>
488
+
489
+ </widget>
490
+
491
+ </widget>
492
+
493
+ <resources/>
494
+
495
+ </ui>
496
+
497
+
498
+
499
+ ```