Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Attributes | List of all members
MantidQt::CustomDialogs::PointGroupBox Class Reference

A custom group box for a 3D point. More...

#include <SampleShapeHelpers.h>

Inheritance diagram for MantidQt::CustomDialogs::PointGroupBox:

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
 

Detailed Description

A custom group box for a 3D point.

Definition at line 38 of file SampleShapeHelpers.h.

Constructor & Destructor Documentation

◆ PointGroupBox()

PointGroupBox::PointGroupBox ( QWidget *  parent = nullptr)

Member Function Documentation

◆ changeToCartesian

void PointGroupBox::changeToCartesian ( )
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().

◆ changeToSpherical

void PointGroupBox::changeToSpherical ( )
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().

◆ write3DElement()

QString PointGroupBox::write3DElement ( const QString &  elem_name) const

Member Data Documentation

◆ m_cartesian

QRadioButton* MantidQt::CustomDialogs::PointGroupBox::m_cartesian
private

Definition at line 62 of file SampleShapeHelpers.h.

Referenced by PointGroupBox().

◆ m_icoord

int MantidQt::CustomDialogs::PointGroupBox::m_icoord
private

Definition at line 64 of file SampleShapeHelpers.h.

Referenced by changeToCartesian(), changeToSpherical(), and write3DElement().

◆ m_midx

QLineEdit* MantidQt::CustomDialogs::PointGroupBox::m_midx
private

Definition at line 58 of file SampleShapeHelpers.h.

Referenced by PointGroupBox(), and write3DElement().

◆ m_midy

QLineEdit * MantidQt::CustomDialogs::PointGroupBox::m_midy
private

Definition at line 58 of file SampleShapeHelpers.h.

Referenced by PointGroupBox(), and write3DElement().

◆ m_midz

QLineEdit * MantidQt::CustomDialogs::PointGroupBox::m_midz
private

Definition at line 58 of file SampleShapeHelpers.h.

Referenced by PointGroupBox(), and write3DElement().

◆ m_spherical

QRadioButton * MantidQt::CustomDialogs::PointGroupBox::m_spherical
private

Definition at line 62 of file SampleShapeHelpers.h.

Referenced by PointGroupBox().

◆ m_xlabel

QLabel* MantidQt::CustomDialogs::PointGroupBox::m_xlabel
private

Definition at line 56 of file SampleShapeHelpers.h.

Referenced by changeToCartesian(), changeToSpherical(), and PointGroupBox().

◆ m_xunits

QComboBox* MantidQt::CustomDialogs::PointGroupBox::m_xunits
private

Definition at line 60 of file SampleShapeHelpers.h.

Referenced by PointGroupBox(), and write3DElement().

◆ m_ylabel

QLabel * MantidQt::CustomDialogs::PointGroupBox::m_ylabel
private

Definition at line 56 of file SampleShapeHelpers.h.

Referenced by changeToCartesian(), changeToSpherical(), and PointGroupBox().

◆ m_yunits

QComboBox * MantidQt::CustomDialogs::PointGroupBox::m_yunits
private

◆ m_zlabel

QLabel * MantidQt::CustomDialogs::PointGroupBox::m_zlabel
private

Definition at line 56 of file SampleShapeHelpers.h.

Referenced by changeToCartesian(), changeToSpherical(), and PointGroupBox().

◆ m_zunits

QComboBox * MantidQt::CustomDialogs::PointGroupBox::m_zunits
private

The documentation for this class was generated from the following files: