VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtAltitudeSelectionWidgetInterface.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00010 
00011 #pragma once
00012 
00013 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00014 #include <vrfGuiCore/DtVrfObjectFacadeInterface.h>
00015 
00017 #include <makArchives/DtDisplayUnitsSettingsRecord.h>
00018 #include <vrvUtil/signalslib.h>
00019 
00020 #include <QtCore/QString>
00021 
00022 class DtVector;
00023 
00024 namespace makVrf
00025 {
00026    class DT_DLL_VRFGUICOREQT DtAltitudeSelectionWidgetInterface
00027    {
00028    public:
00029 
00030       //DTOR
00031       virtual ~DtAltitudeSelectionWidgetInterface();
00032 
00033    public:
00035       virtual void setLocation(DtVector, bool resetAltitude = true) = 0;
00036 
00037       virtual QString zValue() const = 0;
00038 
00040       virtual void setZLabel(const QString&) = 0;
00041 
00043       virtual void setAltitudeDecimals(int decimals) = 0;
00044 
00046       virtual void setCoordinateSystem(
00047          const makArchives::DtDisplayUnitsSettingsRecord::CoordSys&) = 0;
00048 
00050       virtual double altitude() const = 0;
00051 
00053       virtual double altitudeAboveSeaLevel() const = 0;                  
00054 
00056       virtual double altitudeAboveGroundLevel() const = 0;         
00057 
00059       virtual DtAltitudeClampType currentAltitudeTypeSelection() const = 0;
00060 
00062       virtual bool displayOnlyMode() const = 0;
00063 
00065       virtual void setAltitudeAboveSeaLevelSelected(bool b) = 0;
00066       virtual void setAltitudeAboveSeaLevelEnabled(bool b) = 0;
00067       virtual void setAltitudeAboveSeaLevelVisible(bool b) = 0;
00068       virtual void setAltitudeAboveSeaLevelLabel(const QString&) = 0;
00069 
00071       virtual void setAltitudeAboveGroundLevelSelected(bool b) = 0;
00072       virtual void setAltitudeAboveGroundLevelEnabled(bool b) = 0;
00073       virtual void setAltitudeAboveGroundLevelVisible(bool b) = 0;
00074       virtual void setAltitudeAboveGroundLevelLabel(const QString&) = 0;
00075 
00076       virtual void setAltitudeAboveSeaLevel(double) = 0;
00077       virtual void setAltitudeAboveGroundLevel(double) = 0;
00078 
00079       virtual void setAltitudeAboveSeaLevel(const QString&) = 0;
00080       virtual void setAltitudeAboveGroundLevel(const QString&) = 0;
00081 
00082       virtual void refreshLabels() = 0;
00083 
00085       virtual void setCurrentAltitudeTypeSelection( const DtAltitudeClampType& type ) = 0;
00086 
00087    public:
00088       boost::signal<void (DtAltitudeClampType)> signal_altitudeSelectionTypeChanged;
00089       boost::signal<void (double)> signal_altitudeChanged;
00090       boost::signal<void (double)> signal_altitudeAboveSeaLevelChanged;
00091       boost::signal<void (double)> signal_altitudeAboveGroundLevelChanged;
00092       boost::signal<void (double)> signal_altitudeAboveSeaLevelEdited;
00093       boost::signal<void (double)> signal_altitudeAboveGroundLevelEdited;
00094       boost::signal<void (int)> signal_clampSelectionChanged;
00095    };
00096 }

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)