Mantid
|
A custom group box for a 3D point. More...
#include <SampleShapeHelpers.h>
Public Member Functions | |
PointGroupBox (QWidget *parent=nullptr) | |
QString | write3DElement (const QString &elem_name) const |
Write the element tag for a 3D point. More... | |
Private Slots | |
void | changeToCartesian () |
void | changeToSpherical () |
Private Attributes | |
QRadioButton * | m_cartesian |
int | m_icoord |
QLineEdit * | m_midx |
QLineEdit * | m_midy |
QLineEdit * | m_midz |
QRadioButton * | m_spherical |
QLabel * | m_xlabel |
QComboBox * | m_xunits |
QLabel * | m_ylabel |
QComboBox * | m_yunits |
QLabel * | m_zlabel |
QComboBox * | m_zunits |
A custom group box for a 3D point.
Definition at line 38 of file SampleShapeHelpers.h.
PointGroupBox::PointGroupBox | ( | QWidget * | parent = nullptr | ) |
Definition at line 23 of file SampleShapeHelpers.cpp.
References changeToCartesian(), changeToSpherical(), MantidQt::CustomDialogs::ShapeDetails::createLengthUnitsCombo(), m_cartesian, m_midx, m_midy, m_midz, m_spherical, m_xlabel, m_xunits, m_ylabel, m_yunits, m_zlabel, and m_zunits.
|
privateslot |
Definition at line 71 of file SampleShapeHelpers.cpp.
References m_icoord, m_xlabel, m_ylabel, m_yunits, m_zlabel, and m_zunits.
Referenced by PointGroupBox().
|
privateslot |
Definition at line 88 of file SampleShapeHelpers.cpp.
References m_icoord, m_xlabel, m_ylabel, m_yunits, m_zlabel, and m_zunits.
Referenced by PointGroupBox().
QString PointGroupBox::write3DElement | ( | const QString & | elem_name | ) | const |
Write the element tag for a 3D point.
elem_name The name of the element
Definition at line 109 of file SampleShapeHelpers.cpp.
References MantidQt::CustomDialogs::ShapeDetails::convertToMetres(), m_icoord, m_midx, m_midy, m_midz, m_xunits, m_yunits, and m_zunits.
Referenced by MantidQt::CustomDialogs::SphereDetails::writeXML(), MantidQt::CustomDialogs::CylinderDetails::writeXML(), MantidQt::CustomDialogs::InfiniteCylinderDetails::writeXML(), MantidQt::CustomDialogs::ConeDetails::writeXML(), MantidQt::CustomDialogs::InfiniteConeDetails::writeXML(), MantidQt::CustomDialogs::InfinitePlaneDetails::writeXML(), MantidQt::CustomDialogs::CuboidDetails::writeXML(), and MantidQt::CustomDialogs::HexahedronDetails::writeXML().
|
private |
Definition at line 62 of file SampleShapeHelpers.h.
Referenced by PointGroupBox().
|
private |
Definition at line 64 of file SampleShapeHelpers.h.
Referenced by changeToCartesian(), changeToSpherical(), and write3DElement().
|
private |
Definition at line 58 of file SampleShapeHelpers.h.
Referenced by PointGroupBox(), and write3DElement().
|
private |
Definition at line 58 of file SampleShapeHelpers.h.
Referenced by PointGroupBox(), and write3DElement().
|
private |
Definition at line 58 of file SampleShapeHelpers.h.
Referenced by PointGroupBox(), and write3DElement().
|
private |
Definition at line 62 of file SampleShapeHelpers.h.
Referenced by PointGroupBox().
|
private |
Definition at line 56 of file SampleShapeHelpers.h.
Referenced by changeToCartesian(), changeToSpherical(), and PointGroupBox().
|
private |
Definition at line 60 of file SampleShapeHelpers.h.
Referenced by PointGroupBox(), and write3DElement().
|
private |
Definition at line 56 of file SampleShapeHelpers.h.
Referenced by changeToCartesian(), changeToSpherical(), and PointGroupBox().
|
private |
Definition at line 60 of file SampleShapeHelpers.h.
Referenced by changeToCartesian(), changeToSpherical(), PointGroupBox(), and write3DElement().
|
private |
Definition at line 56 of file SampleShapeHelpers.h.
Referenced by changeToCartesian(), changeToSpherical(), and PointGroupBox().
|
private |
Definition at line 60 of file SampleShapeHelpers.h.
Referenced by changeToCartesian(), changeToSpherical(), PointGroupBox(), and write3DElement().