generalsettings.ui 6.12 KB
Newer Older
con's avatar
con committed
1
2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3
4
 <class>Core::Internal::GeneralSettings</class>
 <widget class="QWidget" name="Core::Internal::GeneralSettings">
5
6
7
8
9
10
11
12
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>363</width>
    <height>296</height>
   </rect>
  </property>
13
  <layout class="QVBoxLayout" name="verticalLayout">
con's avatar
con committed
14
15
   <item>
    <widget class="QGroupBox" name="groupBox">
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
     <layout class="QFormLayout" name="formLayout">
      <property name="rowWrapPolicy">
       <enum>QFormLayout::WrapLongRows</enum>
      </property>
      <item row="0" column="0">
       <widget class="QLabel" name="colorLabel">
        <property name="text">
         <string>User &amp;interface color:</string>
        </property>
        <property name="buddy">
         <cstring>colorButton</cstring>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <layout class="QHBoxLayout" name="colorHorizontalLayout">
con's avatar
con committed
32
        <item>
33
         <widget class="Utils::QtColorButton" name="colorButton">
con's avatar
con committed
34
35
36
37
38
39
40
41
42
43
44
45
          <property name="sizePolicy">
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          </property>
          <property name="minimumSize">
           <size>
            <width>64</width>
            <height>0</height>
           </size>
          </property>
Friedemann Kleint's avatar
Friedemann Kleint committed
46
          <property name="alphaAllowed">
con's avatar
con committed
47
48
49
50
51
52
53
54
55
56
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QToolButton" name="resetButton">
          <property name="toolTip">
           <string>Reset to default</string>
          </property>
          <property name="text">
57
           <string>R</string>
con's avatar
con committed
58
59
60
          </property>
          <property name="icon">
           <iconset resource="core.qrc">
61
            <normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset>
con's avatar
con committed
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
          </property>
         </widget>
        </item>
        <item>
         <spacer name="horizontalSpacer">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
80
81
82
83
84
85
86
87
88
      <item row="1" column="0">
       <widget class="QLabel" name="terminalLabel">
        <property name="text">
         <string>Terminal:</string>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <layout class="QHBoxLayout" name="terminalHorizontalLayout">
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
        <item>
         <widget class="QLineEdit" name="terminalEdit"/>
        </item>
        <item>
         <widget class="QToolButton" name="resetTerminalButton">
          <property name="toolTip">
           <string>Reset to default</string>
          </property>
          <property name="text">
           <string>R</string>
          </property>
          <property name="icon">
           <iconset resource="core.qrc">
            <normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset>
          </property>
         </widget>
        </item>
       </layout>
      </item>
108
109
110
111
112
113
114
115
116
      <item row="2" column="0">
       <widget class="QLabel" name="editorLabel">
        <property name="text">
         <string>External editor:</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1">
       <layout class="QHBoxLayout" name="editorHorizontalLayout">
con's avatar
con committed
117
118
119
        <item>
         <widget class="QLineEdit" name="externalEditorEdit"/>
        </item>
120
121
122
123
124
125
        <item>
         <widget class="QToolButton" name="resetEditorButton">
          <property name="toolTip">
           <string>Reset to default</string>
          </property>
          <property name="text">
126
           <string>R</string>
127
128
129
          </property>
          <property name="icon">
           <iconset resource="core.qrc">
130
            <normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset>
131
132
133
          </property>
         </widget>
        </item>
con's avatar
con committed
134
135
136
137
138
139
140
141
142
        <item>
         <widget class="QToolButton" name="helpExternalEditorButton">
          <property name="text">
           <string>?</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
      <item row="3" column="0">
       <widget class="QLabel" name="modifiedLabel">
        <property name="text">
         <string>When files are externally modified:</string>
        </property>
        <property name="wordWrap">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="3" column="1">
       <widget class="QComboBox" name="reloadBehavior">
        <property name="sizePolicy">
         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="currentIndex">
         <number>0</number>
        </property>
164
        <item>
165
166
167
         <property name="text">
          <string>Always ask</string>
         </property>
168
169
        </item>
        <item>
170
171
172
         <property name="text">
          <string>Reload all modified files</string>
         </property>
173
        </item>
174
175
176
177
178
179
        <item>
         <property name="text">
          <string>Ignore modifications</string>
         </property>
        </item>
       </widget>
180
      </item>
con's avatar
con committed
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
     </layout>
    </widget>
   </item>
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>111</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
201
   <class>Utils::QtColorButton</class>
con's avatar
con committed
202
203
204
205
206
207
208
209
210
   <extends>QToolButton</extends>
   <header location="global">utils/qtcolorbutton.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="core.qrc"/>
 </resources>
 <connections/>
</ui>