| 4918 | } |
| 4919 | |
| 4920 | void BufferViewer::ApplyRowAndColumnDims(int numColumns, RDTableView *view, int dataColWidth) |
| 4921 | { |
| 4922 | int start = 0; |
| 4923 | |
| 4924 | QList<int> widths; |
| 4925 | |
| 4926 | // vertex/element |
| 4927 | widths << m_IdxColWidth; |
| 4928 | |
| 4929 | // mesh view only - index |
| 4930 | if(m_MeshView) |
| 4931 | widths << m_IdxColWidth; |
| 4932 | |
| 4933 | for(int i = start; i < numColumns; i++) |
| 4934 | widths << dataColWidth; |
| 4935 | |
| 4936 | view->verticalHeader()->setDefaultSectionSize(m_DataRowHeight); |
| 4937 | |
| 4938 | view->setColumnWidths(widths); |
| 4939 | } |
| 4940 | |
| 4941 | void BufferViewer::UpdateCurrentMeshConfig() |
| 4942 | { |
nothing calls this directly
no test coverage detected