! Returns whether the cell at \a row and \a column exists and contains a valid element, i.e. isn't empty. \see element */
| 4219 | \see element |
| 4220 | */ |
| 4221 | bool QCPLayoutGrid::hasElement(int row, int column) |
| 4222 | { |
| 4223 | if (row >= 0 && row < rowCount() && column >= 0 && column < columnCount()) |
| 4224 | return mElements.at(row).at(column); |
| 4225 | else |
| 4226 | return false; |
| 4227 | } |
| 4228 | |
| 4229 | /*! |
| 4230 | Sets the stretch \a factor of \a column. |
nothing calls this directly
no test coverage detected