VR-Forces 4.2 Class Documentation
List of all members | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
DtNavigationWidget Class Reference
Inheritance diagram for DtNavigationWidget:
Inheritance graph
[legend]

Public Slots

virtual void setContinuousNavigation (bool b)
 Set autoRepeat for navigation buttons (except for reset to world view)

Signals

void zoomToExtentsChanged (bool)
 Sent when the status of setZoomToExtents changes.

Public Member Functions

 DtNavigationWidget (QWidget *parent=NULL, const Qt::WindowFlags &=0)
virtual ~DtNavigationWidget ()
virtual bool init ()
virtual void setUseAccelerators (bool b)
 This call will turn on/off accelerators for this widget.
virtual void setZoomToExtents (bool b)
 Sets whether or not the "global" button shows zooming to global view or extents.
virtual bool zoomToExtents () const
virtual void setRightToLeft (bool b=true)
 If this is true, will setup the layout to prevent the controls from being layed out incorrectly for right to left languages.

Static Public Member Functions

static DtNavigationWidgetcreate (QWidget *parent, const Qt::WindowFlags &flags)
 Creates an instance of this class. Used in factory create methods.

Public Attributes

Ui::QtNavigationWidgetUi myUiImpl

Protected Member Functions

virtual void setVariable (QPushButton *)
virtual void setFixed (QPushButton *, int r, int c)

Protected Attributes

bool myZoomToExtents

Constructor & Destructor Documentation

DtNavigationWidget::DtNavigationWidget ( QWidget parent = NULL,
const Qt::WindowFlags &  = 0 
)
virtual DtNavigationWidget::~DtNavigationWidget ( )
virtual

Member Function Documentation

virtual bool DtNavigationWidget::init ( )
virtual
virtual void DtNavigationWidget::setUseAccelerators ( bool  b)
virtual

This call will turn on/off accelerators for this widget.

Turn off if some other widget will implement accelerators (such as a navigation menu). By default accelerators are used

static DtNavigationWidget* DtNavigationWidget::create ( QWidget parent,
const Qt::WindowFlags &  flags 
)
static

Creates an instance of this class. Used in factory create methods.

virtual void DtNavigationWidget::setZoomToExtents ( bool  b)
virtual

Sets whether or not the "global" button shows zooming to global view or extents.

virtual bool DtNavigationWidget::zoomToExtents ( ) const
virtual
virtual void DtNavigationWidget::setRightToLeft ( bool  b = true)
virtual

If this is true, will setup the layout to prevent the controls from being layed out incorrectly for right to left languages.

This basically means that the layout will be fixed for the buttons (not able to be resized).

void DtNavigationWidget::zoomToExtentsChanged ( bool  )
signal

Sent when the status of setZoomToExtents changes.

virtual void DtNavigationWidget::setVariable ( QPushButton )
protectedvirtual
virtual void DtNavigationWidget::setFixed ( QPushButton ,
int  r,
int  c 
)
protectedvirtual
virtual void DtNavigationWidget::setContinuousNavigation ( bool  b)
virtualslot

Set autoRepeat for navigation buttons (except for reset to world view)

Member Data Documentation

Ui::QtNavigationWidgetUi DtNavigationWidget::myUiImpl
bool DtNavigationWidget::myZoomToExtents
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)