! Returns the placement type of the element with the specified \a index. */
| 4874 | Returns the placement type of the element with the specified \a index. |
| 4875 | */ |
| 4876 | QCPLayoutInset::InsetPlacement QCPLayoutInset::insetPlacement(int index) const |
| 4877 | { |
| 4878 | if (elementAt(index)) |
| 4879 | return mInsetPlacement.at(index); |
| 4880 | else |
| 4881 | { |
| 4882 | qDebug() << Q_FUNC_INFO << "Invalid element index:" << index; |
| 4883 | return ipFree; |
| 4884 | } |
| 4885 | } |
| 4886 | |
| 4887 | /*! |
| 4888 | Returns the alignment of the element with the specified \a index. The alignment only has a |