OGS
|
A view for FEM-Conditions (Initial- & Boundary Conditions / Source Terms) with a number of additional information such as Process Type, Distribution, etc.
Definition at line 28 of file ProcessView.h.
#include <ProcessView.h>
Signals | |
void | itemSelectionChanged (QItemSelection const &selected, QItemSelection const &deselected) |
void | conditionRemoved (QString const &, QString const &) |
void | processVarRemoved (QString const &) |
void | clearConditionView () |
void | processVarSelected (DataHolderLib::FemCondition *cond) |
void | conditionSelected (DataHolderLib::FemCondition *cond) |
Public Member Functions | |
ProcessView (QWidget *parent=nullptr) | |
Constructor. | |
void | updateView () |
Update the view to visualise changes made to the underlying data. | |
Protected Slots | |
void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
Instructions if the selection of items in the view has changed. | |
Private Slots | |
void | on_Clicked (QModelIndex idx) |
void | removeCondition () |
void | removeProcessVar () |
Private Member Functions | |
void | contextMenuEvent (QContextMenuEvent *e) override |
bool | isProcessVarItem (const QModelIndex &idx) const |
bool | isConditionItem (const QModelIndex &idx) const |
|
explicit |
|
signal |
Referenced by removeCondition(), removeProcessVar(), and selectionChanged().
|
signal |
Referenced by removeCondition().
|
signal |
Referenced by selectionChanged().
|
overrideprivate |
Actions to be taken after a right mouse click is performed in the station view.
Definition at line 70 of file ProcessView.cpp.
References isConditionItem(), isProcessVarItem(), removeCondition(), and removeProcessVar().
|
private |
Definition at line 157 of file ProcessView.cpp.
Referenced by contextMenuEvent().
|
private |
Definition at line 150 of file ProcessView.cpp.
Referenced by contextMenuEvent().
|
signal |
Referenced by selectionChanged().
|
privateslot |
Definition at line 32 of file ProcessView.cpp.
|
signal |
Referenced by removeProcessVar().
|
signal |
Referenced by selectionChanged().
|
privateslot |
Definition at line 100 of file ProcessView.cpp.
References clearConditionView(), conditionRemoved(), CondItem::getCondition(), CondItem::getName(), and DataHolderLib::FemCondition::getProcessVarName().
Referenced by contextMenuEvent().
|
privateslot |
Definition at line 114 of file ProcessView.cpp.
References clearConditionView(), ProcessVarItem::getName(), and processVarRemoved().
Referenced by contextMenuEvent().
|
overrideprotectedslot |
Instructions if the selection of items in the view has changed.
Definition at line 37 of file ProcessView.cpp.
References clearConditionView(), conditionSelected(), CondItem::getCondition(), itemSelectionChanged(), and processVarSelected().
void ProcessView::updateView | ( | ) |
Update the view to visualise changes made to the underlying data.
Definition at line 24 of file ProcessView.cpp.