QTfrontend/ui/widget/keybinder.cpp
changeset 14218 925e2c9877a8
parent 13309 2bdae461ae5f
child 14846 75b515a64202
equal deleted inserted replaced
14217:83e816254f2e 14218:925e2c9877a8
   168 
   168 
   169         // Hidden combo box
   169         // Hidden combo box
   170         QComboBox * comboBox = CBBind[i] = new QComboBox(curTable);
   170         QComboBox * comboBox = CBBind[i] = new QComboBox(curTable);
   171         comboBox->setModel((QAbstractItemModel*)DataManager::instance().bindsModel());
   171         comboBox->setModel((QAbstractItemModel*)DataManager::instance().bindsModel());
   172         comboBox->setVisible(false);
   172         comboBox->setVisible(false);
   173         comboBox->setFixedWidth(200);
   173         comboBox->setMinimumWidth(400);
   174         comboBox->setMaxVisibleItems(50);
   174         comboBox->setMaxVisibleItems(50);
   175 
   175 
   176         // Table row
   176         // Table row
   177         int row = curTable->rowCount();
   177         int row = curTable->rowCount();
   178         QTableWidgetItem * nameCell = new QTableWidgetItem(HWApplication::translate("binds", cbinds[i].name));
   178         QTableWidgetItem * nameCell = new QTableWidgetItem(HWApplication::translate("binds", cbinds[i].name));