! Returns the alignment of the element with the specified \a index. The alignment only has a meaning, if the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned. */
| 4889 | meaning, if the inset placement (\ref setInsetPlacement) is \ref ipBorderAligned. |
| 4890 | */ |
| 4891 | Qt::Alignment QCPLayoutInset::insetAlignment(int index) const |
| 4892 | { |
| 4893 | if (elementAt(index)) |
| 4894 | return mInsetAlignment.at(index); |
| 4895 | else |
| 4896 | { |
| 4897 | qDebug() << Q_FUNC_INFO << "Invalid element index:" << index; |
| 4898 | return 0; |
| 4899 | } |
| 4900 | } |
| 4901 | |
| 4902 | /*! |
| 4903 | Returns the rect of the element with the specified \a index. The rect only has a |