VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
tmEventHandler
saveMapAreaHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: saveMapAreaHandler.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef SAVEMAPAREAHANDLER_H_
13
#define SAVEMAPAREAHANDLER_H_
14
15
#include "
tmqt/eventHandler.h
"
16
17
class
QFileDialog
;
18
class
QComboBox
;
19
20
#include "
tmEventHandler/tmEventHandlerDefines.h
"
21
class
DT_DLL_tmEventHandler
DtSaveMapAreaHandler
:
public
DtEventHandler
22
{
23
Q_OBJECT
24
25
public
:
26
28
DtSaveMapAreaHandler
();
29
31
virtual
~
DtSaveMapAreaHandler
();
32
33
public
:
35
static
DtEventHandler
* create(
DtEventController
* owner,
void
* usr);
36
37
virtual
QWidget
*
createDialog
(
QWidget
* parent);
38
virtual
void
showDialog
(
bool
b);
39
41
virtual
void
saveMapArea(QPixmap& image,
const
QString& format);
42
virtual
void
saveMapArea(
const
QString& file,
const
QString& format, QPixmap* cpyImage = NULL);
43
44
protected
:
45
QComboBox
*
myOutputFormatComboBox
;
46
};
47
48
#endif //SAVEMAPAREAHANDLER_H_
49
50
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)