Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
の戻り値との関係を知っている人はいますか
QTableWidget::item(x, y)
と
QTableWidget::cellWidget (x, y)
同じQTableWidgetと同じrow.columnにあります。
それはすべて戻り値にあります。
item()QTableWidgetItem*その行/列に関連付けられた を返します。
item()
QTableWidgetItem*
cellWidget()は とより密接に関連付けられており、呼び出しで指定された をsetItemWidget(QWidget*)返します。QWidget*setItemWidget
cellWidget()
setItemWidget(QWidget*)
QWidget*
setItemWidget