Public Slots | Public Member Functions
RotateComponents Class Reference

#include <RotateComponents.h>

Inheritance diagram for RotateComponents:
QGpGuiTools::Dialog QGpGuiTools::FrameGrabber

List of all members.

Public Slots

void on_rEAxis_stateChanged (int)
void on_rNAxis_stateChanged (int)
void on_rZAxis_stateChanged (int)
void updateAll ()

Public Member Functions

RotateParameters parameters ()
 RotateComponents (QWidget *parent=0, Qt::WFlags fl=0)

Constructor & Destructor Documentation

RotateComponents::RotateComponents ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

Constructs a RotateComponents as a child of parent, with widget flags set to fl.

References TRACE.

    : Dialog(parent, fl)
{
  TRACE;
  setupUi(this);
}

Member Function Documentation

References TRACE.

Referenced by updateAll().

{
  TRACE;
  angEAxis->setEnabled(rEAxis->isChecked());
}

References TRACE.

Referenced by updateAll().

{
  TRACE;
  angNAxis->setEnabled(rNAxis->isChecked());
}

References TRACE.

Referenced by updateAll().

{
  TRACE;
  angZAxis->setEnabled(rZAxis->isChecked());
}

References GeopsyCore::RotateParameters::setAngleAroundEast(), GeopsyCore::RotateParameters::setAngleAroundNorth(), GeopsyCore::RotateParameters::setAngleAroundVertical(), GeopsyCore::RotateParameters::setAxes(), and TRACE.

Referenced by WaveformConsole::rotate().

{
  TRACE;
  RotateParameters param;
  RotateParameters::Axes a=0;
  if(rZAxis->isChecked()) {
    a|=RotateParameters::Vertical;
    param.setAngleAroundVertical(angZAxis->value());
  }
  if(rNAxis->isChecked()) {
    a|=RotateParameters::North;
    param.setAngleAroundNorth(angNAxis->value());
  }
  if(rEAxis->isChecked()) {
    a|=RotateParameters::East;
    param.setAngleAroundEast(angEAxis->value());
  }
  param.setAxes(a);
  return param;
}
void RotateComponents::updateAll ( ) [slot]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines