blob: a5862a50c5ab223af3d2b441f8958de919bc49a6 (
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
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>EditChooser</class>
<widget class="TQWidget">
<property name="name">
<cstring>EditChooser</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>514</width>
<height>383</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="title">
<string>&Embedded Editor</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQComboBox" row="0" column="0">
<property name="name">
<cstring>EditorPart</cstring>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string><i>Note:</i> Changing the preferred editor will not affect
already open files.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>external_changes_group</cstring>
</property>
<property name="title">
<string>On External Changes</string>
</property>
<property name="whatsThis" stdset="0">
<string><p><b>Action to take when an open file is changed on disk</b></p>
<p><b>Do nothing</b> - The file will be marked as externally changed and the user will be asked to verify any attempt to overwrite it </p>
<p><b>Alert the user</b> - A dialog will alert the user that a file has changed and offer the user to reload the file</p>
<p><b>Automatically reload</b> - Any files that are not modified in memory are reloaded, and an alert is shown for any conflicts</p></string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>nothing</cstring>
</property>
<property name="text">
<string>&Do nothing</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>alert</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>&Alert the user</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>reload</cstring>
</property>
<property name="text">
<string>Automatically reload the file &if safe, alert the user if not</string>
</property>
</widget>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<size>
<width>20</width>
<height>31</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<connections>
<connection>
<sender>EditorPart</sender>
<signal>activated(const QString&)</signal>
<receiver>EditChooser</receiver>
<slot>slotEditPartChanged(const QString&)</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<Q_SLOTS>
<slot>slotEditPartChanged(const QString &)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
|