T
T
TemaKam2021-09-12 17:52:04
PyQt
TemaKam, 2021-09-12 17:52:04

How to get widget from QTableView cell?

there is a table where in the combobox cell
RTztZHq.png
how do i get the values ​​from this combobox?

so only the first value is displayed
view.model().index(0, 1).data()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TemaKam, 2021-09-14
@TemaKam

combobox is https://doc.qt.io/qt-5/qsqlrelationaldelegate.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question