summaryrefslogtreecommitdiffstats
path: root/editors/editor-chooser/editchooser.ui
blob: 401063068e40808c502f2177de6df1eed825833f (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>&amp;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>&lt;i&gt;Note:&lt;/i&gt; 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>&lt;p&gt;&lt;b&gt;Action to take when an open file is changed on disk&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Do nothing&lt;/b&gt; - The file will be marked as externally changed and the user will be asked to verify any attempt to overwrite it &lt;/p&gt;
&lt;p&gt;&lt;b&gt;Alert the user&lt;/b&gt; - A dialog will alert the user that a file has changed and offer the user to reload the file&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Automatically reload&lt;/b&gt; - Any files that are not modified in memory are reloaded, and an alert is shown for any conflicts&lt;/p&gt;</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>nothing</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;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>&amp;Alert the user</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>reload</cstring>
                    </property>
                    <property name="text">
                        <string>Automatically reload the file &amp;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="sizeHint">
                <size>
                    <width>20</width>
                    <height>31</height>
                </size>
            </property>
        </spacer>
    </vbox>
</widget>
<connections>
    <connection>
        <sender>EditorPart</sender>
        <signal>activated(const TQString&amp;)</signal>
        <receiver>EditChooser</receiver>
        <slot>slotEditPartChanged(const TQString&amp;)</slot>
    </connection>
</connections>
<includes>
    <include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<slots>
    <slot>slotEditPartChanged(const TQString &amp;)</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>