VR-Forces 4.0.4 Class Documentation
include/commonWgt/navigationWidget.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: navigationWidget.h,v $ $Revision: 1.12 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef QTNAVIGATIONWIDGET_H
00013 #define QTNAVIGATIONWIDGET_H
00014 
00015 #include "commonWgt/commonWgtDefines.h"
00016 #include "commonWgt/ui_navigationWidgetUi.h"
00017 
00018 class QPushButton;
00019 
00020 class DT_DLL_commonWgt DtNavigationWidget : public QWidget
00021 {
00022    Q_OBJECT
00023 
00024 public:
00025   
00026    DtNavigationWidget(QWidget* parent = NULL, const Qt::WindowFlags& = 0);
00027 
00028    virtual ~DtNavigationWidget();
00029    virtual bool init();
00030 
00033    virtual void setUseAccelerators(bool b);
00034 
00036    static DtNavigationWidget* create(QWidget * parent,
00037          const Qt::WindowFlags& flags);
00038 
00040    virtual void setZoomToExtents(bool b);
00041    virtual bool zoomToExtents() const;
00042 
00045    virtual void setRightToLeft(bool b = true);
00046 
00047 signals:
00049    void zoomToExtentsChanged(bool);
00050 
00051 protected:
00052    virtual void setVariable(QPushButton*);
00053    virtual void setFixed(QPushButton*, int r, int c);
00054 
00055 public slots:
00057    virtual void setContinuousNavigation(bool b);
00058 
00059 public:
00060    Ui::QtNavigationWidgetUi myUiImpl;
00061 
00062 protected:
00063    bool  myZoomToExtents;
00064 };
00065 
00066 #endif
00067 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)