OSDN Git Service

52b386b1bb2774f3ba112a5f407956f6ecec036b
[qt-creator-jp/qt-creator-jp.git] / src / plugins / coreplugin / generalsettings.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Core::Internal::GeneralSettings</class>
4  <widget class="QWidget" name="Core::Internal::GeneralSettings">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>527</width>
10     <height>306</height>
11    </rect>
12   </property>
13   <layout class="QVBoxLayout" name="verticalLayout">
14    <item>
15     <widget class="QGroupBox" name="interfaceBox">
16      <property name="title">
17       <string>User Interface</string>
18      </property>
19      <layout class="QGridLayout" name="gridLayout_2">
20       <item row="0" column="0">
21        <widget class="QLabel" name="colorLabel">
22         <property name="text">
23          <string>Color:</string>
24         </property>
25         <property name="buddy">
26          <cstring>colorButton</cstring>
27         </property>
28        </widget>
29       </item>
30       <item row="2" column="1">
31        <layout class="QHBoxLayout" name="horizontalLayout_3">
32         <item>
33          <widget class="QComboBox" name="languageBox">
34           <property name="sizeAdjustPolicy">
35            <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
36           </property>
37           <property name="minimumContentsLength">
38            <number>20</number>
39           </property>
40          </widget>
41         </item>
42         <item>
43          <spacer name="horizontalSpacer_2">
44           <property name="orientation">
45            <enum>Qt::Horizontal</enum>
46           </property>
47           <property name="sizeHint" stdset="0">
48            <size>
49             <width>285</width>
50             <height>20</height>
51            </size>
52           </property>
53          </spacer>
54         </item>
55        </layout>
56       </item>
57       <item row="0" column="1">
58        <layout class="QHBoxLayout" name="horizontalLayout">
59         <item>
60          <widget class="Utils::QtColorButton" name="colorButton">
61           <property name="sizePolicy">
62            <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
63             <horstretch>0</horstretch>
64             <verstretch>0</verstretch>
65            </sizepolicy>
66           </property>
67           <property name="minimumSize">
68            <size>
69             <width>64</width>
70             <height>0</height>
71            </size>
72           </property>
73           <property name="alphaAllowed" stdset="0">
74            <bool>false</bool>
75           </property>
76          </widget>
77         </item>
78         <item>
79          <widget class="QPushButton" name="resetButton">
80           <property name="toolTip">
81            <string>Reset to default</string>
82           </property>
83           <property name="text">
84            <string>Reset</string>
85           </property>
86          </widget>
87         </item>
88         <item>
89          <spacer name="horizontalSpacer">
90           <property name="orientation">
91            <enum>Qt::Horizontal</enum>
92           </property>
93           <property name="sizeHint" stdset="0">
94            <size>
95             <width>285</width>
96             <height>20</height>
97            </size>
98           </property>
99          </spacer>
100         </item>
101        </layout>
102       </item>
103       <item row="2" column="0">
104        <widget class="QLabel" name="languageLabel">
105         <property name="text">
106          <string>Language:</string>
107         </property>
108        </widget>
109       </item>
110      </layout>
111     </widget>
112    </item>
113    <item>
114     <widget class="QGroupBox" name="systemBox">
115      <property name="title">
116       <string>System</string>
117      </property>
118      <layout class="QGridLayout" name="gridLayout">
119       <item row="0" column="0">
120        <widget class="QLabel" name="terminalLabel">
121         <property name="text">
122          <string>Terminal:</string>
123         </property>
124        </widget>
125       </item>
126       <item row="0" column="1">
127        <widget class="QLineEdit" name="terminalEdit"/>
128       </item>
129       <item row="1" column="0">
130        <widget class="QLabel" name="externalFileBrowserLabel">
131         <property name="text">
132          <string>External file browser:</string>
133         </property>
134        </widget>
135       </item>
136       <item row="1" column="1">
137        <widget class="QLineEdit" name="externalFileBrowserEdit"/>
138       </item>
139       <item row="1" column="3">
140        <widget class="QToolButton" name="helpExternalFileBrowserButton">
141         <property name="text">
142          <string>?</string>
143         </property>
144         <property name="icon">
145          <iconset resource="core.qrc">
146           <normaloff>:/core/images/help.png</normaloff>:/core/images/help.png</iconset>
147         </property>
148        </widget>
149       </item>
150       <item row="2" column="0" colspan="4">
151        <layout class="QHBoxLayout" name="horizontalLayout_2">
152         <item>
153          <widget class="QLabel" name="modifiedLabel">
154           <property name="text">
155            <string>When files are externally modified:</string>
156           </property>
157          </widget>
158         </item>
159         <item>
160          <widget class="QComboBox" name="reloadBehavior">
161           <property name="currentIndex">
162            <number>0</number>
163           </property>
164           <item>
165            <property name="text">
166             <string>Always Ask</string>
167            </property>
168           </item>
169           <item>
170            <property name="text">
171             <string>Reload All Unchanged Editors</string>
172            </property>
173           </item>
174           <item>
175            <property name="text">
176             <string>Ignore Modifications</string>
177            </property>
178           </item>
179          </widget>
180         </item>
181         <item>
182          <spacer name="horizontalSpacer_3">
183           <property name="orientation">
184            <enum>Qt::Horizontal</enum>
185           </property>
186           <property name="sizeHint" stdset="0">
187            <size>
188             <width>40</width>
189             <height>20</height>
190            </size>
191           </property>
192          </spacer>
193         </item>
194        </layout>
195       </item>
196       <item row="0" column="2">
197        <widget class="QPushButton" name="resetTerminalButton">
198         <property name="toolTip">
199          <string>Reset to default</string>
200         </property>
201         <property name="text">
202          <string>Reset</string>
203         </property>
204        </widget>
205       </item>
206       <item row="1" column="2">
207        <widget class="QPushButton" name="resetFileBrowserButton">
208         <property name="toolTip">
209          <string>Reset to default</string>
210         </property>
211         <property name="text">
212          <string>Reset</string>
213         </property>
214        </widget>
215       </item>
216       <item row="3" column="0" colspan="4">
217        <layout class="QHBoxLayout" name="horizontalLayout_5">
218         <item>
219          <widget class="QCheckBox" name="autoSaveCheckBox">
220           <property name="toolTip">
221            <string>If checked, temporary copies of modified files will be created automatically. If Qt Creator is restarted after a crash or power failure, it will ask whether the auto-saved content should be recovered.</string>
222           </property>
223           <property name="text">
224            <string>Auto-save modified files</string>
225           </property>
226           <property name="checked">
227            <bool>true</bool>
228           </property>
229          </widget>
230         </item>
231         <item>
232          <spacer name="horizontalSpacer_6">
233           <property name="orientation">
234            <enum>Qt::Horizontal</enum>
235           </property>
236           <property name="sizeType">
237            <enum>QSizePolicy::Fixed</enum>
238           </property>
239           <property name="sizeHint" stdset="0">
240            <size>
241             <width>20</width>
242             <height>20</height>
243            </size>
244           </property>
245          </spacer>
246         </item>
247         <item>
248          <widget class="QLabel" name="autoSaveIntervalLabel">
249           <property name="text">
250            <string>Interval:</string>
251           </property>
252          </widget>
253         </item>
254         <item>
255          <widget class="QSpinBox" name="autoSaveInterval">
256           <property name="suffix">
257            <string extracomment="unit for minutes">min</string>
258           </property>
259           <property name="minimum">
260            <number>1</number>
261           </property>
262          </widget>
263         </item>
264         <item>
265          <spacer name="horizontalSpacer_5">
266           <property name="orientation">
267            <enum>Qt::Horizontal</enum>
268           </property>
269           <property name="sizeHint" stdset="0">
270            <size>
271             <width>40</width>
272             <height>20</height>
273            </size>
274           </property>
275          </spacer>
276         </item>
277        </layout>
278       </item>
279      </layout>
280     </widget>
281    </item>
282    <item>
283     <spacer name="verticalSpacer">
284      <property name="orientation">
285       <enum>Qt::Vertical</enum>
286      </property>
287      <property name="sizeHint" stdset="0">
288       <size>
289        <width>20</width>
290        <height>30</height>
291       </size>
292      </property>
293     </spacer>
294    </item>
295   </layout>
296  </widget>
297  <customwidgets>
298   <customwidget>
299    <class>Utils::QtColorButton</class>
300    <extends>QToolButton</extends>
301    <header location="global">utils/qtcolorbutton.h</header>
302   </customwidget>
303  </customwidgets>
304  <tabstops>
305   <tabstop>colorButton</tabstop>
306   <tabstop>resetButton</tabstop>
307   <tabstop>languageBox</tabstop>
308   <tabstop>terminalEdit</tabstop>
309   <tabstop>resetTerminalButton</tabstop>
310   <tabstop>externalFileBrowserEdit</tabstop>
311   <tabstop>resetFileBrowserButton</tabstop>
312   <tabstop>helpExternalFileBrowserButton</tabstop>
313   <tabstop>reloadBehavior</tabstop>
314  </tabstops>
315  <resources>
316   <include location="core.qrc"/>
317  </resources>
318  <connections>
319   <connection>
320    <sender>autoSaveCheckBox</sender>
321    <signal>toggled(bool)</signal>
322    <receiver>autoSaveInterval</receiver>
323    <slot>setEnabled(bool)</slot>
324    <hints>
325     <hint type="sourcelabel">
326      <x>161</x>
327      <y>262</y>
328     </hint>
329     <hint type="destinationlabel">
330      <x>342</x>
331      <y>263</y>
332     </hint>
333    </hints>
334   </connection>
335  </connections>
336 </ui>