A TreeView to display information of FEM conditions.
Definition at line 21 of file FemConditionView.h.
#include <FemConditionView.h>
|
void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
| Is called when the selection of this view changes.
|
|
◆ FemConditionView()
FemConditionView::FemConditionView |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ selectionChanged
void FemConditionView::selectionChanged |
( |
const QItemSelection & | selected, |
|
|
const QItemSelection & | deselected ) |
|
overrideprotectedslot |
Is called when the selection of this view changes.
Definition at line 34 of file FemConditionView.cpp.
36{
37 Q_UNUSED(selected);
38 Q_UNUSED(deselected);
39}
◆ updateView
void FemConditionView::updateView |
( |
| ) |
|
|
slot |
Definition at line 21 of file FemConditionView.cpp.
22{
23 setAlternatingRowColors(true);
24 setColumnWidth(0, 200);
25 std::size_t nColumns =
26 (this->model() != nullptr) ? this->model()->columnCount() : 0;
27 for (std::size_t i = 1; i < nColumns; i++)
28 {
29 resizeColumnToContents(i);
30 }
31 this->expandAll();
32}
The documentation for this class was generated from the following files: