Improve the usability of the Attach to Process dialog.
[kdbg.git] / kdbg / procattachbase.ui
blob833fb19098c80bf3dd0196c04b9c98a1d0bd6b75
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>ProcAttachBase</class>
3 <author>Johannes Sixt</author>
4 <widget class="QDialog">
5     <property name="name">
6         <cstring>ProcAttachBase</cstring>
7     </property>
8     <property name="geometry">
9         <rect>
10             <x>0</x>
11             <y>0</y>
12             <width>560</width>
13             <height>416</height>
14         </rect>
15     </property>
16     <property name="caption">
17         <string>Attach to Process</string>
18     </property>
19     <property name="sizeGripEnabled">
20         <bool>false</bool>
21     </property>
22     <hbox>
23         <property name="name">
24             <cstring>unnamed</cstring>
25         </property>
26         <widget class="QLayoutWidget">
27             <property name="name">
28                 <cstring>layout7</cstring>
29             </property>
30             <vbox>
31                 <property name="name">
32                     <cstring>unnamed</cstring>
33                 </property>
34                 <widget class="QLayoutWidget">
35                     <property name="name">
36                         <cstring>layout6</cstring>
37                     </property>
38                     <hbox>
39                         <property name="name">
40                             <cstring>unnamed</cstring>
41                         </property>
42                         <widget class="QLabel">
43                             <property name="name">
44                                 <cstring>filterLabel</cstring>
45                             </property>
46                             <property name="text">
47                                 <string>&amp;Filter or PID:</string>
48                             </property>
49                             <property name="buddy" stdset="0">
50                                 <cstring>filterEdit</cstring>
51                             </property>
52                         </widget>
53                         <widget class="QLineEdit">
54                             <property name="name">
55                                 <cstring>filterEdit</cstring>
56                             </property>
57                             <property name="sizePolicy">
58                                 <sizepolicy>
59                                     <hsizetype>7</hsizetype>
60                                     <vsizetype>5</vsizetype>
61                                     <horstretch>0</horstretch>
62                                     <verstretch>0</verstretch>
63                                 </sizepolicy>
64                             </property>
65                             <property name="maxLength">
66                                 <number>20</number>
67                             </property>
68                             <property name="whatsThis" stdset="0">
69                                 <string>Type the name of the process or its process ID (PID) here to reduce the number of entries in the list.</string>
70                             </property>
71                         </widget>
72                         <widget class="QToolButton">
73                             <property name="name">
74                                 <cstring>filterClear</cstring>
75                             </property>
76                             <property name="text">
77                                 <string>...</string>
78                             </property>
79                             <property name="toolTip" stdset="0">
80                                 <string>Clear filter</string>
81                             </property>
82                             <property name="whatsThis" stdset="0">
83                                 <string>Use this button to clear the filter text so that all processes are displayed.</string>
84                             </property>
85                         </widget>
86                     </hbox>
87                 </widget>
88                 <widget class="QListView">
89                     <column>
90                         <property name="text">
91                             <string>Command</string>
92                         </property>
93                         <property name="clickable">
94                             <bool>true</bool>
95                         </property>
96                         <property name="resizable">
97                             <bool>true</bool>
98                         </property>
99                     </column>
100                     <column>
101                         <property name="text">
102                             <string>PID</string>
103                         </property>
104                         <property name="clickable">
105                             <bool>true</bool>
106                         </property>
107                         <property name="resizable">
108                             <bool>true</bool>
109                         </property>
110                     </column>
111                     <column>
112                         <property name="text">
113                             <string>PPID</string>
114                         </property>
115                         <property name="clickable">
116                             <bool>true</bool>
117                         </property>
118                         <property name="resizable">
119                             <bool>true</bool>
120                         </property>
121                     </column>
122                     <property name="name">
123                         <cstring>processList</cstring>
124                     </property>
125                     <property name="minimumSize">
126                         <size>
127                             <width>300</width>
128                             <height>200</height>
129                         </size>
130                     </property>
131                     <property name="allColumnsShowFocus">
132                         <bool>true</bool>
133                     </property>
134                     <property name="whatsThis" stdset="0">
135                         <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; comand.&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>
136                     </property>
137                 </widget>
138                 <widget class="QLayoutWidget">
139                     <property name="name">
140                         <cstring>layout3</cstring>
141                     </property>
142                     <hbox>
143                         <property name="name">
144                             <cstring>unnamed</cstring>
145                         </property>
146                         <widget class="QPushButton">
147                             <property name="name">
148                                 <cstring>buttonRefresh</cstring>
149                             </property>
150                             <property name="sizePolicy">
151                                 <sizepolicy>
152                                     <hsizetype>1</hsizetype>
153                                     <vsizetype>0</vsizetype>
154                                     <horstretch>0</horstretch>
155                                     <verstretch>0</verstretch>
156                                 </sizepolicy>
157                             </property>
158                             <property name="text">
159                                 <string>&amp;Refresh</string>
160                             </property>
161                             <property name="accel">
162                                 <string>Alt+R</string>
163                             </property>
164                             <property name="whatsThis" stdset="0">
165                                 <string>This button updates the list of processes.</string>
166                             </property>
167                         </widget>
168                         <spacer>
169                             <property name="name">
170                                 <cstring>spacingBtns</cstring>
171                             </property>
172                             <property name="orientation">
173                                 <enum>Horizontal</enum>
174                             </property>
175                             <property name="sizeType">
176                                 <enum>Expanding</enum>
177                             </property>
178                             <property name="sizeHint">
179                                 <size>
180                                     <width>242</width>
181                                     <height>20</height>
182                                 </size>
183                             </property>
184                         </spacer>
185                         <widget class="QPushButton">
186                             <property name="name">
187                                 <cstring>buttonOk</cstring>
188                             </property>
189                             <property name="text">
190                                 <string>&amp;OK</string>
191                             </property>
192                             <property name="accel">
193                                 <string></string>
194                             </property>
195                             <property name="autoDefault">
196                                 <bool>true</bool>
197                             </property>
198                             <property name="default">
199                                 <bool>true</bool>
200                             </property>
201                         </widget>
202                         <widget class="QPushButton">
203                             <property name="name">
204                                 <cstring>buttonCancel</cstring>
205                             </property>
206                             <property name="text">
207                                 <string>&amp;Cancel</string>
208                             </property>
209                             <property name="accel">
210                                 <string></string>
211                             </property>
212                             <property name="autoDefault">
213                                 <bool>true</bool>
214                             </property>
215                         </widget>
216                     </hbox>
217                 </widget>
218             </vbox>
219         </widget>
220     </hbox>
221 </widget>
222 <connections>
223     <connection>
224         <sender>buttonOk</sender>
225         <signal>clicked()</signal>
226         <receiver>ProcAttachBase</receiver>
227         <slot>accept()</slot>
228     </connection>
229     <connection>
230         <sender>buttonCancel</sender>
231         <signal>clicked()</signal>
232         <receiver>ProcAttachBase</receiver>
233         <slot>reject()</slot>
234     </connection>
235     <connection>
236         <sender>buttonRefresh</sender>
237         <signal>clicked()</signal>
238         <receiver>ProcAttachBase</receiver>
239         <slot>refresh()</slot>
240     </connection>
241     <connection>
242         <sender>filterEdit</sender>
243         <signal>textChanged(const QString&amp;)</signal>
244         <receiver>ProcAttachBase</receiver>
245         <slot>filterEdited(const QString&amp;)</slot>
246     </connection>
247     <connection>
248         <sender>filterClear</sender>
249         <signal>clicked()</signal>
250         <receiver>filterEdit</receiver>
251         <slot>clear()</slot>
252     </connection>
253 </connections>
254 <tabstops>
255     <tabstop>filterEdit</tabstop>
256     <tabstop>processList</tabstop>
257     <tabstop>buttonRefresh</tabstop>
258     <tabstop>buttonOk</tabstop>
259     <tabstop>buttonCancel</tabstop>
260 </tabstops>
261 <slots>
262     <slot specifier="pure virtual">refresh()</slot>
263     <slot specifier="pure virtual">filterEdited(const QString&amp;)</slot>
264 </slots>
265 <layoutdefaults spacing="6" margin="10"/>
266 </UI>