[Qgis-user] force data type in QTableWidget in QGIS plugin

matteo matteo.ghetta at gmail.com
Wed Mar 2 07:17:22 PST 2016


Hi Matthias,
thanks for the super quick reply.

So you are saying that I can manually set the item data using
setData(...) and get the type of that data by data().type()

But in my case the first row of the QWidgetTable is already filled with
some custom values (I filled it Qt Designer).

When I run the code I cannot get these first row data type (that I want
to use further in the code).

Am I missing something in your answer?

Thanks again!

Matteo



More information about the Qgis-user mailing list