Re: Add step parameter to DoubleInput QInputDialog

2013-05-11 Thread David Faure
On Friday 10 May 2013 23:00:31 David Gil Oliva wrote: > 2013/5/10 David Faure > > > On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > > > Therefore, I think that it would be best to add a static method called > > > getItemFromListView. What do you think? > > > > Option 1: adding getItem

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread David Gil Oliva
2013/5/10 David Faure > On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > > > Therefore, I think that it would be best to add a static method called > > getItemFromListView. What do you think? > > Option 1: adding getItemFromListView (the name looks a bit odd) > Option 2: adding a getIte

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread David Gil Oliva
Hi! 2013/5/10 Kevin Krammer > On Friday, 2013-05-10, David Faure wrote: > > On Friday 10 May 2013 10:11:05 Kevin Krammer wrote: > > > On Friday, 2013-05-10, David Faure wrote: > > > > > I found no actual use case in the whole KDE code, for actual > > > > multiselection. All calls to getItemList

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread Kevin Krammer
On Friday, 2013-05-10, David Faure wrote: > On Friday 10 May 2013 10:11:05 Kevin Krammer wrote: > > On Friday, 2013-05-10, David Faure wrote: > > > I found no actual use case in the whole KDE code, for actual > > > multiselection. All calls to getItemList are followed by a .first() or > > > equiva

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread David Faure
On Friday 10 May 2013 10:11:05 Kevin Krammer wrote: > On Friday, 2013-05-10, David Faure wrote: > > On Friday 10 May 2013 09:27:44 Kevin Krammer wrote: > > > On Friday, 2013-05-10, David Faure wrote: > > > > On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > > > > > Therefore, I think that

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread Kevin Krammer
On Friday, 2013-05-10, David Faure wrote: > On Friday 10 May 2013 09:27:44 Kevin Krammer wrote: > > On Friday, 2013-05-10, David Faure wrote: > > > On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > > > > Therefore, I think that it would be best to add a static method > > > > called getItem

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread David Faure
On Friday 10 May 2013 09:27:44 Kevin Krammer wrote: > On Friday, 2013-05-10, David Faure wrote: > > On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > > > Therefore, I think that it would be best to add a static method called > > > getItemFromListView. What do you think? > > > > Option 1:

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread Kevin Krammer
On Friday, 2013-05-10, David Faure wrote: > On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > > Therefore, I think that it would be best to add a static method called > > getItemFromListView. What do you think? > > Option 1: adding getItemFromListView (the name looks a bit odd) > Option

Re: Add step parameter to DoubleInput QInputDialog

2013-05-10 Thread David Faure
On Wednesday 08 May 2013 17:26:17 David Gil Oliva wrote: > Hi! > > > 2013/5/2 David Faure > > > On Thursday 02 May 2013 13:07:34 David Faure wrote: > > So the real solution is not to add getItemList to Qt, but rather to change > > Qt's getItem to use a QListView rather than a QComboBox, in orde

Re: Add step parameter to DoubleInput QInputDialog

2013-05-08 Thread David Gil Oliva
Hi! 2013/5/2 David Faure > On Thursday 02 May 2013 13:07:34 David Faure wrote: > > > BTW, the definition of QInputDialog says that it "provides a simple > > > convenience dialog to get a single value from the user." The future new > > > method getItemList will be able to return more than one va

Re: Add step parameter to DoubleInput QInputDialog

2013-05-02 Thread David Faure
On Thursday 02 May 2013 16:31:40 David Gil Oliva wrote: > Ok, but I think it would be more logical to have the QListView to only > allow one value. Otherwise the user could select more than one value, and > have only one of them returned. Yes, of course. That's why the best solution is getItem() a

Re: Add step parameter to DoubleInput QInputDialog

2013-05-02 Thread David Gil Oliva
Hi! El 02/05/2013 15:30, "David Faure" va escriure: > > On Thursday 02 May 2013 13:07:34 David Faure wrote: > > > BTW, the definition of QInputDialog says that it "provides a simple > > > convenience dialog to get a single value from the user." The future new > > > method getItemList will be able

Re: Add step parameter to DoubleInput QInputDialog

2013-05-02 Thread David Faure
On Thursday 02 May 2013 13:07:34 David Faure wrote: > > BTW, the definition of QInputDialog says that it "provides a simple > > convenience dialog to get a single value from the user." The future new > > method getItemList will be able to return more than one value (in a > > QStringList, for exampl

Re: Add step parameter to DoubleInput QInputDialog

2013-05-02 Thread David Faure
On Wednesday 24 April 2013 23:00:26 David Gil Oliva wrote: > Hi! > > El 24/04/2013 22:38, "David Faure" va escriure: > > On Tuesday 23 April 2013 13:30:41 David Gil Oliva wrote: > > > Hi! > > > > > > I've got a problem with the task of adding a step parameter to > > > QInputDialog::getDouble. I