summaryrefslogtreecommitdiffstats
path: root/parts/uimode/uichooser.ui
blob: e66cc1a24151d1e58e71c41aea8eda45c862d337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>UIChooser</class>
<widget class="TQWidget">
    <property name="name">
        <cstring>UIChooser</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>540</width>
            <height>529</height>
        </rect>
    </property>
    <property name="caption">
        <string>UIChooser</string>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <property name="margin">
            <number>0</number>
        </property>
        <widget class="TQLayoutWidget">
            <property name="name">
                <cstring>layout1</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQButtonGroup">
                    <property name="name">
                        <cstring>TabModeGroup</cstring>
                    </property>
                    <property name="title">
                        <string>Use Tabs</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Some prefer not to have a tab bar and switch between documents using other means. Kate is one example of this.</string>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>AlwaysShowTabs</cstring>
                            </property>
                            <property name="text">
                                <string>Al&amp;ways</string>
                            </property>
                            <property name="checked">
                                <bool>true</bool>
                            </property>
                        </widget>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>NeverShowTabs</cstring>
                            </property>
                            <property name="text">
                                <string>Ne&amp;ver</string>
                            </property>
                        </widget>
                    </vbox>
                </widget>
                <widget class="TQButtonGroup">
                    <property name="name">
                        <cstring>HoverCloseGroup</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="title">
                        <string>Use Close on Hover</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>The document tab can optionally be used to close the document, by clicking on the tab icon.</string>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>DoNotCloseOnHover</cstring>
                            </property>
                            <property name="text">
                                <string>No</string>
                            </property>
                            <property name="checked">
                                <bool>true</bool>
                            </property>
                        </widget>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>DoCloseOnHover</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Yes</string>
                            </property>
                        </widget>
                    </vbox>
                </widget>
            </hbox>
        </widget>
        <widget class="TQLayoutWidget">
            <property name="name">
                <cstring>layout2</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQButtonGroup">
                    <property name="name">
                        <cstring>IDEAlButtonGroup</cstring>
                    </property>
                    <property name="title">
                        <string>Toolview Tab Layout</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Three different modes for the IDEAl toolview tabs. "Text and icons" is the most informative, but takes a lot of space. Those with a smaller screen will typically want "Icons".</string>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>IconsOnly</cstring>
                            </property>
                            <property name="text">
                                <string>Icons</string>
                            </property>
                        </widget>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>TextOnly</cstring>
                            </property>
                            <property name="text">
                                <string>Te&amp;xt</string>
                            </property>
                            <property name="checked">
                                <bool>true</bool>
                            </property>
                        </widget>
                        <widget class="TQRadioButton">
                            <property name="name">
                                <cstring>TextAndIcons</cstring>
                            </property>
                            <property name="text">
                                <string>Text and icons</string>
                            </property>
                        </widget>
                    </vbox>
                </widget>
                <widget class="TQGroupBox">
                    <property name="name">
                        <cstring>TabbedBrowsingGroup</cstring>
                    </property>
                    <property name="title">
                        <string>Tabbed Browsing</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Some extra options for the document tabbar.</string>
                    </property>
                    <grid>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQCheckBox" row="0" column="0">
                            <property name="name">
                                <cstring>OpenNewTabAfterCurrent</cstring>
                            </property>
                            <property name="text">
                                <string>Open &amp;new tab after current tab</string>
                            </property>
                        </widget>
                        <widget class="TQCheckBox" row="1" column="0">
                            <property name="name">
                                <cstring>ShowTabIcons</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Show icons on document tabs</string>
                            </property>
                        </widget>
                        <widget class="TQCheckBox" row="2" column="0">
                            <property name="name">
                                <cstring>ShowCloseTabsButton</cstring>
                            </property>
                            <property name="text">
                                <string>Show close &amp;button in tab bar</string>
                            </property>
                        </widget>
                    </grid>
                </widget>
            </hbox>
        </widget>
        <widget class="TQLabel">
            <property name="name">
                <cstring>textLabel1</cstring>
            </property>
            <property name="sizePolicy">
                <sizepolicy>
                    <hsizetype>5</hsizetype>
                    <vsizetype>3</vsizetype>
                    <horstretch>0</horstretch>
                    <verstretch>0</verstretch>
                </sizepolicy>
            </property>
            <property name="text">
                <string>Note: Changes will take effect after KDevelop is restarted</string>
            </property>
            <property name="alignment">
                <set>WordBreak|AlignCenter</set>
            </property>
        </widget>
    </vbox>
</widget>
<connections>
    <connection>
        <sender>AlwaysShowTabs</sender>
        <signal>toggled(bool)</signal>
        <receiver>UIChooser</receiver>
        <slot>maybeEnableCloseOnHover(bool)</slot>
    </connection>
    <connection>
        <sender>NeverShowTabs</sender>
        <signal>toggled(bool)</signal>
        <receiver>UIChooser</receiver>
        <slot>maybeEnableCloseOnHover(bool)</slot>
    </connection>
    <connection>
        <sender>ShowTabIcons</sender>
        <signal>toggled(bool)</signal>
        <receiver>UIChooser</receiver>
        <slot>maybeEnableCloseOnHover(bool)</slot>
    </connection>
</connections>
<includes>
    <include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<Q_SLOTS>
    <slot access="protected">maybeEnableCloseOnHover(bool)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>