Re: removing row from table. PyQT

2009-05-06 Thread MRAB
Ani wrote: I'm trying to remove the selected rows from the table, but it's not working, i've tried many ways, don't know what I'm missing. code below: [snip] def remove(self): print "removendo da tabela" #self.tableWidget.removeRow(self.tableView.selectedIndexes())

removing row from table. PyQT

2009-05-06 Thread Ani
I'm trying to remove the selected rows from the table, but it's not working, i've tried many ways, don't know what I'm missing. code below: class MonitorUi(QWidget): def __init__(self,parent = None): QWidget.__init__(self,parent) self._initalTable = [["none","none","none"],