QTfrontend/ui/widget/keybinder.cpp
changeset 11674 d59b6f289e30
parent 11046 47a8c19ecb60
child 12236 a0ed4caa6d35
equal deleted inserted replaced
11651:e5c101a6fb8d 11674:d59b6f289e30
   168         // Hidden combo box
   168         // Hidden combo box
   169         QComboBox * comboBox = CBBind[i] = new QComboBox(curTable);
   169         QComboBox * comboBox = CBBind[i] = new QComboBox(curTable);
   170         comboBox->setModel((QAbstractItemModel*)DataManager::instance().bindsModel());
   170         comboBox->setModel((QAbstractItemModel*)DataManager::instance().bindsModel());
   171         comboBox->setVisible(false);
   171         comboBox->setVisible(false);
   172         comboBox->setFixedWidth(200);
   172         comboBox->setFixedWidth(200);
       
   173         comboBox->setMaxVisibleItems(50);
   173 
   174 
   174         // Table row
   175         // Table row
   175         int row = curTable->rowCount();
   176         int row = curTable->rowCount();
   176         QTableWidgetItem * nameCell = new QTableWidgetItem(HWApplication::translate("binds", cbinds[i].name));
   177         QTableWidgetItem * nameCell = new QTableWidgetItem(HWApplication::translate("binds", cbinds[i].name));
   177         nameCell->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
   178         nameCell->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);