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.
Attachments
For Gerrit Dashboard: QTBUG-61894 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
166521,2 | Doc: Fix incorrect arguments in QTableWidget::setCellWidget() snippet | 5.6 | qt/qtbase | Status: MERGED | +2 | 0 |