QTfrontend/ui/page/pageroomslist.cpp
changeset 6977 6a2ecad333da
parent 6952 7f70f37bbf08
child 6987 e34415c77342
equal deleted inserted replaced
6976:ec6b4118e7b1 6977:6a2ecad333da
   477     roomsList->setModel(model);
   477     roomsList->setModel(model);
   478 
   478 
   479     roomsList->hideColumn(0);
   479     roomsList->hideColumn(0);
   480 
   480 
   481     QHeaderView * h = roomsList->horizontalHeader();
   481     QHeaderView * h = roomsList->horizontalHeader();
   482     h->resizeSection(1, 200);
   482     h->setResizeMode(1, QHeaderView::Stretch);
   483     h->resizeSection(2, 50);
   483     h->resizeSection(2, 16);
   484     h->resizeSection(3, 50);
   484     h->resizeSection(3, 16);
   485     h->resizeSection(4, 100);
   485     h->resizeSection(4, 100);
   486     h->resizeSection(5, 100);
   486     h->resizeSection(5, 100);
   487     h->resizeSection(6, 100);
   487     h->resizeSection(6, 100);
   488     h->resizeSection(7, 100);
   488     h->resizeSection(7, 100);
   489 }
   489 
       
   490 }