I try to subclass QStandardItem, I think, this is the solution!

Qt Code:
  1. class NumberItem : public QStandardItem {
  2.  
  3. public:
  4. NumberItem(const int number);
  5.  
  6. private:
  7. int value;
  8.  
  9. public:
  10. int type() const;
  11. QStandardItem *clone() const;
  12. QVariant data(int role = Qt::UserRole + 1) const;
  13. };
  14.  
  15. NumberItem::NumberItem(const int number) : QStandardItem() {
  16. value = number;
  17. }
  18.  
  19. int NumberItem::type() const {
  20. return QStandardItem::UserType;
  21. }
  22.  
  23. QStandardItem *NumberItem::clone() const {
  24. return new NumberItem(*this);
  25. }
  26.  
  27. QVariant NumberItem::data(int) const {
  28. return QVariant(number);
  29. }
To copy to clipboard, switch view to plain text mode 

than I append this to the model:

Qt Code:
  1. column5.append(new NumberItem(12345));
To copy to clipboard, switch view to plain text mode 

It work's, the numbers are in the column 5 of tableView, but all number cells are checkable and disabled!? I don't know, why! setCheckable(false) and setEnabled(true) doesn't work!