title: QTableView export to .csv number of rows fetched is limited to only 256
body: <p>I wrote a gui program which will connect to an oracle db an retrieve data after a query is typed. the retrieved data is shown in a QTableView table model widget. and later the result of the QTableView is exported to a .csv file</p>
  
  <pre><code>QString MyQuery = ui-&gt;lineQuery-&gt;text();
  db.open();
  QSqlQuery query(MyQuery,db);
  
  if(query.exec())
  {
      qDebug()&lt;&lt;QDateTime::currentDateTime()&lt;&lt;"QUERY SUCCESS ";
      ui-&gt;queryButton-&gt;setStyleSheet("QPushButton {background-color: rgb(0, 255, 0);}");
  
      this-&gt;model=new QSqlQueryModel();
      model-&gt;setQuery(MyQuery);
      ui-&gt;tableViewOra-&gt;setModel(model);
  
      QString textData;
      int rows=model-&gt;rowCount();
      int columns=model-&gt;columnCount();
  
      for (int i = 0; i &lt; rows; i++)
      {
          for (int j = 0; j &lt; columns; j++)
          {
              textData += model-&gt;data(model-&gt;index(i,j)).toString();
              textData += ", ";      // for .csv file format
          }
          textData += "\n";             // (optional: for new line segmentation)
      }
  
      QFile csvfile("/home/aj/ora_exported.csv");
      if(csvfile.open(QIODevice::WriteOnly|QIODevice::Truncate))
      {
          QTextStream out(&amp;csvfile);
          out&lt;&lt;textData;
      }
      csvfile.close();
  }
  </code></pre>
  
  <p>now the problem is, during a query I observed there are 543 rows visible in the QTableView (which is correct cause there are 543 entries). But when the .csv file is exported, only 256 rows are there. </p>
  
  <p>Is there any variable size constraint that I am unaware about ???</p>
  
  <p>Which variables should be taken care of if I want to export .csv files of upto 1000 rows approx ??? thanks.</p>