[Interest] how to set QItemDelegate size to widge size?

nus1998 nus1998 at yeah.net
Mon Dec 28 02:19:03 CET 2015


Hi, All,

I have searched on Internet but not found a solution.

my question is that I insert a combobox in table view by QItemDelegate, but the column size is too small for it. I found sizeHint function of QItemDelegate which can adjust the size, but how can I get the very size of widget but not just assign a big size?

B.R.
Jie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151228/86d1167f/attachment.html>


More information about the Interest mailing list