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