![]() |
Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
|
This is the class describing a TableWidget cell. More...
#include <cell_type.h>

Public Member Functions | |
| CellType ()=default | |
| Construct a new Cell Type object. | |
| ~CellType ()=default | |
| Destroy the Cell Type object. | |
| CellType (const std::string text, const uint32_t width, const uint32_t background_colour, const uint32_t foreground_colour, const uint32_t outline_colour, const uint32_t highlight_colour, const widget::CellAlignType alignment) | |
| Construct a new Cell Type object. | |
| CellType (const CellType &a) | |
| Construct a new Cell Type object. | |
| CellType & | operator= (const CellType &a) |
| Assignment operator. | |
| uint32_t | GetWidth () const |
| Get the Width object. | |
| std::string | GetText () const |
| Get the Text object. | |
| void | SetText (std::string_view text) |
| Set the Text attribute. | |
| uint32_t | GetForegroundColour () const |
| Get the Foreground Colour object. | |
| uint32_t | GetBackgroundColour () const |
| Get the Background Colour object. | |
| uint32_t | GetOutlineColour () const |
| Get the Outline Colour object. | |
| uint32_t | GetHighlightColour () const |
| Get the Highlight Colour object. | |
| widget::CellAlignType | GetCellAlignment () const |
| Get the Cell Alignment object. | |
This is the class describing a TableWidget cell.
| gva::CellType::CellType | ( | const std::string | text, |
| const uint32_t | width, | ||
| const uint32_t | background_colour, | ||
| const uint32_t | foreground_colour, | ||
| const uint32_t | outline_colour, | ||
| const uint32_t | highlight_colour, | ||
| const widget::CellAlignType | alignment | ||
| ) |
Construct a new Cell Type object.
| text | The text to display in the cell |
| width | The width of the cell |
| background_colour | The background colour of the cell |
| foreground_colour | The foreground colour of the cell |
| outline_colour | The outline colour of the cell |
| highlight_colour | The highlight colour of the cell |
| alignment | The alignment of the cell |
| gva::CellType::CellType | ( | const CellType & | a | ) |
Construct a new Cell Type object.
| a | The cell to copy |
| uint32_t gva::CellType::GetBackgroundColour | ( | ) | const |
Get the Background Colour object.
| widget::CellAlignType gva::CellType::GetCellAlignment | ( | ) | const |
Get the Cell Alignment object.
| uint32_t gva::CellType::GetForegroundColour | ( | ) | const |
Get the Foreground Colour object.
| uint32_t gva::CellType::GetHighlightColour | ( | ) | const |
Get the Highlight Colour object.
| uint32_t gva::CellType::GetOutlineColour | ( | ) | const |
Get the Outline Colour object.
| std::string gva::CellType::GetText | ( | ) | const |
Get the Text object.
| uint32_t gva::CellType::GetWidth | ( | ) | const |
Get the Width object.
| void gva::CellType::SetText | ( | std::string_view | text | ) |
Set the Text attribute.
| text |