VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
tmEventHandler
printHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2004 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: printHandler.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DTPRINTHANDLER_H_
13
#define DTPRINTHANDLER_H_
14
15
#include "
tmqt/eventHandler.h
"
16
#include "
tmEventHandler/tmEventHandlerDefines.h
"
17
18
#include <QtGui/QPrinter>
19
#include <QtGui/QPrintDialog>
20
22
class
DT_DLL_tmEventHandler
DtPrintHandler
:
public
DtEventHandler
23
{
24
Q_OBJECT
25
26
public
:
28
DtPrintHandler
();
29
31
virtual
~
DtPrintHandler
();
32
33
public
:
35
static
DtEventHandler
* create(
DtEventController
* owner,
void
* usr);
36
38
virtual
QWidget
*
createDialog
(
QWidget
* parent);
39
virtual
void
showDialog
(
bool
bShow);
40
41
virtual
void
setPrintBackground(
bool
b);
42
43
protected
:
46
virtual
double
getDrawingScalingFactor(QPaintDevice* printer, QPaintDevice* window);
47
48
protected
:
49
bool
myPrintBackground
;
50
QPrinter
myPrinter
;
51
};
52
53
#endif //DTPRINTHANDLER_H_
54
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)