27 static std::string
toString(TableHeaderMode _headerMode);
28 static TableHeaderMode stringToHeaderMode(
const std::string& _headerMode);
30 TableCfg(
int _rows = 0,
int _columns = 0,
WidgetViewBase _baseInfo =
WidgetViewBase(WidgetViewBase::ViewTable, WidgetViewBase::ViewIsCentral | WidgetViewBase::ViewIsCloseable));
49 GenericDataStructMatrix createMatrix(
void)
const;
58 const std::vector<std::vector<std::string>>&
getRows(
void)
const {
return m_data; };
59 const std::vector<std::string>& getRow(
int _row)
const;
61 void setCellText(
int _row,
int _column,
const std::string& _text);
62 const std::string& getCellText(
int _row,
int _column)
const;
64 void setRowHeader(
int _row,
const std::string& _headerText);
68 void setColumnHeader(
int _column,
const std::string& _headerText);
73 void initialize(
void);
74 void initialize(
int _rows,
int _columns);
79 std::vector<TableHeaderItemCfg*> m_rowHeader;
80 std::vector<TableHeaderItemCfg*> m_columnHeader;
81 std::vector<std::vector<std::string>> m_data;