![]() |
VR-Forces Developer's Guide
|
This class is a container of the DtTerrainProfileWidget. It also adds the additional slider to scale the altitude of the dialog. Use this class to display terrain profile in a pop-up dialog.

Public Member Functions | |
| DtTerrainProfileDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTerrainProfileDialog () override |
| virtual void | setDataProvider (DtTerrainProfileDataProvider *) |
| DtTerrainProfileDataProvider * | dataProvider () const |
| virtual void | suspend () |
| virtual void | resume () |
| virtual bool | isSuspended () const |
| virtual void | setSuspendForMovement (bool) |
| virtual bool | suspendForMovement () const |
| virtual void | setDistanceMoveTolerance (double) |
| virtual double | distanceMoveTolerance () const |
| virtual void | setUseBackendForProfile (bool) |
| virtual bool | useBackendForProfile () const |
Public Attributes | |
| boost::signals2::signal< void(DtTerrainProfileDialog *)> | signal_dialogAboutToBeDeleted |
| DtTerrainProfileWidget * | myProfile |
| QSlider * | myGraphScale |
| QLabel * | myGraphScaleLabel |
| QHBoxLayout * | mySliderLayout |
| QLabel * | myDataSource |
| QPushButton * | myRequestFromServer |
Protected Slots | |
| virtual void | graphScaleChanged (int) |
| virtual void | requestDataFromServer () |
Protected Member Functions | |
| virtual void | slot_dataRemoved () |
| virtual void | closeEvent (QCloseEvent *) override |
| virtual void | profileGraphReady () |
| virtual void | dataStatusChanged () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtTerrainProfileDataProvider * | myDataProvider |
| bool | mySignaledClosed |
| makVrf::DtTerrainProfileDialog::DtTerrainProfileDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
default constructor. Will use the DtTerrainProfileWidget factory creator to create a new DtTerrainProfileWidget class
|
overridevirtual |
destructor
|
virtual |
Sets the data provider for this graph. Will take control of this memory. Do not delete after providing.
| DtTerrainProfileDataProvider* makVrf::DtTerrainProfileDialog::dataProvider | ( | ) | const |
Returns the data provider use by this dialog.
|
virtual |
Suspends this graph. This means that there shall be no updates made to this graph.
|
virtual |
Resumes graph updates. Will do a full replot.
|
virtual |
Returns true if this graph has been suspended.
|
virtual |
Sets whether or not the symbol tracker will suspend if the line points are changing. Default is true.
|
virtual |
|
virtual |
Distance a tracked entity must move to signal an update. Default is 10 meters.
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Called when an object is about to be removed, will remove this dialog.
|
overrideprotectedvirtual |
Send out dialog about to be closed signal.
|
protectedvirtual |
Called when the profile graph is ready (at least two points), will show this dialog.
|
protectedvirtual |
Called when the status of the data has changed in the profile widget.
|
protectedvirtualslot |
Called when slider changes for graph scale, change the scale of the graph.
|
protectedvirtualslot |
Requests data from server.
| boost::signals2::signal<void (DtTerrainProfileDialog*)> makVrf::DtTerrainProfileDialog::signal_dialogAboutToBeDeleted |
Signal sent when this dialog is about to be deleted (from closeEvent)
| DtTerrainProfileWidget* makVrf::DtTerrainProfileDialog::myProfile |
| QSlider* makVrf::DtTerrainProfileDialog::myGraphScale |
| QLabel* makVrf::DtTerrainProfileDialog::myGraphScaleLabel |
| QHBoxLayout* makVrf::DtTerrainProfileDialog::mySliderLayout |
| QLabel* makVrf::DtTerrainProfileDialog::myDataSource |
| QPushButton* makVrf::DtTerrainProfileDialog::myRequestFromServer |
|
protected |
|
protected |
|
protected |