equal
deleted
inserted
replaced
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)); |