KanoopGuiQt 1.3.0
Qt GUI utility library
Loading...
Searching...
No Matches
TableHeader::List Class Reference

A list of TableHeader objects with name and type search helpers. More...

#include <tableheader.h>

+ Inheritance diagram for TableHeader::List:
+ Collaboration diagram for TableHeader::List:

Public Member Functions

void setHeaderVisible (int type, bool visible)
 Set visibility for the header with the given type.
 
TableHeader findByName (const QString &text) const
 Find the first header with a matching display text.
 

Detailed Description

A list of TableHeader objects with name and type search helpers.

Definition at line 145 of file tableheader.h.

Member Function Documentation

◆ findByName()

TableHeader TableHeader::List::findByName ( const QString &  text) const
inline

Find the first header with a matching display text.

Parameters
textHeader label to search for
Returns
Matching TableHeader, or an invalid one if not found

Definition at line 166 of file tableheader.h.

References TableHeader::text().

◆ setHeaderVisible()

void TableHeader::List::setHeaderVisible ( int  type,
bool  visible 
)
inline

Set visibility for the header with the given type.

Parameters
typeHeader type to find
visibletrue to show, false to hide

Definition at line 153 of file tableheader.h.

References TableHeader::type().


The documentation for this class was generated from the following file: