QTfrontend/pages.cpp
changeset 3866 561275a3f33b
parent 3864 cbd37f91d9a2
child 3867 5c432e64f5ae
equal deleted inserted replaced
3864:cbd37f91d9a2 3866:561275a3f33b
  1087     roomsList->setSelectionBehavior(QAbstractItemView::SelectRows);
  1087     roomsList->setSelectionBehavior(QAbstractItemView::SelectRows);
  1088     roomsList->verticalHeader()->setVisible(false);
  1088     roomsList->verticalHeader()->setVisible(false);
  1089     roomsList->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
  1089     roomsList->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
  1090     roomsList->setAlternatingRowColors(true);
  1090     roomsList->setAlternatingRowColors(true);
  1091     pageLayout->addWidget(roomsList, 1, 0, 3, 1);
  1091     pageLayout->addWidget(roomsList, 1, 0, 3, 1);
  1092     pageLayout->setRowStretch(2, 320);
  1092     pageLayout->setRowStretch(2, 100);
  1093     
  1093     
  1094     QHBoxLayout * filterLayout = new QHBoxLayout();
  1094     QHBoxLayout * filterLayout = new QHBoxLayout();
  1095     
  1095     
  1096     QLabel * stateLabel = new QLabel(this);
  1096     QLabel * stateLabel = new QLabel(this);
  1097     stateLabel->setText(tr("State:"));
  1097     stateLabel->setText(tr("State:"));