Subversion Repositories OpenInventory

Rev

Rev 169 | Rev 180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 169 Rev 179
Line 157... Line 157...
157
*/
157
*/
158
158
159
//  editor->addItem("0");
159
//  editor->addItem("0");
160
160
161
    editor->addItems(Name_list);
161
    editor->addItems(Name_list);
-
 
162
//    editor->setEditable(false);
162
    return editor;
163
    return editor;
163
}
164
}
164
//! [1]
165
//! [1]
165
166
166
//! [2]
167
//! [2]
Line 195... Line 196...
195
if (value == "6") comboBox->setCurrentIndex(6);
196
if (value == "6") comboBox->setCurrentIndex(6);
196
if (value == "7") comboBox->setCurrentIndex(7);
197
if (value == "7") comboBox->setCurrentIndex(7);
197
if (value == "8") comboBox->setCurrentIndex(8);
198
if (value == "8") comboBox->setCurrentIndex(8);
198
if (value == "9") comboBox->setCurrentIndex(9);
199
if (value == "9") comboBox->setCurrentIndex(9);
199
******************************************************/
200
******************************************************/
200
comboBox->setEditable(true);
201
comboBox->setEditable(false);
201
202
202
203
203
//comboBox->setItemText(0, value);
204
//comboBox->setItemText(0, value);
204
205
205
}
206
}