[Qt-interest] How to see a part of the QStringList
Petr Štetiar
ynezz at true.cz
Sun Apr 26 00:31:13 CEST 2009
Stefanos Antaris <santaris at csd.auth.gr> [2009-04-26 00:18:53]:
> Hello.I want to split the string into smaller strings.I used the split
> function but now i want to show into my GUI only some parts of the
> QStringList.I have made the following code but the GUI crash.
> [code]
> QStringList list=currentFortune.split(",");
> QString sensor1string=list[0];
> sensor1->setText(sensor1string);
sensor1->setText(list.at(0));
More information about the Qt-interest-old
mailing list