[Qt-interest] How can I persist all itens from QTableWidget in the data base ?
Mhayk Whandson
eu at mhayk.com.br
Thu Aug 13 02:17:34 CEST 2009
Hi all,
I would like to know how can I save all itens from QTableWidget in the
data base ? I am using postgreSQL, if you have some example this will
help me a lot. I am saving the product name and product price in the
QTableWidget and I would like get all this products added and persist
in the PostgreSQL. I was readind the QTableWidget documentation and I
just found the function:
QModelIndex QTableWidget::indexFromItem ( QTableWidgetItem * item )
const [protected]
but the function above returns the QModelIndex assocated with the
given item so, this don't help me. Are you have any idea to solve this
problem ?
--
Mhayk Whandson
Linux User #413723
E-mail: eu at mhayk.com.br
More information about the Qt-interest-old
mailing list