VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtStealthControlWidget.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtStealthControlWidget.h,v $ $Revision: 1.18 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtStealthControlWidget_H_
00014 #define DtStealthControlWidget_H_
00015 
00016 #include <vrvCoreQt/vrvCoreQt.h>
00017 #include <QtGui/QWidget>
00018 #include <QtGui/QMainWindow>
00019 #include <vrvCoreQt/DtStealthControlWidgetInterface.h>
00020 #include <vrvCoreQt/DtStealthControlWidgetUI.hpp>
00021 #include <vrvCoreQt/DtDockable.h>  
00022 #include <vrvCoreQt/DtDockable.h>
00023 
00024 namespace makVrv
00025 {
00026    class DtStealthControlWidgetLogic;
00027    class DtAttachWidget;
00028    class DtEyepointInfoWidget;
00029    class DtEyepointControlWidget;
00030    class DtObjectsListPanel;
00031    
00034    class DT_DLL_VRVCOREQT DtStealthControlWidget : public QWidget,
00035       public DtDockable , public Ui::DtStealthControlWidgetUI,
00036       public DtStealthControlWidgetInterface
00037    {
00038    Q_OBJECT
00039    public:
00041       DtStealthControlWidget( DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
00042 
00044       virtual ~DtStealthControlWidget();
00045       
00047       virtual void addObserver( const std::string& displayName, 
00048          const DtUniqueID& id );
00049         
00051       virtual void removeObserver( const std::string& displayName, 
00052          const DtUniqueID& id );
00053       
00055       virtual void setCurrentObserver( const std::string& observerName );
00056       
00057       virtual QSize sizeHint() const;
00058 
00059       virtual int numObservers() const;
00060 
00061       virtual void setAutoHide(bool);
00062 
00063       virtual void setWidgetVisible(bool);
00064 
00065    public slots:
00066       void observerChanged( int index );
00067 
00068       void onAddObserverClicked();
00069 
00070       void onRemoveObserverClicked();
00071       
00072    protected:
00073    
00075       DtStealthControlWidgetLogic* myLogic;     
00076    };
00077 }
00078 #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)