MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / hasElement

Method hasElement

qcustomplot/qcustomplot.cpp:4196–4202  ·  view source on GitHub ↗

! Returns whether the cell at \a row and \a column exists and contains a valid element, i.e. isn't empty. \see element */

Source from the content-addressed store, hash-verified

4194 \see element
4195*/
4196bool QCPLayoutGrid::hasElement(int row, int column)
4197{
4198 if (row >= 0 && row < rowCount() && column >= 0 && column < columnCount())
4199 return mElements.at(row).at(column);
4200 else
4201 return false;
4202}
4203
4204/*!
4205 Sets the stretch \a factor of \a column.

Callers

nothing calls this directly

Calls 3

rowCountFunction · 0.85
columnCountFunction · 0.85
atMethod · 0.80

Tested by

no test coverage detected