tests/qtp/qtp_masterdetail/mainwindow.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   409 }
   409 }
   410 
   410 
   411 void MainWindow::adjustHeader()
   411 void MainWindow::adjustHeader()
   412 {
   412 {
   413     albumView->hideColumn(0);
   413     albumView->hideColumn(0);
   414     albumView->horizontalHeader()->setResizeMode(1, QHeaderView::Stretch);
       
   415     albumView->resizeColumnToContents(2);
   414     albumView->resizeColumnToContents(2);
   416     albumView->resizeColumnToContents(3);
   415     albumView->resizeColumnToContents(3);
   417 }
   416 }
   418 
   417 
   419 void MainWindow::about()
   418 void MainWindow::about()