Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Properties

ctkCoordinatesWidget Class Reference

#include <Libs/Widgets/ctkCoordinatesWidget.h>

List of all members.

Signals

void valueChanged (double *pos)

Public Member Functions

double * coordinates () const
QString coordinatesAsString () const
 ctkCoordinatesWidget (QWidget *parent=0)
int dimension () const
double maximum () const
double minimum () const
void setCoordinates (double *pos)
void setCoordinatesAsString (QString pos)
void setDimension (int dim)
void setMaximum (double minimum)
void setMinimum (double minimum)
void setSingleStep (double step)
double singleStep () const
virtual ~ctkCoordinatesWidget ()

Protected Slots

void coordinateChanged (double)
void coordinatesChanged ()

Protected Member Functions

void AddSpinBox ()

Protected Attributes

double * Coordinates
double Maximum
double Minimum
double SingleStep

Properties

QString coordinates
int Dimension
double maximum
double minimum
double singleStep

Detailed Description

Definition at line 30 of file ctkCoordinatesWidget.h.


Constructor & Destructor Documentation

ctkCoordinatesWidget::ctkCoordinatesWidget ( QWidget *  parent = 0  )  [explicit]

Definition at line 29 of file ctkCoordinatesWidget.cpp.

ctkCoordinatesWidget::~ctkCoordinatesWidget (  )  [virtual]

Definition at line 48 of file ctkCoordinatesWidget.cpp.


Member Function Documentation

void ctkCoordinatesWidget::AddSpinBox (  )  [protected]

Definition at line 54 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::coordinateChanged ( double  coordinate  )  [protected, slot]

Definition at line 235 of file ctkCoordinatesWidget.cpp.

double* ctkCoordinatesWidget::coordinates (  )  const
QString ctkCoordinatesWidget::coordinatesAsString (  )  const

Definition at line 192 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::coordinatesChanged (  )  [protected, slot]

Definition at line 251 of file ctkCoordinatesWidget.cpp.

int ctkCoordinatesWidget::dimension (  )  const

Definition at line 103 of file ctkCoordinatesWidget.cpp.

double ctkCoordinatesWidget::maximum (  )  const
double ctkCoordinatesWidget::minimum (  )  const
void ctkCoordinatesWidget::setCoordinates ( double *  pos  ) 

Set/Get the coordinates

Definition at line 207 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::setCoordinatesAsString ( QString  pos  ) 

Set/Get the coordinates. Use commas between numbers

Definition at line 175 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::setDimension ( int  dim  ) 

Set/Get the dimension of the point (3D by default)

Definition at line 66 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::setMaximum ( double  minimum  ) 

Set/Get the maximum value of the QDoubleSpinBoxes

Definition at line 131 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::setMinimum ( double  minimum  ) 

Set/Get the minimum value of the QDoubleSpinBoxes

Definition at line 109 of file ctkCoordinatesWidget.cpp.

void ctkCoordinatesWidget::setSingleStep ( double  step  ) 

Set/Get the single step of the QDoubleSpinBoxes

Definition at line 153 of file ctkCoordinatesWidget.cpp.

double ctkCoordinatesWidget::singleStep (  )  const
void ctkCoordinatesWidget::valueChanged ( double *  pos  )  [signal]

Member Data Documentation

double* ctkCoordinatesWidget::Coordinates [protected]

Definition at line 88 of file ctkCoordinatesWidget.h.

double ctkCoordinatesWidget::Maximum [protected]

Definition at line 85 of file ctkCoordinatesWidget.h.

double ctkCoordinatesWidget::Minimum [protected]

Definition at line 84 of file ctkCoordinatesWidget.h.

Definition at line 86 of file ctkCoordinatesWidget.h.


Property Documentation

double * ctkCoordinatesWidget::coordinates [read, write]

Definition at line 37 of file ctkCoordinatesWidget.h.

int ctkCoordinatesWidget::Dimension [read, write]

Definition at line 33 of file ctkCoordinatesWidget.h.

double ctkCoordinatesWidget::maximum [read, write]

Definition at line 35 of file ctkCoordinatesWidget.h.

double ctkCoordinatesWidget::minimum [read, write]

Definition at line 34 of file ctkCoordinatesWidget.h.

double ctkCoordinatesWidget::singleStep [read, write]

Definition at line 36 of file ctkCoordinatesWidget.h.


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