[SOLVED]how to make a custom "Table" like this?
-
i want to have a "Table" kind widget like this:
- each row item can include vaiouse other controls, such as label, editline, combo, button, etc.
- i can add or delete , or insert a row.
is there any controls already exist? or which controls should i inherite from.
thank you -
There's "QTableWidget":http://qt-project.org/doc/qt-5/qtablewidget.html. You can "insert/remove":http://qt-project.org/doc/qt-5/qtablewidget.html#public-slots rows and columns and you can "set any widget":http://qt-project.org/doc/qt-5/qtablewidget.html#setCellWidget on a cell.