BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Additional action for ComponentTreeView. More...
Public Slots | |
void | onCustomContextMenuRequested (const QPoint &point, SessionItem &item) |
Creates right-mouse-click context menu on top of ComponentTreeView which will allow user to switch between scientific notation and the notation with a specified number of decimals. More... | |
Public Member Functions | |
ComponentTreeActions (QObject *parent=nullptr) | |
Additional action for ComponentTreeView.
Definition at line 24 of file ComponentTreeActions.h.
ComponentTreeActions::ComponentTreeActions | ( | QObject * | parent = nullptr | ) |
Definition at line 20 of file ComponentTreeActions.cpp.
|
slot |
Creates right-mouse-click context menu on top of ComponentTreeView which will allow user to switch between scientific notation and the notation with a specified number of decimals.
Definition at line 26 of file ComponentTreeActions.cpp.
References SessionItem::decimals(), SessionItem::editorType(), SessionItem::setDecimals(), and SessionItem::setEditorType().
Referenced by ComponentTreeView::onCustomContextMenuRequested().