QTfrontend/pages.cpp
changeset 3867 5c432e64f5ae
parent 3865 0b1c426b035f
parent 3866 561275a3f33b
child 3868 aaac0e8641c6
equal deleted inserted replaced
3865:0b1c426b035f 3867:5c432e64f5ae
  1089     roomsList->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
  1089     roomsList->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
  1090     roomsList->setAlternatingRowColors(true);
  1090     roomsList->setAlternatingRowColors(true);
  1091     roomsList->setShowGrid(false);
  1091     roomsList->setShowGrid(false);
  1092     roomsList->setSelectionMode(QAbstractItemView::SingleSelection);
  1092     roomsList->setSelectionMode(QAbstractItemView::SingleSelection);
  1093     pageLayout->addWidget(roomsList, 1, 0, 3, 1);
  1093     pageLayout->addWidget(roomsList, 1, 0, 3, 1);
  1094     pageLayout->setRowStretch(2, 320);
  1094     pageLayout->setRowStretch(2, 100);
  1095     
  1095     
  1096     QHBoxLayout * filterLayout = new QHBoxLayout();
  1096     QHBoxLayout * filterLayout = new QHBoxLayout();
  1097     
  1097     
  1098     QLabel * stateLabel = new QLabel(this);
  1098     QLabel * stateLabel = new QLabel(this);
  1099     stateLabel->setText(tr("State:"));
  1099     stateLabel->setText(tr("State:"));