VR-Forces 4.1.1 Class Documentation
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"
22 {
23  Q_OBJECT
24 
25 public:
28 
31 
33  virtual ~DtPixmapBackground();
34 
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)