VR-Forces 4.0.4 Class Documentation
include/tmEventHandler/saveMapAreaHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: saveMapAreaHandler.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef SAVEMAPAREAHANDLER_H_
00013 #define SAVEMAPAREAHANDLER_H_
00014 
00015 #include "tmqt/eventHandler.h"
00016 
00017 class QFileDialog;
00018 class QComboBox;
00019 
00020 #include "tmEventHandler/tmEventHandlerDefines.h"
00021 class DT_DLL_tmEventHandler DtSaveMapAreaHandler : public DtEventHandler
00022 {
00023    Q_OBJECT
00024    
00025 public:
00026 
00028    DtSaveMapAreaHandler();
00029    
00031    virtual ~DtSaveMapAreaHandler();
00032 
00033 public:
00035    static DtEventHandler* create(DtEventController* owner, void* usr);
00036 
00037    virtual QWidget* createDialog(QWidget* parent);
00038    virtual void showDialog(bool b);
00039 
00041    virtual void saveMapArea(QPixmap& image, const QString& format);
00042    virtual void saveMapArea(const QString& file, const QString& format, QPixmap* cpyImage = NULL);
00043 
00044 protected:
00045    QComboBox* myOutputFormatComboBox;
00046 };
00047 
00048 #endif //SAVEMAPAREAHANDLER_H_
00049 
00050 

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)