| 163 | } |
| 164 | |
| 165 | void BarPlotDock::setModel() { |
| 166 | auto* model = aspectModel(); |
| 167 | model->enablePlottableColumnsOnly(true); |
| 168 | model->enableShowPlotDesignation(true); |
| 169 | model->setSelectableAspects({AspectType::Column}); |
| 170 | cbXColumn->setTopLevelClasses(TreeViewComboBox::plotColumnTopLevelClasses()); |
| 171 | cbXColumn->setModel(model); |
| 172 | errorBarWidget->setModel(model); |
| 173 | } |
| 174 | |
| 175 | void BarPlotDock::loadDataColumns() { |
| 176 | // add the combobox for the first column, is always present |
no test coverage detected