13#ifndef HMICORE_WIDGETS_TABLE_CELL_TYPE_H_
14#define HMICORE_WIDGETS_TABLE_CELL_TYPE_H_
52 CellType(
const std::string text,
const uint32_t width,
const uint32_t background_colour,
53 const uint32_t foreground_colour,
const uint32_t outline_colour,
const uint32_t highlight_colour,
90 void SetText(std::string_view text);
131 std::string text_ =
"";
133 uint32_t background_colour_ = 0;
135 uint32_t foreground_colour_ = 0;
137 uint32_t outline_colour_ = 0;
139 uint32_t highlight_colour_ = 0;
This is the class describing a TableWidget cell.
Definition cell_type.h:27
uint32_t GetWidth() const
Get the Width object.
Definition cell_type.cc:55
std::string GetText() const
Get the Text object.
Definition cell_type.cc:57
uint32_t GetBackgroundColour() const
Get the Background Colour object.
Definition cell_type.cc:63
widget::CellAlignType GetCellAlignment() const
Get the Cell Alignment object.
Definition cell_type.cc:69
CellType()=default
Construct a new Cell Type object.
void SetText(std::string_view text)
Set the Text attribute.
Definition cell_type.cc:59
~CellType()=default
Destroy the Cell Type object.
uint32_t GetForegroundColour() const
Get the Foreground Colour object.
Definition cell_type.cc:61
CellType & operator=(const CellType &a)
Assignment operator.
Definition cell_type.cc:44
uint32_t GetHighlightColour() const
Get the Highlight Colour object.
Definition cell_type.cc:67
uint32_t GetOutlineColour() const
Get the Outline Colour object.
Definition cell_type.cc:65