Re: Qt ignorance: any help?

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 05:35:00PM +, Angus Leeming wrote: > John Levon wrote: > > There isn't. I'm not sure I want one either, it just encourages people > > not to translate LyX-internal names into user names ;) > > Oh, crap. But anyway, I used a vector rather tahn a vector... OK ... I wasn

Re: Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
John Levon wrote: > There isn't. I'm not sure I want one either, it just encourages people > not to translate LyX-internal names into user names ;) Oh, crap. But anyway, I used a vector rather tahn a vector... --

Re: Qt ignorance: any help?

2003-07-30 Thread John Levon
On Wed, Jul 30, 2003 at 02:28:39PM +0200, Juergen Spitzmueller wrote: > I guess you have to (I don't know if QStringList::split() will be of any help. > http://doc.trolltech.com/3.1/qstringlist.html#split) Avoid QStringList altogether. It's a huge bloater. > > Is there a Qt helper function to fi

Re: Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> Is there a Qt helper function to fill a vector from a QListBox >> (and vice versa) or do I need to write something like: > > I guess you have to (I don't know if QStringList::split() will be of any > help. http://doc.trolltech.com/3.1/qstringl

Re: Qt ignorance: any help?

2003-07-30 Thread Juergen Spitzmueller
Angus Leeming wrote: > Is there a Qt helper function to fill a vector from a QListBox (and > vice versa) or do I need to write something like: I guess you have to (I don't know if QStringList::split() will be of any help. http://doc.trolltech.com/3.1/qstringlist.html#split) Did you see QCitation:

Qt ignorance: any help?

2003-07-30 Thread Angus Leeming
Is there a Qt helper function to fill a vector from a QListBox (and vice versa) or do I need to write something like: // Filling a vector from a QListBox widget. // dialog_->databaseLB is of type QListBox*. vector contents; for (unsigned int i = 0; i < dialog_->dat