summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/diffpreferences.ui
blob: a1bfd757a0d94bd7f318df91b1053914a5d72a8c (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
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>DiffPreferences</class>
<author>Stanislav Visnovsky</author>
<widget class="TQWidget">
    <property name="name">
        <cstring>DiffPreferences</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>538</width>
            <height>462</height>
        </rect>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="TQButtonGroup">
            <property name="name">
                <cstring>kcfg_UseDBForDiff</cstring>
            </property>
            <property name="title">
                <string>Diff Source</string>
            </property>
            <property name="whatsThis" stdset="0">
                <string>&lt;qt&gt;&lt;p&gt;&lt;b&gt;Source for difference lookup&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Here you can select a source, which should be used
for finding a difference.&lt;/p&gt;
&lt;p&gt;You can select file, translation database or
corresponding msgstr.&lt;/p&gt;
&lt;p&gt;If you choose the translation database, the messages to diff with are
taken from the Translation Database; to be useful, you have
to enable &lt;i&gt;Auto add entry to database&lt;/i&gt; in its
preferences dialog.&lt;/p&gt;
&lt;p&gt;The last option is useful for those using PO-files
for proofreading.&lt;/p&gt;
&lt;p&gt;You can temporarily diff with messages from a file
by choosing &lt;i&gt;Tools-&gt;Diff-&gt;Open file for diff&lt;/i&gt;
in KBabel's main window.&lt;/p&gt;&lt;/qt&gt;</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>radioButton1</cstring>
                    </property>
                    <property name="text">
                        <string>Use &amp;file</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>radioButton2</cstring>
                    </property>
                    <property name="text">
                        <string>Use messages from &amp;translation database</string>
                    </property>
                </widget>
                <widget class="TQRadioButton">
                    <property name="name">
                        <cstring>radioButton3</cstring>
                    </property>
                    <property name="text">
                        <string>Use &amp;msgstr from the same file</string>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="TQLayoutWidget">
            <property name="name">
                <cstring>layout1</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLabel">
                    <property name="name">
                        <cstring>textLabel1</cstring>
                    </property>
                    <property name="text">
                        <string>Base folder for diff files:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>kcfg_DiffBaseDir</cstring>
                    </property>
                </widget>
                <widget class="KURLRequester">
                    <property name="name">
                        <cstring>kcfg_DiffBaseDir</cstring>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;qt&gt;&lt;q&gt;&lt;b&gt;Base folder for diff files&lt;/b&gt;&lt;/q&gt;
&lt;p&gt;Here you can define a folder in which the files to
diff with are stored. If the files are stored at the same
place beneath this folder as the original files beneath
their base folder, KBabel can automatically open the correct
file to diff with.&lt;/p&gt;
&lt;p&gt;Note that this option has no effect if messages from
the database are used for diffing.&lt;/p&gt;&lt;/qt&gt;</string>
                    </property>
                </widget>
            </hbox>
        </widget>
        <spacer>
            <property name="name">
                <cstring>spacer1</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>
<customwidgets>
</customwidgets>
<includes>
    <include location="local" impldecl="in implementation">diffpreferences.ui.h</include>
</includes>
<functions>
    <function>init()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>klineedit.h</includehint>
    <includehint>kpushbutton.h</includehint>
</includehints>
</UI>