VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/vrfOverlayTreeView.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2002 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: vrfOverlayTreeView.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #pragma once
00010 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00011 #include <vrfGuiCoreQt/DtVrfTreeWidget.h>
00012 #include <vrfGuiCoreQt/DtVrfTreeWidget.h>
00013 #include <QtGui/QTreeWidget>
00014 #include <Qt/qstringlist.h>
00015 
00016 namespace makVrf
00017 {
00018    class DT_DLL_VRFGUICOREQT DtVrfOverlayTreeView : public DtVrfTreeWidget
00019    {
00020       Q_OBJECT
00021 
00022    public:
00024       DtVrfOverlayTreeView( makVrv::DtDe& de, QWidget* parent = 0 );      
00025 
00027       virtual ~DtVrfOverlayTreeView();
00028 
00029       boost::signal<void (const QStringList& children, std::string overlay)> signal_itemMoved;
00030 
00031    protected:
00032 
00033       virtual QMimeData* mimeData(const QList<QTreeWidgetItem*> list) const;
00034 
00036       virtual bool canDropOnItem(QTreeWidgetItem*, const QStringList& globalIds, QDragMoveEvent* event) const;
00037 
00039       virtual void dropItems(const QStringList& globalIds, QTreeWidgetItem*);
00040 
00041       virtual bool isOverlay( QTreeWidgetItem* item ) const;
00042 
00045 
00047       virtual makVrv::DtUniqueID uniqueIDForListItem(QTreeWidgetItem* item) const;
00048 
00049    private:
00051       DtVrfOverlayTreeView(const DtVrfOverlayTreeView& orig);
00052       DtVrfOverlayTreeView& operator=(const DtVrfOverlayTreeView& rhs);
00053    };
00054 }

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)