OGS
FemConditionModel.h
Go to the documentation of this file.
1
11#pragma once
12
15
21{
22 Q_OBJECT
23
24public:
25 explicit FemConditionModel(QObject* parent = nullptr);
26
28 const QModelIndex& /*parent*/ = QModelIndex()) const override
29 {
30 return 2;
31 }
32
33public slots:
35 void clearView();
36
39
42};
Definition of the TreeModel class.
Base class for boundary conditions, initial conditions and source terms.
A model for the display of information from boundary conditions and source terms.
int columnCount(const QModelIndex &=QModelIndex()) const override
FemConditionModel(QObject *parent=nullptr)
void setFemCondition(DataHolderLib::FemCondition *cond)
Displays information on a boundary condition or source term.
void clearView()
Clears the tree.
void setProcessVariable(DataHolderLib::FemCondition *cond)
Displays information on a process variable.
A hierarchical model for a tree implemented as a double-linked list.
Definition TreeModel.h:30
QModelIndex parent(const QModelIndex &index) const override
Definition TreeModel.cpp:81