![]() |
VR-Forces 4.0.4 Class Documentation
|
This class is a container of the DtTerrainProfileWidget. More...

Public Member Functions | |
| DtTerrainProfileDialog (makVrv::DtDe &de, QWidget *parent=0, const Qt::WindowFlags &flags=0) | |
| default constructor. | |
| virtual | ~DtTerrainProfileDialog () |
| destructor | |
| virtual void | setDataProvider (DtTerrainProfileDataProvider *) |
| Sets the data provider for this graph. | |
| DtTerrainProfileDataProvider * | dataProvider () const |
| Returns the data provider use by this dialog. | |
| virtual void | suspend () |
| Suspends this graph. This means that there shall be no updates made to this graph. | |
| virtual void | resume () |
| Resumes graph updates. Will do a full replot. | |
| virtual bool | isSuspended () const |
| Returns true if this graph has been suspended. | |
Public Attributes | |
| boost::signal< void(DtTerrainProfileDialog *)> | signal_dialogAboutToBeDeleted |
| Signal sent when this dialog is about to be deleted (from closeEvent) | |
| DtTerrainProfileWidget * | myProfile |
| QSlider * | myGraphScale |
| QLabel * | myGraphScaleLabel |
| QHBoxLayout * | mySliderLayout |
Protected Slots | |
| virtual void | graphScaleChanged (int) |
| Called when slider changes for graph scale, change the scale of the graph. | |
Protected Member Functions | |
| virtual void | slot_dataRemoved () |
| Called when an object is about to be removed, will remove this dialog. | |
| virtual void | closeEvent (QCloseEvent *) |
| Send out dialog about to be closed signal. | |
| virtual void | profileGraphReady () |
| Called when the profile graph is ready (at least two points), will show this dialog. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtTerrainProfileDataProvider * | myDataProvider |
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.
| 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
| virtual makVrf::DtTerrainProfileDialog::~DtTerrainProfileDialog | ( | ) | [virtual] |
destructor
| virtual void makVrf::DtTerrainProfileDialog::setDataProvider | ( | DtTerrainProfileDataProvider * | ) | [virtual] |
Sets the data provider for this graph.
Will take control of this memory. Do not delete after providing
Returns the data provider use by this dialog.
| virtual void makVrf::DtTerrainProfileDialog::suspend | ( | ) | [virtual] |
Suspends this graph. This means that there shall be no updates made to this graph.
| virtual void makVrf::DtTerrainProfileDialog::resume | ( | ) | [virtual] |
Resumes graph updates. Will do a full replot.
| virtual bool makVrf::DtTerrainProfileDialog::isSuspended | ( | ) | const [virtual] |
Returns true if this graph has been suspended.
| virtual void makVrf::DtTerrainProfileDialog::slot_dataRemoved | ( | ) | [protected, virtual] |
Called when an object is about to be removed, will remove this dialog.
| virtual void makVrf::DtTerrainProfileDialog::closeEvent | ( | QCloseEvent * | ) | [protected, virtual] |
Send out dialog about to be closed signal.
| virtual void makVrf::DtTerrainProfileDialog::profileGraphReady | ( | ) | [protected, virtual] |
Called when the profile graph is ready (at least two points), will show this dialog.
| virtual void makVrf::DtTerrainProfileDialog::graphScaleChanged | ( | int | ) | [protected, virtual, slot] |
Called when slider changes for graph scale, change the scale of the graph.
| boost::signal<void (DtTerrainProfileDialog*)> makVrf::DtTerrainProfileDialog::signal_dialogAboutToBeDeleted |
Signal sent when this dialog is about to be deleted (from closeEvent)
| QHBoxLayout* makVrf::DtTerrainProfileDialog::mySliderLayout |
makVrv::DtDe& makVrf::DtTerrainProfileDialog::myDe [protected] |