inherits documentation from base class */
| 4627 | |
| 4628 | /* inherits documentation from base class */ |
| 4629 | bool QCPLayoutGrid::take(QCPLayoutElement *element) |
| 4630 | { |
| 4631 | if (element) |
| 4632 | { |
| 4633 | for (int i=0; i<elementCount(); ++i) |
| 4634 | { |
| 4635 | if (elementAt(i) == element) |
| 4636 | { |
| 4637 | takeAt(i); |
| 4638 | return true; |
| 4639 | } |
| 4640 | } |
| 4641 | qDebug() << Q_FUNC_INFO << "Element not in this layout, couldn't take"; |
| 4642 | } else |
| 4643 | qDebug() << Q_FUNC_INFO << "Can't take null element"; |
| 4644 | return false; |
| 4645 | } |
| 4646 | |
| 4647 | /* inherits documentation from base class */ |
| 4648 | QList<QCPLayoutElement*> QCPLayoutGrid::elements(bool recursive) const |
no test coverage detected