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

Method closeTab

src/3rdparty/Qt-Advanced-Docking-System/src/DockAreaTabBar.cpp:423–436  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

421
422//===========================================================================
423void CDockAreaTabBar::closeTab(int Index)
424{
425 if (Index < 0 || Index >= count())
426 {
427 return;
428 }
429
430 auto Tab = tab(Index);
431 if (Tab->isHidden())
432 {
433 return;
434 }
435 Q_EMIT tabCloseRequested(Index);
436}
437
438
439//===========================================================================

Callers 1

onCloseButtonClickedMethod · 0.80

Calls 1

isHiddenMethod · 0.45

Tested by

no test coverage detected