Здравствуйте, гость ( Вход | Регистрация )
| Дата поста: | В теме: | За сообщение: | Спасибо сказали: | ||
|---|---|---|---|---|---|
| 23.11.2012, 8:24 | Добавление строки в модели (insertRow()) | Всем спасибо. Нашел ответ на свой вопрос в книге "Advanced Qt Programming" by Mark Shumerfield: ....In the Zipcodes case we insert one empty ZipcodeItem for each row that is to be inserted. In fact the zipcodes2 application never calls this method directly; but it does call insertRow() in addZipcode(), and that method (implemented in the base class) polymorphically calls insertRows() with the row and a count of 1. несколько раз по этому поводу перечитывал документацию и явного подобного описания не нашел. |
Day, | ||
|
Текстовая версия | Сейчас: 16.12.2025, 7:35 |