inherits documentation from base class */
| 4659 | |
| 4660 | /* inherits documentation from base class */ |
| 4661 | bool QCPLayoutGrid::take(QCPLayoutElement *element) |
| 4662 | { |
| 4663 | if (element) |
| 4664 | { |
| 4665 | for (int i=0; i<elementCount(); ++i) |
| 4666 | { |
| 4667 | if (elementAt(i) == element) |
| 4668 | { |
| 4669 | takeAt(i); |
| 4670 | return true; |
| 4671 | } |
| 4672 | } |
| 4673 | qDebug() << Q_FUNC_INFO << "Element not in this layout, couldn't take"; |
| 4674 | } else |
| 4675 | qDebug() << Q_FUNC_INFO << "Can't take nullptr element"; |
| 4676 | return false; |
| 4677 | } |
| 4678 | |
| 4679 | /* inherits documentation from base class */ |
| 4680 | QList<QCPLayoutElement*> QCPLayoutGrid::elements(bool recursive) const |
no test coverage detected