Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenMS/OpenMS
/ tabAt_
Method
tabAt_
src/openms_gui/source/VISUAL/EnhancedTabBar.cpp:134–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
132
}
133
134
int EnhancedTabBar::tabAt_(const QPoint & pos)
135
{
136
for (int i = 0; i < this->count(); ++i)
137
{
138
if (tabRect(i).contains(pos))
139
{
140
return i;
141
}
142
}
143
return -1;
144
}
145
146
} //namespace OpenMS
Callers
nothing calls this directly
Calls
2
count
Method · 0.80
contains
Method · 0.45
Tested by
no test coverage detected