QTfrontend/pages.cpp
changeset 3861 4629026ff75a
parent 3834 b7ecf8db4dba
child 3864 cbd37f91d9a2
equal deleted inserted replaced
3860:f813f31b1d7e 3861:4629026ff75a
  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, 100);
  1092     pageLayout->setRowStretch(2, 320);
  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:"));