! Returns whether this margin group is empty. If this function returns true, no layout elements use this margin group to synchronize margin sides. */
| 3058 | this margin group to synchronize margin sides. |
| 3059 | */ |
| 3060 | bool QCPMarginGroup::isEmpty() const |
| 3061 | { |
| 3062 | QHashIterator<QCP::MarginSide, QList<QCPLayoutElement*> > it(mChildren); |
| 3063 | while (it.hasNext()) |
| 3064 | { |
| 3065 | it.next(); |
| 3066 | if (!it.value().isEmpty()) |
| 3067 | return false; |
| 3068 | } |
| 3069 | return true; |
| 3070 | } |
| 3071 | |
| 3072 | /*! |
| 3073 | Clears this margin group. The synchronization of the margin sides that use this margin group is |
no test coverage detected