VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
tmqt
pixmapBackground.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2002 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: pixmapBackground.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef PIXMAPBACKGROUND_H_
13
#define PIXMAPBACKGROUND_H_
14
15
#include "
tmqt/tmBackground.h
"
16
20
#include "
tmqt/tmqtDefines.h
"
21
class
DT_DLL_tmqt
DtPixmapBackground
:
public
DtTMBackground
22
{
23
Q_OBJECT
24
25
public
:
27
DtPixmapBackground
();
28
30
DtPixmapBackground
(
const
DtPixmapBackground
& orig);
31
33
virtual
~
DtPixmapBackground
();
34
36
DtPixmapBackground
&
operator=
(
const
DtPixmapBackground
& rhs);
37
39
static
DtTMBackground
* create();
40
41
virtual
bool
init
(
DtTMArea
* area);
42
43
virtual
void
draw
(QPainter* painter = NULL);
44
virtual
void
clear
();
45
47
virtual
void
setFillColor(QColor& color);
48
49
public
slots:
50
virtual
void
loadPixFile(
const
QString& file);
51
52
virtual
void
loadPix(
const
QPixmap& file);
53
54
55
protected
:
56
QPixmap *
myGlobalPixmap
;
57
QColor
myFillColor
;
58
};
59
60
#endif //PIXMAPBACKGROUND_H_
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
)