В чем причина накладных расходов на функцию childItems() в Qt C++ QGraphicsItems?C++

Программы на C++. Форум разработчиков
Anonymous
В чем причина накладных расходов на функцию childItems() в Qt C++ QGraphicsItems?

Сообщение Anonymous »


void MyGraphcisItem::updateChildItems() { QList items = this->childItems(); **updateChildItems(); } } QList items = this->childItems(); It takes too long. The more items there are, the longer it takes. Is there a way to avoid it? Actually, I wonder what's taking so long.


Источник: https://stackoverflow.com/questions/781 ... qt-c-qgrap

Вернуться в «C++»