VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtVrfCopyPasteStatusDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtVrfCopyPasteStatusDialog.h,v $ $Revision: 1.4 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00014 
00015 #pragma once
00016 
00017 #include <vrvUtil/signalslib.h>
00018 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00019 
00020 #include <QtGui/QDialog>
00021 
00022 #include <map>
00023 
00024 class QTreeWidget;
00025 class QPushButton;
00026 class QVBoxLayout;
00027 class QTreeWidgetItem;
00028 
00029 namespace makVrf
00030 {
00031    class DtCopyObject;
00032 
00033    class DT_DLL_VRFGUICOREQT DtVrfCopyPasteStatusDialog : public QDialog
00034    {
00035       Q_OBJECT
00036 
00037    typedef std::map<DtCopyObject*, QTreeWidgetItem*>  DtObjectItemMap;
00038 
00039    public:
00040       //CTOR
00041       DtVrfCopyPasteStatusDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00042 
00043       //DTOR
00044       virtual ~DtVrfCopyPasteStatusDialog();
00045 
00046    protected:
00047       virtual void setupGui();
00048       
00050       virtual void operationPending(DtCopyObject*, const std::string& reason);
00051 
00053       virtual void operationsComplete();
00054 
00056       virtual void operationComplete(DtCopyObject*);
00057 
00059       virtual void operationCancelled(DtCopyObject*);
00060 
00062       virtual void setupConnections() = 0;
00063 
00064    public slots:
00066       virtual void cancel();
00067 
00068    public:
00069       QVBoxLayout*   myMainLayout;
00070       QTreeWidget*   myStatus;
00071       QPushButton*   myCancel;
00072       DtObjectItemMap  myObjectItemMap;
00073 
00074    protected:
00075       makVrv::DtDe&  myDe;
00076    };
00077 }

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)