VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
makVrf::DtMapScaleToolbarWidget Class Reference

A widget class for showing the map scale as 1 inch of screen size to N display units of terrain size. More...

Inheritance diagram for makVrf::DtMapScaleToolbarWidget:
Inheritance graph
[legend]

Public Member Functions

 DtMapScaleToolbarWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR.
virtual ~DtMapScaleToolbarWidget ()
 DTOR.

Public Attributes

QLabelmyTitle
QLabelmyContents

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::DtDemyDe
double myLastViewResolution
makVrv::DtSignalConnectionManager myConnections
double myLastMM
double myDpi

Detailed Description

A widget class for showing the map scale as 1 inch of screen size to N display units of terrain size.

Constructor & Destructor Documentation

makVrf::DtMapScaleToolbarWidget::DtMapScaleToolbarWidget ( makVrv::DtDe de,
QWidget parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual makVrf::DtMapScaleToolbarWidget::~DtMapScaleToolbarWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtMapScaleToolbarWidget::updateScale ( )
protectedvirtual

Called each tick to update the map scale if the view resolution has changed for the current channel.

virtual double makVrf::DtMapScaleToolbarWidget::calculateDpi ( ) const
protectedvirtual

Calculates dpi.

Member Data Documentation

makVrv::DtDe& makVrf::DtMapScaleToolbarWidget::myDe
protected
double makVrf::DtMapScaleToolbarWidget::myLastViewResolution
protected
makVrv::DtSignalConnectionManager makVrf::DtMapScaleToolbarWidget::myConnections
protected
double makVrf::DtMapScaleToolbarWidget::myLastMM
protected
double makVrf::DtMapScaleToolbarWidget::myDpi
protected
QLabel* makVrf::DtMapScaleToolbarWidget::myTitle
QLabel* makVrf::DtMapScaleToolbarWidget::myContents

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)