VR-Forces 4.0.4 Class Documentation
include/vrvVrlQt/DtTacticalGraphicsSettingsWidget.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: DtTacticalGraphicsSettingsWidget.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00012 
00013 #ifndef DtTacticalGraphicsSettingsWidget_H_
00014 #define DtTacticalGraphicsSettingsWidget_H_
00015 
00016 #include <vrvVrlQt/vrvVrlQt.h>
00017 #include <vrvVrlQt/DtTacticalGraphicsSettingsInterface.h>
00018 #include <QtGui/QWidget>
00019 
00020 class QCheckBox;
00021 class QPushButton;
00022 class QVBoxLayout;
00023 class QSlider;
00024 class QLabel;
00025 class QDoubleSpinBox;
00026 
00027 namespace makVrv
00028 {
00031    class DT_DLL_VRVVRLQT DtTacticalGraphicsSettingsWidget
00032       : public QWidget
00033       , public DtTacticalGraphicsSettingsInterface
00034    {
00035       Q_OBJECT;
00036 
00037    public:
00039       DtTacticalGraphicsSettingsWidget( DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::Widget);
00040 
00042       virtual ~DtTacticalGraphicsSettingsWidget();
00043 
00044       virtual void setTacticalGraphicsEnabled(bool enabled);
00045       virtual void setTacticalGraphicsIndicatorsEnabled(bool enabled);
00046       virtual void setHeightAboveTerrainEnabled(bool enabled);
00047       virtual void setHeightAboveTerrainSelectedOnly(bool enabled);
00048       virtual void setRemoteGraphicsEnabled(bool enabled);
00049 
00050    protected slots:
00051       void on_tacticalGraphicsEnabledCheckChanged(int state);
00052       void on_tacticalGraphicsIndicatorsEnabledCheckChanged(int state);
00053       void on_HeightAboveTerrainEnabledCheckChanged(int state);
00054       void on_HeightAboveTerrainSelectedOnlyCheckChanged(int state);
00055       void on_remoteGraphicsEnabledCheckChanged(int state);
00056 
00057       
00058    protected:
00059       virtual void setupGui();
00060       QCheckBox* myTacticalGraphicsEnabledCheckbox;
00061       QCheckBox* myTacticalGraphicsIndicatorsEnabledCheckbox;
00062       QCheckBox* myHeightAboveTerrainEnabledCheckbox;
00063       QCheckBox* myHeightAboveTerrainSelectedOnlyCheckbox;
00064       QCheckBox* myRemoteGraphicsEnabledCheckbox;
00065 
00066       QVBoxLayout* myMainLayout;
00067       DtDe& myDe;
00068    };
00069 }
00070 
00071 #endif

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)