title: QTableView with multiline cell
body: <p>How can I create a QTableView multiline cell?</p>
  
  <p>I'm filling the table using the code bellow.
  But Whem <code>GetDescription()</code> returns a long string, the content is terminated with <code>...</code></p>
  
  <p>There is some way to automatic break the line?</p>
  
  <pre><code>QStandardItemModel * model = new QStandardItemModel(logos.size(), 2, this);
  model-&gt;setHorizontalHeaderItem(0, new QStandardItem(QString("")));
  model-&gt;setHorizontalHeaderItem(1, new QStandardItem(QString("Nome")));
  model-&gt;setHorizontalHeaderItem(2, new QStandardItem(QString("Descrição")));
  
  int row = 0;
  foreach(Item * item, items)
  {
      QStandardItem* check = new QStandardItem(true);
      check-&gt;setCheckable(true);
      model-&gt;setItem(row, 0, check);
  
      QStandardItem *nameItem = new QStandardItem(QString(item-&gt;GetName()));
      nameItem-&gt;setEditable(false);
      model-&gt;setItem(row, 1, nameItem);
  
      QStandardItem *descriptionItem = new QStandardItem(item-&gt;GetDescription());
      descriptionItem-&gt;setEditable(false);
      descriptionItem-&gt;setToolTip(logo-&gt;GetDescription());
      model-&gt;setItem(row, 2, descriptionItem);
      row++;
  }
  
  ui-&gt;tableView-&gt;setModel(model);
  ui-&gt;tableView-&gt;resizeColumnToContents(0);
  ui-&gt;tableView-&gt;resizeColumnToContents(1);
  ui-&gt;tableView-&gt;horizontalHeader()-&gt;setSectionResizeMode(0, QHeaderView::Fixed);
  ui-&gt;tableView-&gt;horizontalHeader()-&gt;setSectionResizeMode(1, QHeaderView::Fixed);
  ui-&gt;tableView-&gt;horizontalHeader()-&gt;setSectionResizeMode(2, QHeaderView::Stretch);
  ui-&gt;tableView-&gt;setSelectionBehavior(QAbstractItemView::SelectRows);
  </code></pre>