! If the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned, this function is used to set the alignment of the element with the specified \a index to \a alignment. \a alignment is an or combination of the following alignment flags: Qt::AlignLeft, Qt::AlignHCenter, Qt::AlighRight, Qt::AlignTop, Qt::AlignVCenter, Qt::AlignBottom. Any other alignment flags will be ignored.
| 4965 | alignment flags will be ignored. |
| 4966 | */ |
| 4967 | void QCPLayoutInset::setInsetAlignment(int index, Qt::Alignment alignment) |
| 4968 | { |
| 4969 | if (elementAt(index)) |
| 4970 | mInsetAlignment[index] = alignment; |
| 4971 | else |
| 4972 | qDebug() << Q_FUNC_INFO << "Invalid element index:" << index; |
| 4973 | } |
| 4974 | |
| 4975 | /*! |
| 4976 | If the inset placement (\ref setInsetPlacement) is \ref ipFree, this function is used to set the |
no outgoing calls
no test coverage detected