Functions | |
| static GO2SEnum::GO2SError | GO2SDialogUtil::AddWidgetToTable (String tableName, String widgetName, Number row, Number col) |
| static void | GO2SDialogUtil::FillRowFromArray (String name, Array< String > data, Number indRow=-1) |
| static void | GO2SDialogUtil::FillTableFromArray (String name, Array< Array< String > > data, Boolean haveLabel=false) |
| static void | GO2SDialogUtil::FillTableFromCSV (String name, String path, QChar separator=';') |
| static Number | GO2SDialogUtil::GetColumnCount (String name) |
| static Number | GO2SDialogUtil::GetCurrentColumnIndex (String name) |
| static Number | GO2SDialogUtil::GetCurrentRowIndex (String name) |
| static Number | GO2SDialogUtil::GetRowCount (String name) |
| static Array< String > | GO2SDialogUtil::GetSelectedColumn (String name) |
| static Array< String > | GO2SDialogUtil::GetSelectedRow (String name) |
| static Array< String > | GO2SDialogUtil::GetTableColumn (String name, Number col) |
| static Array< String > | GO2SDialogUtil::GetTableColumnByName (String name, String col) |
| static Array< String > | GO2SDialogUtil::GetTableRow (String name, Number row) |
| static Array< String > | GO2SDialogUtil::GetTableRowByName (String row, String name) |
| static String | GO2SDialogUtil::GetTableValue (String name, Number row, Number col) |
| static Array< Array< String > > | GO2SDialogUtil::GetTableValues (String name) |
| static void | GO2SDialogUtil::RemoveColumn (String name, Number indCol) |
| static void | GO2SDialogUtil::RemoveRow (String name, Number indRow) |
| static void | GO2SDialogUtil::SetCellReadOnly (String name, Number row, Number col, Boolean readOnly=true) |
| static void | GO2SDialogUtil::SetColumnCount (String name, Number number) |
| static void | GO2SDialogUtil::SetColumnWidth (String name, Number col, Number size) |
| static void | GO2SDialogUtil::SetRowCount (String name, Number number) |
| static void | GO2SDialogUtil::SetTableColumnNames (String name, Array< String > value) |
| static void | GO2SDialogUtil::SetTableRowNames (String name, Array< String > value) |
| static void | GO2SDialogUtil::SetTableValue (String name, Number row, Number col, String value) |
Methods to manipulate QTableWidget
|
static |
Add a widget (button...etc.) to a table
| [in] | tableName | the name of the table |
| [in] | widgetName | the name of the widget |
| [in] | row | number of row |
| [in] | col | number of column |
|
static |
Fill a specific row of a table from an array
| [in] | name | the name of the table |
| [in] | data | the data to add to the table |
| [in] | indRow | the index of the row to fill. If -1, the last raw is used |
|
static |
Fill the table from a Number vector (2 dim array rows and columns)
| [in] | name | the name of the table |
| [in] | data | the data to add to the table |
| [in] | haveLabel | true if the first row is a labels false if is data |
|
static |
Fill the table from a CSV file
| [in] | name | the name of the table |
| [in] | path | the path of the .csv |
| [in] | separator | the separator used in the .csv |
|
static |
Get the number of column of the table
| [in] | name | name of the table |
|
static |
Get current column position in table
| [in] | name | name of the table |
|
static |
Get current row position in table
| [in] | name | name of the table |
|
static |
Get the number of row of the table
| [in] | name | name of the table |
|
static |
Get the selected Column of a table
| [in] | name | the name of the input that contain the data |
|
static |
Get the selected row of a table
| [in] | name | the name of the input that contain the data |
|
static |
Get a column from a table by his index
| [in] | name | the name of the input that contain the data |
| [in] | col | index of the column |
|
static |
Get a col from a table by his index
| [in] | name | the name of the input that contain the data |
| [in] | col | header name of the column |
|
static |
Get a row from a table by his index
| [in] | name | the name of the input that contain the data |
| [in] | row | index of the column |
|
static |
Get a row from a table by his name
| [in] | row | header name of the row |
| [in] | name | the name of the input that contain the data |
|
static |
Get a specific item from a table
| [in] | name | the name of the table that contain the data |
| [in] | row | index of the row |
| [in] | col | index of the column |
|
static |
Get all the value from the table
| [in] | name | the name of the input that contain the data |
|
static |
Remove a colomun from a table
| [in] | name | the name of the table |
| [in] | indCol | index of the colomun to remove |
|
static |
Remove a row from a table
| [in] | name | the name of the table |
| [in] | indRow | index of the row to remove |
|
static |
Set a cell in read only mode
| [in] | name | the name of the table |
| [in] | row | index of the row |
| [in] | col | index of the column |
| [in] | readOnly | if true, set the cell read only |
|
static |
Set the number of column of the table
| [in] | name | name of the table |
| [in] | number | number of column |
|
static |
Set the column size of the table
| [in] | name | name of the table |
| [in] | col | index of the column |
| [in] | size | width of column |
|
static |
Set the number of row of the table
| [in] | name | name of the table |
| [in] | number | number of row |
|
static |
Set all column name of the table
| [in] | name | the name of the table that contain the data |
| [in] | value | value to set in the cell |
|
static |
Set all row name of the table
| [in] | name | the name of the table that contain the data |
| [in] | value | value to set in the cell |
|
static |
Set a cell of the table
| [in] | name | the name of the table that contain the data |
| [in] | row | index of the row |
| [in] | col | index of the column |
| [in] | value | value to set in the cell |