------------------------------------------------------------------------------
| 116 | |
| 117 | //------------------------------------------------------------------------------ |
| 118 | void vtkQtTreeView::SetUseColumnView(int state) |
| 119 | { |
| 120 | if (state) |
| 121 | { |
| 122 | this->ColumnView->show(); |
| 123 | this->TreeView->hide(); |
| 124 | this->View = qobject_cast<QAbstractItemView*>(this->ColumnView); |
| 125 | } |
| 126 | else |
| 127 | { |
| 128 | this->ColumnView->hide(); |
| 129 | this->TreeView->show(); |
| 130 | this->View = qobject_cast<QAbstractItemView*>(this->TreeView); |
| 131 | } |
| 132 | |
| 133 | // Probably a good idea to make sure the container widget is refreshed |
| 134 | this->Widget->update(); |
| 135 | } |
| 136 | |
| 137 | //------------------------------------------------------------------------------ |
| 138 | QWidget* vtkQtTreeView::GetWidget() |
no test coverage detected