![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Data table. More...
Public Member Functions | |
| Tab (int _maxBlockPerRow=2) | |
| Default constructor. More... | |
| void | setMaxBlockPerRow (int maxBlock) |
| Sets the maximum number of blocks per row. More... | |
| int | add2x3Block () |
| Adds a 2x3 block (must be filled!) More... | |
| int | updateColumnsWidthTable (const QFontMetrics &fm) |
| Updates columns width table. More... | |
Public Attributes | |
| int | maxBlockPerRow |
| Maximum number of blocks per row. More... | |
| int | blockCount |
| Number of 2x3 blocks. More... | |
| int | rowCount |
| Number of rows. More... | |
| int | colCount |
| Number of columns. More... | |
| std::vector< int > | colWidth |
| Columns width. More... | |
| std::vector< QStringList > | colContent |
| Columns content. More... | |
Data table.
|
inline |
Default constructor.
|
inline |
Adds a 2x3 block (must be filled!)
References blockCount, colContent, colCount, colWidth, maxBlockPerRow, and rowCount.
Referenced by cc2DLabel::drawMeOnly2D().
|
inline |
Sets the maximum number of blocks per row.
References maxBlockPerRow.
Referenced by cc2DLabel::drawMeOnly2D().
|
inline |
Updates columns width table.
References colContent, colCount, and colWidth.
Referenced by cc2DLabel::drawMeOnly2D().
| int Tab::blockCount |
Number of 2x3 blocks.
Referenced by add2x3Block().
| std::vector<QStringList> Tab::colContent |
Columns content.
Referenced by add2x3Block(), cc2DLabel::drawMeOnly2D(), and updateColumnsWidthTable().
| int Tab::colCount |
Number of columns.
Referenced by add2x3Block(), cc2DLabel::drawMeOnly2D(), and updateColumnsWidthTable().
| std::vector<int> Tab::colWidth |
Columns width.
Referenced by add2x3Block(), cc2DLabel::drawMeOnly2D(), and updateColumnsWidthTable().
| int Tab::maxBlockPerRow |
Maximum number of blocks per row.
Referenced by add2x3Block(), and setMaxBlockPerRow().
| int Tab::rowCount |
Number of rows.
Referenced by add2x3Block(), and cc2DLabel::drawMeOnly2D().