![]() |
VR-Forces Development_Version Class Documentation
|
A widget class for showing the map scale as 1 inch of screen size to N display units of terrain size. More...

Public Member Functions | |
| DtMapScaleToolbarWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtMapScaleToolbarWidget () |
| DTOR. | |
Public Attributes | |
| QLabel * | myTitle |
| QLabel * | myContents |
Protected Member Functions | |
| virtual void | updateScale () |
| Called each tick to update the map scale if the view resolution has changed for the current channel. | |
| virtual double | calculateDpi () const |
| Calculates dpi. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| double | myLastViewResolution |
| makVrv::DtSignalConnectionManager | myConnections |
| double | myLastMM |
| double | myDpi |
A widget class for showing the map scale as 1 inch of screen size to N display units of terrain size.
| makVrf::DtMapScaleToolbarWidget::DtMapScaleToolbarWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtual |
Called each tick to update the map scale if the view resolution has changed for the current channel.
|
protectedvirtual |
Calculates dpi.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| QLabel* makVrf::DtMapScaleToolbarWidget::myTitle |
| QLabel* makVrf::DtMapScaleToolbarWidget::myContents |