MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getHeaderNames

Method getHeaderNames

src/openms_gui/source/VISUAL/TreeView.cpp:85–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 QStringList TreeView::getHeaderNames(const WidgetHeader which) const
86 {
87 QStringList header_labels;
88 for (int i = 0; i != columnCount(); ++i)
89 {
90 // do not export hidden columns
91 if (which == WidgetHeader::VISIBLE_ONLY && isColumnHidden(i))
92 {
93 continue;
94 }
95 header_labels << getHeaderName(i);
96 }
97 return header_labels;
98 }
99
100 /// get the displayed name of the header in column with index @p header_column
101 /// @throws Exception::ElementNotFound if header at index @p header_column is not valid

Callers 2

populateSearchBox_Method · 0.45
populateSearchBox_Method · 0.45

Calls

no outgoing calls

Tested by 1

populateSearchBox_Method · 0.36