VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.

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 )

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.

DTOR.

Copy CTOR ( Not implemented )


Member Function Documentation

Set the settings for the dialog to use.

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.

Enable/disable the Center on Terrain button.

Implements makVrv::DtCloudLayerDialogInterface.

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 )

Sets up connections and some min and max values.

void makVrv::DtCloudLayerDialog::onCoordSysBoxCurrentIndexChanged ( const QString &  sys) [protected, slot]

Called when the coordinate system is changed by the user.

Called when the cloud type is changed by the user.

Called when the center on observer button is clicked.

Called when the center on terrain button is clicked.

Called when any of the coordinate values are changed.

void makVrv::DtCloudLayerDialog::onWidthBoxEdited ( double  ) [protected, slot]
void makVrv::DtCloudLayerDialog::onLengthBoxEdited ( double  ) [protected, slot]
void makVrv::DtCloudLayerDialog::onThicknessBoxEdited ( double  ) [protected, slot]
void makVrv::DtCloudLayerDialog::onDensityBoxEdited ( double  ) [protected, slot]

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)