|
BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines class LayerEditorUtils.
Definition in file LayerEditorUtils.h.
Go to the source code of this file.
Namespaces | |
| LayerEditorUtils | |
| Utility functions to support layer oriented sample editor. | |
Functions | |
| void | LayerEditorUtils::addMultiPropertyToGrid (QGridLayout *m_gridLayout, int firstCol, const DoubleDescriptors &valueDescriptors, function< void(double, DoubleDescriptor)> setNewValue, bool vertically, bool addSpacer) |
| Create DoubleSpinBoxes for the DoubeDescriptors and connect them to the given setNewValue() More... | |
| void | LayerEditorUtils::addMultiPropertyToGrid (QGridLayout *m_gridLayout, int firstCol, const DoubleDescriptors &valueDescriptors, SampleEditorController *ec, bool addSpacer) |
| void | LayerEditorUtils::addMultiPropertyToGrid (QGridLayout *m_gridLayout, int firstCol, const DoubleDescriptors &valueDescriptors, SampleEditorController *ec, bool vertically, bool addSpacer) |
| Create DoubleSpinBoxes for the DoubeDescriptors and connect them to SampleEditorController::setDouble() More... | |
| void | LayerEditorUtils::addVectorToGrid (QGridLayout *m_gridLayout, int firstCol, const VectorDescriptor &v, function< void(double, DoubleDescriptor)> setNewValue, bool vertically, bool addSpacer) |
| Create DoubleSpinBoxes for the DoubeDescriptors and connect them to the given setNewValue() More... | |
| void | LayerEditorUtils::addVectorToGrid (QGridLayout *m_gridLayout, int firstCol, const VectorDescriptor &v, SampleEditorController *ec, bool vertically, bool addSpacer) |
| Create DoubleSpinBoxes for the DoubeDescriptors and connect them to SampleEditorController::setDouble() More... | |
| QPushButton * | LayerEditorUtils::createAddParticleButton (QWidget *parentWidget, std::function< void(FormFactorItemCatalog::Type t)> slotAddFormFactor, std::function< void(ItemWithParticlesCatalog::Type t)> slotAddParticle) |
| QLabel * | LayerEditorUtils::createBoldLabel (const QString &text) |
| QWidget * | LayerEditorUtils::createWidgetForItemWithParticles (QWidget *parentWidget, ItemWithParticles *itemWithParticles, bool allowAbundance, SampleEditorController *ec, bool allowRemove=true) |
| DoubleDescriptors | LayerEditorUtils::doubleDescriptorsOfItem (FormFactorItem *item) |
| DoubleDescriptors | LayerEditorUtils::doubleDescriptorsOfItem (LayerBasicRoughnessItem *item) |
| DoubleDescriptors | LayerEditorUtils::doubleDescriptorsOfItem (Profile1DItem *item) |
| DoubleDescriptors | LayerEditorUtils::doubleDescriptorsOfItem (Profile2DItem *item) |
| DoubleDescriptors | LayerEditorUtils::doubleDescriptorsOfItem (RotationItem *item) |
| QList< QColor > | LayerEditorUtils::predefinedLayerColors () |
| void | LayerEditorUtils::updateLabelUnit (QLabel *label) |
| void | LayerEditorUtils::updateLabelUnit (QLabel *label, DoubleSpinBox *editor) |