casa
$Rev:20696$
|
Widget for viewing record data. More...
#include <TBViewArray.qo.h>
Public Member Functions | |
TBViewRecord (TBTableTabs *tt, TBDataRecord *r, String first, String second="") | |
Constructor which takes the table parent, the record to display, and the "indices" to display in the label. | |
~TBViewRecord () | |
Private Member Functions | |
void | fill (QTableWidget &table, Record &r, String first, String second) |
Fills the given table with the given parameters. | |
Private Attributes | |
TBTableTabs * | tt |
Table parent. | |
Record & | record |
Displayed record. |
Widget for viewing record data.
A TBViewRecord displays data in a TBDataRecord format, which uses an underlying Record object. The record is displayed in a table, and the values can also be another table (for arrays or sub-records).
Definition at line 271 of file TBViewArray.qo.h.
casa::TBViewRecord::TBViewRecord | ( | TBTableTabs * | tt, |
TBDataRecord * | r, | ||
String | first, | ||
String | second = "" |
||
) |
Constructor which takes the table parent, the record to display, and the "indices" to display in the label.
void casa::TBViewRecord::fill | ( | QTableWidget & | table, |
Record & | r, | ||
String | first, | ||
String | second | ||
) | [private] |
Fills the given table with the given parameters.
Record& casa::TBViewRecord::record [private] |
Displayed record.
Definition at line 287 of file TBViewArray.qo.h.
TBTableTabs* casa::TBViewRecord::tt [private] |
Table parent.
Definition at line 284 of file TBViewArray.qo.h.