equal
deleted
inserted
replaced
483 |
483 |
484 void PageRoomsList::setUser(const QString & nickname) |
484 void PageRoomsList::setUser(const QString & nickname) |
485 { |
485 { |
486 chatWidget->setUser(nickname); |
486 chatWidget->setUser(nickname); |
487 } |
487 } |
|
488 |
|
489 void PageRoomsList::setModel(QAbstractTableModel *model) |
|
490 { |
|
491 roomsList->setModel(model); |
|
492 |
|
493 QHeaderView * h = roomsList->horizontalHeader(); |
|
494 h->resizeSection(0, 200); |
|
495 h->resizeSection(1, 50); |
|
496 h->resizeSection(2, 50); |
|
497 h->resizeSection(3, 100); |
|
498 h->resizeSection(4, 100); |
|
499 h->resizeSection(5, 100); |
|
500 h->resizeSection(6, 100); |
|
501 } |