summaryrefslogtreecommitdiffstats
path: root/kdbg/procattachbase.ui
blob: 60614d5f1933d464dcb6262f68b8c1e80381a38d (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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ProcAttachBase</class>
<author>Johannes Sixt</author>
<widget class="TQDialog">
    <property name="name">
        <cstring>ProcAttachBase</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>560</width>
            <height>416</height>
        </rect>
    </property>
    <property name="caption">
        <string>Attach to Process</string>
    </property>
    <property name="sizeGripEnabled">
        <bool>true</bool>
    </property>
    <hbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="TQLayoutWidget">
            <property name="name">
                <cstring>layout7</cstring>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLayoutWidget">
                    <property name="name">
                        <cstring>layout6</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQLabel">
                            <property name="name">
                                <cstring>filterLabel</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Filter or PID:</string>
                            </property>
                            <property name="buddy" stdset="0">
                                <cstring>filterEdit</cstring>
                            </property>
                        </widget>
                        <widget class="TQLineEdit">
                            <property name="name">
                                <cstring>filterEdit</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>7</hsizetype>
                                    <vsizetype>5</vsizetype>
                                    <horstretch>0</horstretch>
                                    <verstretch>0</verstretch>
                                </sizepolicy>
                            </property>
                            <property name="maxLength">
                                <number>20</number>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>Type the name of the process or its process ID (PID) here to reduce the number of entries in the list.</string>
                            </property>
                        </widget>
                        <widget class="TQToolButton">
                            <property name="name">
                                <cstring>filterClear</cstring>
                            </property>
                            <property name="text">
                                <string>...</string>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>Clear filter</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>Use this button to clear the filter text so that all processes are displayed.</string>
                            </property>
                        </widget>
                    </hbox>
                </widget>
                <widget class="TQListView">
                    <column>
                        <property name="text">
                            <string>Command</string>
                        </property>
                        <property name="clickable">
                            <bool>true</bool>
                        </property>
                        <property name="resizable">
                            <bool>true</bool>
                        </property>
                    </column>
                    <column>
                        <property name="text">
                            <string>PID</string>
                        </property>
                        <property name="clickable">
                            <bool>true</bool>
                        </property>
                        <property name="resizable">
                            <bool>true</bool>
                        </property>
                    </column>
                    <column>
                        <property name="text">
                            <string>PPID</string>
                        </property>
                        <property name="clickable">
                            <bool>true</bool>
                        </property>
                        <property name="resizable">
                            <bool>true</bool>
                        </property>
                    </column>
                    <property name="name">
                        <cstring>processList</cstring>
                    </property>
                    <property name="minimumSize">
                        <size>
                            <width>300</width>
                            <height>200</height>
                        </size>
                    </property>
                    <property name="allColumnsShowFocus">
                        <bool>true</bool>
                    </property>
                    <property name="whatsThis" stdset="0">
                        <string>&lt;p&gt;This list displays all processes that are currently running. You must select the process that you want KDbg to attach to. Use the &lt;b&gt;Filter or PID&lt;/b&gt; edit box to reduce the number of entries in this list.&lt;p&gt;The text in the &lt;i&gt;Command&lt;/i&gt; column is usually, but not always, the command that was used to start the process. The &lt;i&gt;PID&lt;/i&gt; column shows the process ID. The &lt;i&gt;PPID&lt;/i&gt; column shows the process ID of the parent process. Additional columns show more information about the processes that is also available via the system's &lt;i&gt;ps&lt;/i&gt; command.&lt;/p&gt;&lt;p&gt;The list is not updated automatically. Use the &lt;b&gt;Refresh&lt;/b&gt; button to update it.&lt;/p&gt;</string>
                    </property>
                </widget>
                <widget class="TQLayoutWidget">
                    <property name="name">
                        <cstring>layout3</cstring>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQPushButton">
                            <property name="name">
                                <cstring>buttonRefresh</cstring>
                            </property>
                            <property name="sizePolicy">
                                <sizepolicy>
                                    <hsizetype>1</hsizetype>
                                    <vsizetype>0</vsizetype>
                                    <horstretch>0</horstretch>
                                    <verstretch>0</verstretch>
                                </sizepolicy>
                            </property>
                            <property name="text">
                                <string>&amp;Refresh</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>This button updates the list of processes.</string>
                            </property>
                        </widget>
                        <spacer>
                            <property name="name">
                                <cstring>spacingBtns</cstring>
                            </property>
                            <property name="orientation">
                                <enum>Horizontal</enum>
                            </property>
                            <property name="sizeType">
                                <enum>Expanding</enum>
                            </property>
                            <property name="sizeHint">
                                <size>
                                    <width>242</width>
                                    <height>20</height>
                                </size>
                            </property>
                        </spacer>
                        <widget class="TQPushButton">
                            <property name="name">
                                <cstring>buttonOk</cstring>
                            </property>
                            <property name="enabled">
                                <bool>false</bool>
                            </property>
                            <property name="text">
                                <string>&amp;OK</string>
                            </property>
                            <property name="accel">
                                <string></string>
                            </property>
                            <property name="autoDefault">
                                <bool>true</bool>
                            </property>
                            <property name="default">
                                <bool>true</bool>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>You must select a process from the list. Then click the &lt;b&gt;OK&lt;/b&gt; button to attach to that process.</string>
                            </property>
                        </widget>
                        <widget class="TQPushButton">
                            <property name="name">
                                <cstring>buttonCancel</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;Cancel</string>
                            </property>
                            <property name="accel">
                                <string></string>
                            </property>
                            <property name="autoDefault">
                                <bool>true</bool>
                            </property>
                        </widget>
                    </hbox>
                </widget>
            </vbox>
        </widget>
    </hbox>
</widget>
<connections>
    <connection>
        <sender>buttonOk</sender>
        <signal>clicked()</signal>
        <receiver>ProcAttachBase</receiver>
        <slot>accept()</slot>
    </connection>
    <connection>
        <sender>buttonCancel</sender>
        <signal>clicked()</signal>
        <receiver>ProcAttachBase</receiver>
        <slot>reject()</slot>
    </connection>
    <connection>
        <sender>buttonRefresh</sender>
        <signal>clicked()</signal>
        <receiver>ProcAttachBase</receiver>
        <slot>refresh()</slot>
    </connection>
    <connection>
        <sender>filterEdit</sender>
        <signal>textChanged(const TQString&amp;)</signal>
        <receiver>ProcAttachBase</receiver>
        <slot>filterEdited(const TQString&amp;)</slot>
    </connection>
    <connection>
        <sender>filterClear</sender>
        <signal>clicked()</signal>
        <receiver>filterEdit</receiver>
        <slot>clear()</slot>
    </connection>
    <connection>
        <sender>processList</sender>
        <signal>selectionChanged()</signal>
        <receiver>ProcAttachBase</receiver>
        <slot>selectedChanged()</slot>
    </connection>
</connections>
<tabstops>
    <tabstop>filterEdit</tabstop>
    <tabstop>processList</tabstop>
    <tabstop>buttonRefresh</tabstop>
    <tabstop>buttonOk</tabstop>
    <tabstop>buttonCancel</tabstop>
</tabstops>
<slots>
    <slot specifier="pure virtual">refresh()</slot>
    <slot specifier="pure virtual">filterEdited(const TQString&amp;)</slot>
    <slot specifier="pure virtual">selectedChanged()</slot>
</slots>
<layoutdefaults spacing="6" margin="10"/>
</UI>