BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Form for editing a particle.
Definition at line 25 of file ParticleForm.h.
Public Member Functions | |
ParticleForm (QWidget *parent, ParticleItem *item, bool allowAbundance, SampleEditorController *ec, bool allowRemove=true) | |
void | enableStructureEditing (bool b) |
Private Attributes | |
QAction * | m_removeAction = nullptr |
ParticleForm::ParticleForm | ( | QWidget * | parent, |
ParticleItem * | item, | ||
bool | allowAbundance, | ||
SampleEditorController * | ec, | ||
bool | allowRemove = true |
||
) |
Definition at line 26 of file ParticleForm.cpp.
References ItemWithParticles::abundance(), FormLayouter::addGroupOfValues(), FormLayouter::addRow(), FormLayouter::addSelection(), FormLayouter::addValue(), FormLayouter::addVector(), ActionFactory::createRemoveAction(), ActionFactory::createShowInRealSpaceAction(), ParticleItem::formfactor_at_bottom(), FormFactorItem::geometryValues(), GroupBoxCollapser::installIntoGroupBox(), m_removeAction, FormFactorItemCatalog::menuEntry(), ItemWithParticles::positionVector(), SampleEditorController::removeParticle(), SampleEditorController::requestViewInRealSpace(), and ItemWithParticles::rotation().
void ParticleForm::enableStructureEditing | ( | bool | b | ) |
Definition at line 55 of file ParticleForm.cpp.
References m_removeAction.
|
private |
Definition at line 33 of file ParticleForm.h.
Referenced by ParticleForm(), and enableStructureEditing().