MCPcopy Create free account
hub / github.com/KDE/labplot / activeSheet

Method activeSheet

src/3rdparty/QXlsx/source/xlsxworkbook.cpp:274–280  ·  view source on GitHub ↗

! * Returns current active worksheet. */

Source from the content-addressed store, hash-verified

272 * Returns current active worksheet.
273 */
274AbstractSheet *Workbook::activeSheet() const
275{
276 Q_D(const Workbook);
277 if (d->sheets.isEmpty())
278 const_cast<Workbook*>(this)->addSheet();
279 return d->sheets[d->activesheetIndex].data();
280}
281
282bool Workbook::setActiveSheet(int index)
283{

Callers 1

currentSheetMethod · 0.80

Calls 3

isEmptyMethod · 0.45
addSheetMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected