![]() |
VR-Forces 5.0.2 Developer's Guide
|
A dialog for creating and editing cloud layers.

Public Member Functions | |
| DtCloudLayerDialog (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtCloudLayerDialog () |
| void | editLayer (const DtCloudLayer &layer) |
| const DtCloudLayer & | settings () const |
| virtual void | addCloudType (DtCloudTypeMapper::CloudType cloudType) |
| virtual void | setCloudType (DtCloudTypeMapper::CloudType cloudType) |
| virtual void | setCloudPreviewImgName (const std::string &imgName) |
| virtual void | setCloudDescription (const DtUnicode &description) |
| virtual void | setXUnits (const DtUnicode &units) |
| virtual void | setYUnits (const DtUnicode &units) |
| virtual void | setAltitudeUnits (const DtUnicode &units) |
| virtual void | setXValue (double xVal, int decimals) |
| virtual void | setYValue (double yVal, int decimals) |
| virtual void | setAltitudeValue (double alt, int decimals) |
| virtual void | setWidth (double width) |
| virtual void | setWidthUnits (const DtUnicode &units) |
| virtual void | setWidthDecimals (int decimals) |
| virtual void | setLength (double length) |
| virtual void | setLengthUnits (const DtUnicode &units) |
| virtual void | setLengthDecimals (int decimals) |
| virtual void | setThickness (double thickness) |
| virtual void | setThicknessUnits (const DtUnicode &units) |
| virtual void | setThicknessDecimals (int decimals) |
| virtual void | setDensity (double density) |
| virtual void | setInfinite (bool infinite) |
| virtual void | setXBoxEnabled (bool enabled) |
| virtual void | setYBoxEnabled (bool enabled) |
| virtual void | setZBoxEnabled (bool enabled) |
| virtual void | setWidthEnabled (bool enabled) |
| virtual void | setLengthEnabled (bool enabled) |
| virtual void | setThicknessEnabled (bool enabled) |
| virtual void | setDensityEnabled (bool enabled) |
| virtual void | setInfiniteEnabled (bool enabled) |
| virtual void | setCloudTypeEnabled (DtCloudTypeMapper::CloudType cloudType, bool enabled) |
| virtual void | setCaption (const DtUnicode &caption) |
Public Member Functions inherited from makVrv::DtCloudLayerDialogInterface | |
| virtual | ~DtCloudLayerDialogInterface () |
Protected Slots | |
| void | onInfiniteLayerChanged (int state) |
| void | onCloudTypeBoxCurrentIndexChanged (int index) |
| void | onCoordinateBoxEdited () |
| void | onWidthBoxEdited (double) |
| void | onLengthBoxEdited (double) |
| void | onThicknessBoxEdited (double) |
| void | onDensityBoxEdited (double) |
Protected Member Functions | |
| void | setupGui () |
Protected Attributes | |
| DtVirtualBaseClass * | myLogic |
Private Member Functions | |
| DtCloudLayerDialog (const DtCloudLayerDialog &orig) | |
| DtCloudLayerDialog & | operator= (const DtCloudLayerDialog &orig) |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtCloudLayerDialogInterface | |
| boost::signalslib::signal < const DtCloudLayer *() > | signal_requestCloudLayer |
| boost::signalslib::signal < void(DtCloudTypeMapper::CloudType cloudType) > | signal_cloudTypeChanged |
| boost::signalslib::signal < void(DtUnicode, DtUnicode, DtUnicode) > | signal_positionValueChanged |
| boost::signalslib::signal < void(double) > | signal_widthChanged |
| boost::signalslib::signal < void(double) > | signal_lengthChanged |
| boost::signalslib::signal < void(double) > | signal_thicknessChanged |
| boost::signalslib::signal < void(double) > | signal_densityChanged |
| boost::signalslib::signal < void(bool) > | signal_infiniteChanged |
| boost::signalslib::signal < void(const DtCloudLayer &)> | signal_editCloudLayer |
| makVrv::DtCloudLayerDialog::DtCloudLayerDialog | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Copy CTOR ( Not implemented )
| void makVrv::DtCloudLayerDialog::editLayer | ( | const DtCloudLayer & | layer | ) |
Set the settings for the dialog to use.
| const DtCloudLayer& makVrv::DtCloudLayerDialog::settings | ( | ) | const |
Get the settings input via the dialog.
|
virtual |
Add a cloud type to the interface's the combo box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the cloud type in the interface's combo box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the preview image in the interface.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the cloud description in the interface.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the label for the "x" offset box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the label for the "y" offset box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the label for the altitude box.
Implements makVrv::DtCloudLayerDialogInterface.
Set the value of the "x" offset.
Implements makVrv::DtCloudLayerDialogInterface.
Set the value of the "y" offset.
Implements makVrv::DtCloudLayerDialogInterface.
Set the value of the "alt" value.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the width box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the width units label.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the width value precision.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the length box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the length units label.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the length value precision.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the thickness box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the thickness units label.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the thickness value precision.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the density box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the value of the infinite box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the "x" coordinate box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the "y" coordinate box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the "z" coordinate box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the width box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the length box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the thickness box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the density box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Enable/disable the infinite box.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set cloud type enabled.
Implements makVrv::DtCloudLayerDialogInterface.
|
virtual |
Set the window title of the dialog.
Implements makVrv::DtCloudLayerDialogInterface.
|
private |
Assignment operator ( Not implemented )
|
protected |
Sets up connections and some min and max values.
|
protectedslot |
Called when the cloud layer is toggled from infinite/not infinite.
|
protectedslot |
Called when the cloud type is changed by the user.
|
protectedslot |
Called when any of the coordinate values are changed.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protected |