VR-Forces 4.0.4 Class Documentation
include/vrvVrlQt/DtObjectsCountPanel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile:  $ $Revision:  $ $State:  $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvVrlQt/vrvVrlQt.h> 
00015 #include <vrvCoreQt/DtPage.h>
00016 #include <boost/signal.hpp>
00017 
00018 class QVBoxLayout;
00019 
00020 namespace makVrv
00021 {
00022    class DtObjectsCountTreeWidget;
00023    class DtObjectsCountTreeLogic;
00024 
00028    class DT_DLL_VRVVRLQT DtObjectsCountPanel : public DtPage
00029    {
00030       Q_OBJECT
00031 
00032    public:
00033 
00035       virtual ~DtObjectsCountPanel();
00036 
00038       virtual QIcon icon();
00039 
00041       virtual QString title();
00042 
00044       virtual const std::string& pageClassName() const;
00045 
00047       boost::signal<void(const QRect*)> signal_resized;
00048 
00049    protected:
00050 
00052       friend class DtObjectsCountPageCreator;
00053 
00055       DtObjectsCountPanel(DtDe& de,QWidget* parent = 0, Qt::WindowFlags f = 0);
00056 
00058       virtual void activate();
00059 
00061       virtual void deactivate();
00062 
00064       virtual void resizeEvent ( QResizeEvent * event );
00065 
00066    protected:
00067       std::string myClassName;
00068       QVBoxLayout* myLayout;
00069       DtObjectsCountTreeWidget* myTreeWidget;
00070       DtObjectsCountTreeLogic* myLogic;
00071    };
00072 
00075    class DT_DLL_VRVVRLQT DtObjectsCountPageCreator : public DtPageCreator
00076    {
00077    public:
00078 
00080       DtObjectsCountPageCreator(DtDe& de);
00081 
00083       virtual ~DtObjectsCountPageCreator();
00084 
00088       virtual std::string pageClassName() const;
00089 
00091       virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
00092    };
00093 
00094 }
00095 

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)