Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.7.0
-
None
-
Qt 5.7 documentation on web
-
a825e1ed0d4d5ac8d26142037ba475430d33eabd
Description
The example for setCellwidget is:
setCellWidget(index, new QLineEdit);
...
setCellWidget(index, new QTextEdit);
showing only two parameter, but the parameter list has three parameters.
void QTableWidget::setCellWidget(int row, int column, QWidget *widget)
Change in the example "index" to "row, col" for instance.