13#ifndef HMICORE_WIDGETS_TABLE_ROW_TYPE_H_
14#define HMICORE_WIDGETS_TABLE_ROW_TYPE_H_
53 RowType(
const uint32_t background_colour,
const uint32_t foreground_colour,
const uint32_t outline_colour,
54 const uint32_t highlight_colour,
const widget::WeightType font_weight,
const bool highlighted,
149 std::vector<CellType> *
GetCells() {
return &cells_; }
153 std::vector<CellType> cells_;
155 uint32_t background_colour_ = 0;
157 uint32_t foreground_colour_ = 0;
159 uint32_t outline_colour_ = 0;
161 uint32_t highlight_colour_ = 0;
This is the class describing a TableWidget row.
Definition row_type.h:28
RowType()=default
Construct a new Row Type object.
bool operator<(const RowType &a) const
Sorting is based on priority then time.
Definition row_type.cc:59
RowType & operator=(const RowType &a)
Assignment operator.
Definition row_type.cc:44
uint32_t GetHighlightColour() const
Get the Highlight Colour.
Definition row_type.cc:83
bool operator>(const RowType &a) const
Sorting is based on priority then time.
Definition row_type.cc:68
bool GetHighlighted() const
Get the Highlighted object.
Definition row_type.cc:87
uint32_t GetForegroundColour() const
Get the Foreground Colour.
Definition row_type.cc:77
~RowType()=default
Destroy the Row Type object.
uint32_t GetOutlineColour() const
Get the Outline Colour.
Definition row_type.cc:81
std::vector< CellType > * GetCells()
Get a reference to the Cells vector for this row.
Definition row_type.h:149
widget::CellAlignType GetCellAlignment() const
Get the Cell Alignment object.
Definition row_type.cc:91
uint32_t GetBackgroundColour() const
Get the Background Colour.
Definition row_type.cc:79
void SetHighlighted(bool value)
Set the Highlighted flag.
Definition row_type.cc:89
widget::WeightType GetFontWeight() const
Get the Font Weight object.
Definition row_type.cc:85