|
KanoopGuiQt 1.3.0
Qt GUI utility library
|
|
An int-keyed map of TableHeader objects with bulk-operation helpers. More...
#include <tableheader.h>
Inheritance diagram for TableHeader::IntMap:
Collaboration diagram for TableHeader::IntMap:Public Member Functions | |
| List | toSortedList () const |
| Return all headers as a list sorted by key (column index). | |
| void | setTextColorForType (int type, const QColor &color) |
| Set the text colour for the header with the given type. | |
| void | setHeaderVisible (int type, bool visible) |
| Set visibility for the header with the given type. | |
| void | setEntityMetadataForType (int type, const EntityMetadata &metadata) |
| Attach EntityMetadata to the header with the given type. | |
An int-keyed map of TableHeader objects with bulk-operation helpers.
Definition at line 180 of file tableheader.h.
|
inline |
Attach EntityMetadata to the header with the given type.
| type | Header type to find |
| metadata | Metadata to associate |
Definition at line 230 of file tableheader.h.
References TableHeader::setEntityMetadata(), and TableHeader::type().
|
inline |
Set visibility for the header with the given type.
| type | Header type to find |
| visible | true to show, false to hide |
Definition at line 217 of file tableheader.h.
References TableHeader::type().
|
inline |
Set the text colour for the header with the given type.
| type | Header type to find |
| color | New text colour |
Definition at line 203 of file tableheader.h.
References TableHeader::setColumnTextColor(), and TableHeader::type().
|
inline |
Return all headers as a list sorted by key (column index).
Definition at line 187 of file tableheader.h.