From kde-core-devel Wed May 28 08:03:38 2003 From: Cornelius Schumacher Date: Wed, 28 May 2003 08:03:38 +0000 To: kde-core-devel Subject: Re: New Class: KInputDialog X-MARC-Message: https://marc.info/?l=kde-core-devel&m=105410914505096 On Wednesday 28 May 2003 02:51, Nadeem Hasan wrote: > WARNING: Unsanitized content follows. > > On Tue May 27 2003 04:01 am, Cornelius Schumacher wrote: > > On Tuesday 27 May 2003 06:09, Nadeem Hasan wrote: > > > > > What I would like to see added to KInputDialog is to use a QListBox > > instead of a QComboBox for selecting an entry from a list. This, together > > with the possibility to select an entry by double-clicking would make > > selecting an entry more convenient. > > How about something like KInputDialog::getItemList() which shows a listbox, > also allows multiple selection and returns a QStringList? It can use a bool > parameter to indicate if multiple selection is needed. Oh and in single > selection mode, allows double click to select an entry. How does this > sound? Sounds good. But it should also be possible to return a single QString by using a listbox. -- Cornelius Schumacher