Multi diag tools
|
Stores formats for certain column in a item model. More...
#include <ColumnFormatMap.h>
Public Member Functions | |
template<typename T > | |
void | setFormatForColumn (int column, const T &format) |
Set format for given column. More... | |
void | clearFormatForColumn (int column) |
Clear format for given column. More... | |
QVariant | formatForColumn (int column) const |
Get format for given column. More... | |
Stores formats for certain column in a item model.
Definition at line 33 of file ColumnFormatMap.h.
void Mdt::ItemModel::ColumnFormatMap::clearFormatForColumn | ( | int | column | ) |
Clear format for given column.
Does nothing if no format was set for column .
Definition at line 25 of file ColumnFormatMap.cpp.
|
inline |
Get format for given column.
Returns a QVariant with value of type passed in setFormatForColumn() if a format was set for column, otherwise a null QVariant.
Definition at line 64 of file ColumnFormatMap.h.
|
inline |
Set format for given column.
Definition at line 42 of file ColumnFormatMap.h.