BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The SampleToolBar class represents a main toolbar on top of SampleView window. More...
Public Slots | |
void | onMaterialEditorCall () |
void | onScaleComboChanged (const QString &) |
void | onViewSelectionMode (int) |
Signals | |
void | centerView () |
void | changeScale (double) |
void | deleteItems () |
void | selectionMode (int) |
void | smartAlign () |
Public Member Functions | |
SampleToolBar (SampleView *parent) | |
main tool bar on top of SampleView window More... | |
void | addSpacing (int width=2) |
Width of the spacing between buttons. More... | |
void | addStyledExpand () |
void | addStyledSeparator () |
Protected Member Functions | |
void | contextMenuEvent (QContextMenuEvent *) |
Private Attributes | |
QToolButton * | m_centerViewButton |
QToolButton * | m_materialEditorButton |
QButtonGroup * | m_pointerModeGroup |
QToolButton * | m_RealSpaceViewerButton |
QToolButton * | m_removeButton |
SampleView * | m_sampleView |
QComboBox * | m_scaleCombo |
The SampleToolBar class represents a main toolbar on top of SampleView window.
Definition at line 32 of file SampleToolBar.h.
|
explicit |
main tool bar on top of SampleView window
Definition at line 29 of file SampleToolBar.cpp.
References StyledToolBar::addStyledSeparator(), centerView(), deleteItems(), DesignerView::HAND_DRAG, m_centerViewButton, m_materialEditorButton, m_pointerModeGroup, m_RealSpaceViewerButton, m_removeButton, m_sampleView, m_scaleCombo, onMaterialEditorCall(), onScaleComboChanged(), DesignerView::RUBBER_SELECTION, selectionMode(), and SampleView::toggleRealSpaceView().
|
inherited |
Width of the spacing between buttons.
Definition at line 37 of file StyledToolBar.cpp.
Referenced by ItemComboToolBar::setActionList().
|
inherited |
|
inherited |
Definition at line 28 of file StyledToolBar.cpp.
Referenced by SampleToolBar().
|
signal |
Referenced by SampleToolBar(), and SampleView::connectSignals().
|
signal |
Referenced by SampleView::connectSignals(), and onScaleComboChanged().
|
protectedinherited |
Definition at line 51 of file StyledToolBar.cpp.
|
signal |
Referenced by SampleToolBar(), and SampleView::connectSignals().
|
slot |
Definition at line 141 of file SampleToolBar.cpp.
References MaterialItemUtils::selectMaterialProperty().
Referenced by SampleToolBar().
|
slot |
Definition at line 135 of file SampleToolBar.cpp.
References changeScale().
Referenced by SampleToolBar().
|
slot |
Definition at line 129 of file SampleToolBar.cpp.
References DesignerView::HAND_DRAG, m_pointerModeGroup, and DesignerView::RUBBER_SELECTION.
Referenced by SampleView::connectSignals().
|
signal |
Referenced by SampleToolBar(), and SampleView::connectSignals().
|
signal |
|
private |
Definition at line 53 of file SampleToolBar.h.
Referenced by SampleToolBar().
|
private |
Definition at line 55 of file SampleToolBar.h.
Referenced by SampleToolBar().
|
private |
Definition at line 51 of file SampleToolBar.h.
Referenced by SampleToolBar(), and onViewSelectionMode().
|
private |
Definition at line 56 of file SampleToolBar.h.
Referenced by SampleToolBar().
|
private |
Definition at line 52 of file SampleToolBar.h.
Referenced by SampleToolBar().
|
private |
Definition at line 57 of file SampleToolBar.h.
Referenced by SampleToolBar().
|
private |
Definition at line 54 of file SampleToolBar.h.
Referenced by SampleToolBar().