Cell :: Cell - Constructor
In order to describe single data items in a list (table or tree), Cells can be created for a list item ( Line ).
Implementation overview
- Create subcell
Cell :: Cell ( cCell, sResource ) - Create copy
Cell :: Cell ( cCell ) - Create empty cell
Cell :: Cell (  ) - Create cell for column
Cell :: Cell ( cLine, sName ) - Create cell at position
Cell :: Cell ( cLine, iPosition )
Implementation details
-
Create subcell
Cell  :: Cell ( odabagui::Cell &cCell, odaba::String &sResource )
The constructor creates a sub cell for the cell passed in cCell with the name passed in sName . Sub cells can be created for complex columns, which consist of several sub cells.
- cCell - Constant reference to cell
- sResource
- Name of resoure
"ok_button" // button in the current window
"address.street" // line edit in the address subwindow
".name" // line edit in the upper control (window)
to list
-
Create copy
Cell  :: Cell ( odabagui::Cell &cCell )
The function creates a copy from the cell passed in cCell .
- cCell - Constant reference to cell
to list
-
Create empty cell
Cell  :: Cell (  )
The function creates an empty (invalid) cell object.
to list
-
Create cell for column
Cell  :: Cell ( odabagui::Line &cLine, odaba::String &sName )
The function creates a cell for the column sName in the line passed in c Line .
- cLine
- Constant line
The line passed may have any state, i.e. it night be attached to a list item or not. The line might even be empty.
- sName
- Resource or entity name
The name refers to a design or GUI resource.
to list
- cLine
- Constant line
-
Create cell at position
Cell  :: Cell ( odabagui::Line &cLine, int32 iPosition )
The constructor creates a cell for the column at position passed in iPosition in the line passed in c Line .
- cLine
- Constant line
The line passed may have any state, i.e. it night be attached to a list item or not. The line might even be empty.
- iPosition
- Position in collection
The position of an entry in a collection or list is the number of the entry in the collection beginning with 0 for the first entry.
to list
- cLine
- Constant line