質問編集履歴
1
uiファイルの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,250 @@
|
|
1
1
|
qtでリサイズを禁止した状態なのですがその状態で全画面にすると下のように周りが黒くなってしまいます。
|
2
2
|
黒い部分を適当な色に塗りつぶしたいです。
|
3
|
-
どのようにすればよいでしょうか。ご指導お願いします。
|
3
|
+
どのようにすればよいでしょうか。ご指導お願いします。
|
4
|
+
```ui
|
5
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
6
|
+
<ui version="4.0">
|
7
|
+
<widget name="__qt_fake_top_level">
|
8
|
+
<widget class="QSpinBox" name="spinBox_year">
|
9
|
+
<property name="enabled">
|
10
|
+
<bool>true</bool>
|
11
|
+
</property>
|
12
|
+
<property name="geometry">
|
13
|
+
<rect>
|
14
|
+
<x>290</x>
|
15
|
+
<y>50</y>
|
16
|
+
<width>71</width>
|
17
|
+
<height>22</height>
|
18
|
+
</rect>
|
19
|
+
</property>
|
20
|
+
<property name="minimum">
|
21
|
+
<number>2000</number>
|
22
|
+
</property>
|
23
|
+
<property name="maximum">
|
24
|
+
<number>9999</number>
|
25
|
+
</property>
|
26
|
+
<property name="value">
|
27
|
+
<number>2019</number>
|
28
|
+
</property>
|
29
|
+
</widget>
|
30
|
+
<widget class="QLabel" name="label_month">
|
31
|
+
<property name="geometry">
|
32
|
+
<rect>
|
33
|
+
<x>436</x>
|
34
|
+
<y>50</y>
|
35
|
+
<width>20</width>
|
36
|
+
<height>21</height>
|
37
|
+
</rect>
|
38
|
+
</property>
|
39
|
+
<property name="text">
|
40
|
+
<string>月</string>
|
41
|
+
</property>
|
42
|
+
</widget>
|
43
|
+
<widget class="QPushButton" name="forward">
|
44
|
+
<property name="enabled">
|
45
|
+
<bool>false</bool>
|
46
|
+
</property>
|
47
|
+
<property name="geometry">
|
48
|
+
<rect>
|
49
|
+
<x>640</x>
|
50
|
+
<y>100</y>
|
51
|
+
<width>41</width>
|
52
|
+
<height>32</height>
|
53
|
+
</rect>
|
54
|
+
</property>
|
55
|
+
<property name="font">
|
56
|
+
<font>
|
57
|
+
<weight>50</weight>
|
58
|
+
<italic>false</italic>
|
59
|
+
<bold>false</bold>
|
60
|
+
<underline>false</underline>
|
61
|
+
<strikeout>false</strikeout>
|
62
|
+
<kerning>false</kerning>
|
63
|
+
</font>
|
64
|
+
</property>
|
65
|
+
<property name="mouseTracking">
|
66
|
+
<bool>false</bool>
|
67
|
+
</property>
|
68
|
+
<property name="focusPolicy">
|
69
|
+
<enum>Qt::ClickFocus</enum>
|
70
|
+
</property>
|
71
|
+
<property name="layoutDirection">
|
72
|
+
<enum>Qt::RightToLeft</enum>
|
73
|
+
</property>
|
74
|
+
<property name="text">
|
75
|
+
<string>></string>
|
76
|
+
</property>
|
77
|
+
<property name="checkable">
|
78
|
+
<bool>false</bool>
|
79
|
+
</property>
|
80
|
+
<property name="checked">
|
81
|
+
<bool>false</bool>
|
82
|
+
</property>
|
83
|
+
</widget>
|
84
|
+
<widget class="QLabel" name="label">
|
85
|
+
<property name="enabled">
|
86
|
+
<bool>true</bool>
|
87
|
+
</property>
|
88
|
+
<property name="geometry">
|
89
|
+
<rect>
|
90
|
+
<x>390</x>
|
91
|
+
<y>110</y>
|
92
|
+
<width>59</width>
|
93
|
+
<height>16</height>
|
94
|
+
</rect>
|
95
|
+
</property>
|
96
|
+
<property name="styleSheet">
|
97
|
+
<string notr="true">color: #777;</string>
|
98
|
+
</property>
|
99
|
+
<property name="text">
|
100
|
+
<string>今日</string>
|
101
|
+
</property>
|
102
|
+
<property name="alignment">
|
103
|
+
<set>Qt::AlignCenter</set>
|
104
|
+
</property>
|
105
|
+
</widget>
|
106
|
+
<widget class="QLabel" name="label_year">
|
107
|
+
<property name="geometry">
|
108
|
+
<rect>
|
109
|
+
<x>366</x>
|
110
|
+
<y>50</y>
|
111
|
+
<width>20</width>
|
112
|
+
<height>21</height>
|
113
|
+
</rect>
|
114
|
+
</property>
|
115
|
+
<property name="text">
|
116
|
+
<string>年</string>
|
117
|
+
</property>
|
118
|
+
</widget>
|
119
|
+
<widget class="QLabel" name="label_day">
|
120
|
+
<property name="geometry">
|
121
|
+
<rect>
|
122
|
+
<x>509</x>
|
123
|
+
<y>50</y>
|
124
|
+
<width>21</width>
|
125
|
+
<height>21</height>
|
126
|
+
</rect>
|
127
|
+
</property>
|
128
|
+
<property name="text">
|
129
|
+
<string>日</string>
|
130
|
+
</property>
|
131
|
+
</widget>
|
132
|
+
<widget class="QSpinBox" name="spinBox_month">
|
133
|
+
<property name="geometry">
|
134
|
+
<rect>
|
135
|
+
<x>390</x>
|
136
|
+
<y>50</y>
|
137
|
+
<width>42</width>
|
138
|
+
<height>22</height>
|
139
|
+
</rect>
|
140
|
+
</property>
|
141
|
+
<property name="minimum">
|
142
|
+
<number>1</number>
|
143
|
+
</property>
|
144
|
+
<property name="maximum">
|
145
|
+
<number>12</number>
|
146
|
+
</property>
|
147
|
+
<property name="value">
|
148
|
+
<number>7</number>
|
149
|
+
</property>
|
150
|
+
</widget>
|
151
|
+
<widget class="QSpinBox" name="spinBox_day">
|
152
|
+
<property name="geometry">
|
153
|
+
<rect>
|
154
|
+
<x>460</x>
|
155
|
+
<y>50</y>
|
156
|
+
<width>42</width>
|
157
|
+
<height>22</height>
|
158
|
+
</rect>
|
159
|
+
</property>
|
160
|
+
<property name="acceptDrops">
|
161
|
+
<bool>true</bool>
|
162
|
+
</property>
|
163
|
+
<property name="minimum">
|
164
|
+
<number>1</number>
|
165
|
+
</property>
|
166
|
+
<property name="maximum">
|
167
|
+
<number>31</number>
|
168
|
+
</property>
|
169
|
+
<property name="value">
|
170
|
+
<number>30</number>
|
171
|
+
</property>
|
172
|
+
</widget>
|
173
|
+
<widget class="QTextBrowser" name="diary_brouser">
|
174
|
+
<property name="geometry">
|
175
|
+
<rect>
|
176
|
+
<x>160</x>
|
177
|
+
<y>140</y>
|
178
|
+
<width>521</width>
|
179
|
+
<height>371</height>
|
180
|
+
</rect>
|
181
|
+
</property>
|
182
|
+
<property name="sizePolicy">
|
183
|
+
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
184
|
+
<horstretch>0</horstretch>
|
185
|
+
<verstretch>0</verstretch>
|
186
|
+
</sizepolicy>
|
187
|
+
</property>
|
188
|
+
<property name="cursor" stdset="0">
|
189
|
+
<cursorShape>IBeamCursor</cursorShape>
|
190
|
+
</property>
|
191
|
+
<property name="layoutDirection">
|
192
|
+
<enum>Qt::RightToLeft</enum>
|
193
|
+
</property>
|
194
|
+
<property name="styleSheet">
|
195
|
+
<string notr="true">width: 50%;</string>
|
196
|
+
</property>
|
197
|
+
<property name="readOnly">
|
198
|
+
<bool>false</bool>
|
199
|
+
</property>
|
200
|
+
<property name="html">
|
201
|
+
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
202
|
+
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
203
|
+
p, li { white-space: pre-wrap; }
|
204
|
+
</style></head><body style=" font-family:'.SF NS Text'; font-size:13pt; font-weight:400; font-style:normal;">
|
205
|
+
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
206
|
+
</property>
|
207
|
+
</widget>
|
208
|
+
<widget class="QPushButton" name="back">
|
209
|
+
<property name="geometry">
|
210
|
+
<rect>
|
211
|
+
<x>160</x>
|
212
|
+
<y>100</y>
|
213
|
+
<width>41</width>
|
214
|
+
<height>32</height>
|
215
|
+
</rect>
|
216
|
+
</property>
|
217
|
+
<property name="font">
|
218
|
+
<font>
|
219
|
+
<weight>50</weight>
|
220
|
+
<italic>false</italic>
|
221
|
+
<bold>false</bold>
|
222
|
+
<underline>false</underline>
|
223
|
+
<strikeout>false</strikeout>
|
224
|
+
<kerning>true</kerning>
|
225
|
+
</font>
|
226
|
+
</property>
|
227
|
+
<property name="text">
|
228
|
+
<string><</string>
|
229
|
+
</property>
|
230
|
+
<property name="checkable">
|
231
|
+
<bool>false</bool>
|
232
|
+
</property>
|
233
|
+
<property name="checked">
|
234
|
+
<bool>false</bool>
|
235
|
+
</property>
|
236
|
+
<property name="autoDefault">
|
237
|
+
<bool>false</bool>
|
238
|
+
</property>
|
239
|
+
<property name="default">
|
240
|
+
<bool>false</bool>
|
241
|
+
</property>
|
242
|
+
<property name="flat">
|
243
|
+
<bool>false</bool>
|
244
|
+
</property>
|
245
|
+
</widget>
|
246
|
+
</widget>
|
247
|
+
<resources/>
|
248
|
+
</ui>
|
249
|
+
|
250
|
+
```
|