VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtCloudLayerDialog Class Reference

A dialog for creating and editing cloud layers. More...

Inheritance diagram for makVrv::DtCloudLayerDialog:
Inheritance graph
[legend]

Public Member Functions

 DtCloudLayerDialog (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR.
virtual ~DtCloudLayerDialog ()
 DTOR.
void editLayer (const makArchives::DtCloudLayerRecord &rec)
 Set the settings for the dialog to use.
const
makArchives::DtCloudLayerRecord
settings () const
 Get the settings input via the dialog.
virtual void addCloudType (const QString &cloudTypeStr)
 Add a cloud type to the interface's the combo box.
virtual void setCloudType (const QString &cloudTypeStr)
 Set the cloud type in the interface's combo box.
virtual void setCloudPreviewImg (const QPixmap &img)
 Set the preview image in the interface.
virtual void setCloudDescription (const QString &description)
 Set the cloud description in the interface.
virtual void setCoordinateSystem (const DtUnicode &coordSys)
 Set the coordinate system in the interface's combo box.
virtual void addCoordinateSystem (const QString &coordSys)
 Add a coordinate system to the interface's combo box.
virtual void setXLabel (const DtUnicode &xLabel)
 Set the label for the "x" coordinate box.
virtual void setYLabel (const DtUnicode &yLabel)
 Set the label for the "y" coordinate box.
virtual void setZLabel (const DtUnicode &zLabel)
 Set the label for the "z" coordinate box.
virtual void setXValue (const QString &xVal)
 Set the value of the "x" coordinate.
virtual void setYValue (const QString &yVal)
 Set the value of the "y" coordinate.
virtual void setZValue (const QString &zVal)
 Set the value of the "z" coordinate.
virtual void setWidth (double width)
 Set the value of the width box.
virtual void setWidthUnits (const DtUnicode &units)
 Set the value of the width units label.
virtual void setWidthDecimals (int decimals)
 Set the width value precision.
virtual void setLength (double length)
 Set the value of the length box.
virtual void setLengthUnits (const DtUnicode &units)
 Set the value of the length units label.
virtual void setLengthDecimals (int decimals)
 Set the length value precision.
virtual void setThickness (double thickness)
 Set the value of the thickness box.
virtual void setThicknessUnits (const DtUnicode &units)
 Set the value of the thickness units label.
virtual void setThicknessDecimals (int decimals)
 Set the thickness value precision.
virtual void setDensity (double density)
 Set the value of the density box.
virtual void setXBoxEnabled (bool enabled)
 Enable/disable the "x" coordinate box.
virtual void setYBoxEnabled (bool enabled)
 Enable/disable the "y" coordinate box.
virtual void setZBoxEnabled (bool enabled)
 Enable/disable the "z" coordinate box.
virtual void setWidthEnabled (bool enabled)
 Enable/disable the width box.
virtual void setLengthEnabled (bool enabled)
 Enable/disable the length box.
virtual void setThicknessEnabled (bool enabled)
 Enable/disable the thickness box.
virtual void setDensityEnabled (bool enabled)
 Enable/disable the density box.
virtual void setCenterOnTerrainButtonEnabled (bool enabled)
 Enable/disable the Center on Terrain button.
virtual void setCenterOnObserverButtonEnabled (bool enabled)
 Enable/disable the Center on Observer button.
virtual void setCloudTypeEnabled (const QString &cloudTypeStr, bool enabled)
 Set cloud type enabled.
virtual void setCaption (const QString &caption)
 Set the window title of the dialog.
- Public Member Functions inherited from makVrv::DtCloudLayerDialogInterface
virtual ~DtCloudLayerDialogInterface ()
 Destructor.

Protected Slots

void onCoordSysBoxCurrentIndexChanged (const QString &sys)
 Called when the coordinate system is changed by the user.
void onCloudTypeBoxCurrentIndexChanged (int index)
 Called when the cloud type is changed by the user.
void onCenterOnObsButtonClicked ()
 Called when the center on observer button is clicked.
void onCenterOnTerrainButtonClicked ()
 Called when the center on terrain button is clicked.
void onCoordinateBoxEdited ()
 Called when any of the coordinate values are changed.
void onWidthBoxEdited (double)
void onLengthBoxEdited (double)
void onThicknessBoxEdited (double)
void onDensityBoxEdited (double)

Protected Member Functions

void setupGui ()
 Sets up connections and some min and max values.

Protected Attributes

DtVirtualBaseClassmyLogic

Private Member Functions

 DtCloudLayerDialog (const DtCloudLayerDialog &orig)
 Copy CTOR ( Not implemented )
DtCloudLayerDialogoperator= (const DtCloudLayerDialog &orig)
 Assignment operator ( Not implemented )

Additional Inherited Members

- Public Attributes inherited from makVrv::DtCloudLayerDialogInterface
boost::signal< const
makArchives::DtCloudLayerRecord *() > 
signal_requestRecord
boost::signal< void(QString) > signal_cloudTypeChanged
boost::signal< void(QString) > signal_coordSysChanged
boost::signal< void() > signal_centerOnObserver
boost::signal< void() > signal_centerOnTerrain
boost::signal< void(QString,
QString, QString) > 
signal_positionValueChanged
boost::signal< void(double) > signal_widthChanged
boost::signal< void(double) > signal_lengthChanged
boost::signal< void(double) > signal_thicknessChanged
boost::signal< void(double) > signal_densityChanged
boost::signal< void(const
makArchives::DtCloudLayerRecord &)> 
signal_editRecord

Detailed Description

A dialog for creating and editing cloud layers.

Constructor & Destructor Documentation

makVrv::DtCloudLayerDialog::DtCloudLayerDialog ( DtDe de,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

CTOR.

virtual makVrv::DtCloudLayerDialog::~DtCloudLayerDialog ( )
virtual

DTOR.

makVrv::DtCloudLayerDialog::DtCloudLayerDialog ( const DtCloudLayerDialog orig)
private

Copy CTOR ( Not implemented )

Member Function Documentation

void makVrv::DtCloudLayerDialog::editLayer ( const makArchives::DtCloudLayerRecord rec)

Set the settings for the dialog to use.

const makArchives::DtCloudLayerRecord& makVrv::DtCloudLayerDialog::settings ( ) const

Get the settings input via the dialog.

virtual void makVrv::DtCloudLayerDialog::addCloudType ( const QString &  cloudTypeStr)
virtual

Add a cloud type to the interface's the combo box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCloudType ( const QString &  cloudTypeStr)
virtual

Set the cloud type in the interface's combo box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCloudPreviewImg ( const QPixmap &  img)
virtual

Set the preview image in the interface.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCloudDescription ( const QString &  description)
virtual

Set the cloud description in the interface.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCoordinateSystem ( const DtUnicode coordSys)
virtual

Set the coordinate system in the interface's combo box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::addCoordinateSystem ( const QString &  coordSys)
virtual

Add a coordinate system to the interface's combo box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setXLabel ( const DtUnicode xLabel)
virtual

Set the label for the "x" coordinate box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setYLabel ( const DtUnicode yLabel)
virtual

Set the label for the "y" coordinate box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setZLabel ( const DtUnicode zLabel)
virtual

Set the label for the "z" coordinate box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setXValue ( const QString &  xVal)
virtual

Set the value of the "x" coordinate.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setYValue ( const QString &  yVal)
virtual

Set the value of the "y" coordinate.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setZValue ( const QString &  zVal)
virtual

Set the value of the "z" coordinate.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setWidth ( double  width)
virtual

Set the value of the width box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setWidthUnits ( const DtUnicode units)
virtual

Set the value of the width units label.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setWidthDecimals ( int  decimals)
virtual

Set the width value precision.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setLength ( double  length)
virtual

Set the value of the length box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setLengthUnits ( const DtUnicode units)
virtual

Set the value of the length units label.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setLengthDecimals ( int  decimals)
virtual

Set the length value precision.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setThickness ( double  thickness)
virtual

Set the value of the thickness box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setThicknessUnits ( const DtUnicode units)
virtual

Set the value of the thickness units label.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setThicknessDecimals ( int  decimals)
virtual

Set the thickness value precision.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setDensity ( double  density)
virtual

Set the value of the density box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setXBoxEnabled ( bool  enabled)
virtual

Enable/disable the "x" coordinate box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setYBoxEnabled ( bool  enabled)
virtual

Enable/disable the "y" coordinate box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setZBoxEnabled ( bool  enabled)
virtual

Enable/disable the "z" coordinate box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setWidthEnabled ( bool  enabled)
virtual

Enable/disable the width box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setLengthEnabled ( bool  enabled)
virtual

Enable/disable the length box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setThicknessEnabled ( bool  enabled)
virtual

Enable/disable the thickness box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setDensityEnabled ( bool  enabled)
virtual

Enable/disable the density box.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCenterOnTerrainButtonEnabled ( bool  enabled)
virtual

Enable/disable the Center on Terrain button.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCenterOnObserverButtonEnabled ( bool  enabled)
virtual

Enable/disable the Center on Observer button.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCloudTypeEnabled ( const QString &  cloudTypeStr,
bool  enabled 
)
virtual

Set cloud type enabled.

Implements makVrv::DtCloudLayerDialogInterface.

virtual void makVrv::DtCloudLayerDialog::setCaption ( const QString &  caption)
virtual

Set the window title of the dialog.

Implements makVrv::DtCloudLayerDialogInterface.

DtCloudLayerDialog& makVrv::DtCloudLayerDialog::operator= ( const DtCloudLayerDialog orig)
private

Assignment operator ( Not implemented )

void makVrv::DtCloudLayerDialog::setupGui ( )
protected

Sets up connections and some min and max values.

void makVrv::DtCloudLayerDialog::onCoordSysBoxCurrentIndexChanged ( const QString &  sys)
protectedslot

Called when the coordinate system is changed by the user.

void makVrv::DtCloudLayerDialog::onCloudTypeBoxCurrentIndexChanged ( int  index)
protectedslot

Called when the cloud type is changed by the user.

void makVrv::DtCloudLayerDialog::onCenterOnObsButtonClicked ( )
protectedslot

Called when the center on observer button is clicked.

void makVrv::DtCloudLayerDialog::onCenterOnTerrainButtonClicked ( )
protectedslot

Called when the center on terrain button is clicked.

void makVrv::DtCloudLayerDialog::onCoordinateBoxEdited ( )
protectedslot

Called when any of the coordinate values are changed.

void makVrv::DtCloudLayerDialog::onWidthBoxEdited ( double  )
protectedslot
void makVrv::DtCloudLayerDialog::onLengthBoxEdited ( double  )
protectedslot
void makVrv::DtCloudLayerDialog::onThicknessBoxEdited ( double  )
protectedslot
void makVrv::DtCloudLayerDialog::onDensityBoxEdited ( double  )
protectedslot

Member Data Documentation

DtVirtualBaseClass* makVrv::DtCloudLayerDialog::myLogic
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)