11 #include <QTreeWidget>
A better QTreeWidget for TOPPView, which supports header context menu and conveniently adding/getting...
Definition: TreeView.h:22
void setHeaders(const QStringList &headers)
sets the visible headers (and the number of columns)
void headerContextMenu_(const QPoint &pos)
Display header context menu; allows to show/hide columns.
~TreeView() override=default
Destructor.
QStringList getHeaderNames(const WidgetHeader which) const
Obtain header names, either from all, or only the visible columns.
void hideColumns(const QStringList &header_names)
TreeView(QWidget *parent=nullptr)
Constructor.
QString getHeaderName(const int header_column) const
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
WidgetHeader
Enum to decide which headers(=column) names should be get/set in a table/tree widget.
Definition: CommonDefs.h:27