libyui-mga
1.0.7
|
Public Member Functions | |
YCBTableItem () | |
Default constructor. More... | |
YCBTableItem (const std::string &label_0, const std::string &label_1=std::string(), const std::string &label_2=std::string(), const std::string &label_3=std::string(), const std::string &label_4=std::string(), const std::string &label_5=std::string(), const std::string &label_6=std::string(), const std::string &label_7=std::string(), const std::string &label_8=std::string(), const std::string &label_9=std::string()) | |
Convenience constructor for table items without any icons. More... | |
virtual | ~YCBTableItem () |
Destructor. | |
void | check (bool val=true) |
bool | checked () |
Definition at line 43 of file YMGA_CBTable.h.
|
inline |
Default constructor.
Use addCell() to give it any content.
Definition at line 49 of file YMGA_CBTable.h.
|
inline |
Convenience constructor for table items without any icons.
This will create up to 10 (0..9) cells. Empty cells for empty labels at the end of the labels are not created, but empty cells in between are.
new YCBTableItem( "one", "two", "", "", "five" );
will create an item with 5 cells:
cell[0] ==> "one" cell[1] ==> "two" cell[2] ==> "" cell[3] ==> "" cell[4] ==> "five"
Definition at line 67 of file YMGA_CBTable.h.