src/gui/itemviews/qtablewidget.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
  2456 /*!
  2456 /*!
  2457     Sets the item prototype for the table to the specified \a item.
  2457     Sets the item prototype for the table to the specified \a item.
  2458 
  2458 
  2459     The table widget will use the item prototype clone function when it needs
  2459     The table widget will use the item prototype clone function when it needs
  2460     to create a new table item.  For example when the user is editing
  2460     to create a new table item.  For example when the user is editing
  2461     editing in an empty cell.  This is useful when you have a QTableWidgetItem
  2461     in an empty cell.  This is useful when you have a QTableWidgetItem
  2462     subclass and want to make sure that QTableWidget creates instances of
  2462     subclass and want to make sure that QTableWidget creates instances of
  2463     your subclass.
  2463     your subclass.
  2464 
  2464 
  2465     The table takes ownership of the prototype.
  2465     The table takes ownership of the prototype.
  2466 
  2466