summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history/historyprefsui.ui
blob: 36f3dee2ff4e9726c2b92c5eb06f66905c449f3f (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
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>HistoryPrefsUI</class>
<author>Olivier Goffart</author>
<widget class="TQWidget">
    <property name="name">
        <cstring>HistoryPrefsWidget</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>363</width>
            <height>212</height>
        </rect>
    </property>
    <property name="caption">
        <string>HistoryPrefsWidget</string>
    </property>
    <vbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="TQGroupBox">
            <property name="name">
                <cstring>grpChatHistory</cstring>
            </property>
            <property name="title">
                <string>Chat History</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLabel" row="3" column="0">
                    <property name="name">
                        <cstring>lblNoLinesPerPage</cstring>
                    </property>
                    <property name="text">
                        <string>Number of messages per page:</string>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>The number of messages that are shown when browsing history in the chat window</string>
                    </property>
                </widget>
                <widget class="KIntSpinBox" row="3" column="1">
                    <property name="name">
                        <cstring>Number_ChatWindow</cstring>
                    </property>
                    <property name="maxValue">
                        <number>32768</number>
                    </property>
                    <property name="minValue">
                        <number>1</number>
                    </property>
                    <property name="value">
                        <number>10</number>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>The number of message that are shown when borwsing history in the chat window</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="2" column="0">
                    <property name="name">
                        <cstring>colorLabel</cstring>
                    </property>
                    <property name="text">
                        <string>Color of messages:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>History_color</cstring>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Color of history messages in the chat window</string>
                    </property>
                </widget>
                <widget class="KColorButton" row="2" column="1">
                    <property name="name">
                        <cstring>History_color</cstring>
                    </property>
                    <property name="text">
                        <string></string>
                    </property>
                    <property name="color">
                        <color>
                            <red>170</red>
                            <green>170</green>
                            <blue>127</blue>
                        </color>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>Color of history messages in the chat window</string>
                    </property>
                </widget>
                <widget class="KIntSpinBox" row="1" column="1">
                    <property name="name">
                        <cstring>Number_Auto_chatwindow</cstring>
                    </property>
                    <property name="maxValue">
                        <number>32768</number>
                    </property>
                    <property name="minValue">
                        <number>1</number>
                    </property>
                    <property name="value">
                        <number>7</number>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>This is the number of messages that will be added automatically in the chat window when opening a new chat.</string>
                    </property>
                </widget>
                <widget class="TQLabel" row="1" column="0">
                    <property name="name">
                        <cstring>numberLabel</cstring>
                    </property>
                    <property name="text">
                        <string>Number of messages to show:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>Number_Auto_chatwindow</cstring>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>This is the number of messages that will be added automatically in the chat window when opening a new chat.</string>
                    </property>
                </widget>
                <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
                    <property name="name">
                        <cstring>chkShowPrevious</cstring>
                    </property>
                    <property name="text">
                        <string>Show chat history in new chats</string>
                    </property>
                    <property name="checked">
                        <bool>true</bool>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>When a new chat is opened, automatically add the last few messages between you and that contact.</string>
                    </property>
                </widget>
            </grid>
        </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>31</width>
                    <height>90</height>
                </size>
            </property>
        </spacer>
    </vbox>
</widget>
<customwidgets>
</customwidgets>
<connections>
    <connection>
        <sender>chkShowPrevious</sender>
        <signal>toggled(bool)</signal>
        <receiver>numberLabel</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
    <connection>
        <sender>chkShowPrevious</sender>
        <signal>toggled(bool)</signal>
        <receiver>Number_Auto_chatwindow</receiver>
        <slot>setEnabled(bool)</slot>
    </connection>
</connections>
<tabstops>
    <tabstop>chkShowPrevious</tabstop>
    <tabstop>Number_Auto_chatwindow</tabstop>
    <tabstop>History_color</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
    <includehint>knuminput.h</includehint>
    <includehint>kcolorbutton.h</includehint>
    <includehint>knuminput.h</includehint>
</includehints>
</UI>