[Kde-perl] QListViewItem

crazyroot perl at gromnet.net
Fri Oct 27 11:24:58 CEST 2006


Hi,

I have listView on form , and I want to add data from array trough 
foreach loop. The code looks like this:

   my $item = Qt::ListViewItem(listView1, undef);
         foreach $line (@array) {

                        $item->setText(0, trUtf8("$line"));
    }

  but, this add's only last record from array.

Help please.



More information about the Kde-perl mailing list