VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtLastPointClickedWidget.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00009 #pragma once
00010 
00011 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00012 #include <vrfGuiCoreQt/DtLastPointClickedWidgetInterface.h>
00013 #include <vrfGuiCoreQt/DtLocationEntryWidget.h>
00014 
00016 #include <vrvCoreQt/DtPage.h>
00017 
00018 namespace makVrv
00019 {
00020    class DtDe;
00021 }
00022 
00023 namespace makVrf
00024 {
00025    class DtLastPointClickedWidgetLogic;
00026    class DtLocationEntryWidget;
00027 
00032    class DT_DLL_VRFGUICOREQT DtLastPointInfoLocation : public DtLocationEntryWidget
00033    {
00034       Q_OBJECT
00035 
00036    public:
00037       DtLastPointInfoLocation(makVrv::DtDe&, QWidget* parent);
00038       virtual ~DtLastPointInfoLocation();
00039    };
00040 
00042    class DT_DLL_VRFGUICOREQT DtLastPointClickedWidget 
00043       : public makVrv::DtPage
00044       , public DtLastPointClickedWidgetInterface      
00045    {
00046       Q_OBJECT
00047 
00048    public:
00049 
00051       virtual ~DtLastPointClickedWidget();
00052 
00054       virtual QIcon icon();
00055 
00057       virtual QString title();
00058 
00060       virtual const std::string& pageClassName() const;
00061 
00062 
00063    protected:
00064 
00066       friend class DtLastPointClickedWidgetCreator;
00067 
00069       DtLastPointClickedWidget(makVrv::DtDe& de, QWidget* parent = 0, Qt::WindowFlags f = 0);
00070 
00072       virtual void activate();
00073 
00075       virtual void deactivate();
00076 
00078       virtual void setupGui();
00079 
00081       virtual void setXLabel(const QString&);
00082       virtual void setYLabel(const QString&);
00083       virtual void setZLabel(const QString&);
00084 
00086       virtual void setXValue(const QString&);
00087       virtual void setYValue(const QString&);
00088 
00089       virtual QString xValue() const;
00090       virtual QString yValue() const;
00091       virtual QString zValue() const;
00092 
00093       virtual DtVector location() const;
00094 
00096       virtual void setLocation(const DtVector&);
00097 
00099       virtual void setCoordinateSystem(
00100          const makArchives::DtDisplayUnitsSettingsRecord::CoordSys& coordSys);
00101 
00103       virtual void setCurrentAltitudeTypeSelection(int);
00104 
00105    private:
00106 
00108       DtLastPointClickedWidget(const DtLastPointClickedWidget& orig);
00109 
00111       DtLastPointClickedWidget& operator=(const DtLastPointClickedWidget& orig);
00112 
00113    protected:
00114       
00115       std::string myClassName;
00116 
00118       DtLastPointClickedWidgetLogic*   myLogic;
00119 
00120    public:
00121       DtLastPointInfoLocation*         myLocation;
00122    };
00123 
00124 
00127    class DT_DLL_VRFGUICOREQT DtLastPointClickedWidgetCreator : public makVrv::DtPageCreator
00128    {
00129    public:
00130 
00132       DtLastPointClickedWidgetCreator(makVrv::DtDe& de);
00133 
00135       virtual ~DtLastPointClickedWidgetCreator();
00136 
00140       virtual std::string pageClassName() const;
00141 
00143       virtual makVrv::DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
00144    };
00145 
00146 }

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)