![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
This is the class describing a TableWidget row. More...
#include <row_type.h>
Public Member Functions | |
RowType ()=default | |
Construct a new Row Type object. | |
~RowType ()=default | |
Destroy the Row Type object. | |
RowType (const uint32_t background_colour, const uint32_t foreground_colour, const uint32_t outline_colour, const uint32_t highlight_colour, const widget::WeightType font_weight, const bool highlighted, const widget::CellAlignType alignment) | |
Construct a new Row Type object. | |
RowType (const RowType &a) | |
Construct a new Row Type object. | |
RowType & | operator= (const RowType &a) |
Assignment operator. | |
bool | operator< (const RowType &a) const |
Sorting is based on priority then time. | |
bool | operator> (const RowType &a) const |
Sorting is based on priority then time. | |
uint32_t | GetForegroundColour () const |
Get the Foreground Colour. | |
uint32_t | GetBackgroundColour () const |
Get the Background Colour. | |
uint32_t | GetOutlineColour () const |
Get the Outline Colour. | |
uint32_t | GetHighlightColour () const |
Get the Highlight Colour. | |
widget::WeightType | GetFontWeight () const |
Get the Font Weight object. | |
bool | GetHighlighted () const |
Get the Highlighted object. | |
void | SetHighlighted (bool value) |
Set the Highlighted flag. | |
widget::CellAlignType | GetCellAlignment () const |
Get the Cell Alignment object. | |
std::vector< CellType > * | GetCells () |
Get a reference to the Cells vector for this row. | |
This is the class describing a TableWidget row.
gva::RowType::RowType | ( | const uint32_t | background_colour, |
const uint32_t | foreground_colour, | ||
const uint32_t | outline_colour, | ||
const uint32_t | highlight_colour, | ||
const widget::WeightType | font_weight, | ||
const bool | highlighted, | ||
const widget::CellAlignType | alignment | ||
) |
Construct a new Row Type object.
background_colour | The background colour of the row |
foreground_colour | The foreground colour of the row |
outline_colour | The outline colour of the row |
highlight_colour | The highlight colour of the row |
font_weight | The font weight of the row |
highlighted | The highlighted flag |
alignment | The alignment of the row |
gva::RowType::RowType | ( | const RowType & | a | ) |
Construct a new Row Type object.
a | The row to copy |
uint32_t gva::RowType::GetBackgroundColour | ( | ) | const |
Get the Background Colour.
widget::CellAlignType gva::RowType::GetCellAlignment | ( | ) | const |
Get the Cell Alignment object.
|
inline |
Get a reference to the Cells vector for this row.
widget::WeightType gva::RowType::GetFontWeight | ( | ) | const |
Get the Font Weight object.
uint32_t gva::RowType::GetForegroundColour | ( | ) | const |
Get the Foreground Colour.
uint32_t gva::RowType::GetHighlightColour | ( | ) | const |
Get the Highlight Colour.
bool gva::RowType::GetHighlighted | ( | ) | const |
Get the Highlighted object.
uint32_t gva::RowType::GetOutlineColour | ( | ) | const |
Get the Outline Colour.
bool gva::RowType::operator> | ( | const RowType & | a | ) | const |
Sorting is based on priority then time.
a | The row to compare |
void gva::RowType::SetHighlighted | ( | bool | value | ) |
Set the Highlighted flag.
value | The value to set |