[Kde-perl] removing rows in QTable

Dirk Lindner adrenalinux at t-online.de
Sat Feb 14 10:40:12 CET 2004


I hope that help !


 sub PB_append_clicked
 {
      my $tmp = table->numRows();
      table->insertRows($tmp, 1);
table->setText($tmp+1, 0, "Append Row $tmp");
 }

 sub PB_remove_clicked
 {
my $tmp = table->currentRow();
table->removeRow($tmp);
 }

Great Dirk !



More information about the Kde-perl mailing list