VR-Forces 4.2 Class Documentation
bmpSymbol.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: bmpSymbol.h,v $ $Revision: 1.13 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtBMPSymbol_H_
13 #define DtBMPSymbol_H_
14 
15 #include "symbology/symbol.h"
16 
17 #include <QtGui/QPixmap>
18 
19 class DtSymbolDrawer;
20 class DtNullDrawer;
21 
22 class QString;
23 
28 {
29 public:
30 
32  DtBMPSymbol( DtSymbolDrawer & drawer );
33  DtBMPSymbol( DtSymbolDrawer & drawer, const QString & filename );
34  DtBMPSymbol( DtSymbolDrawer & drawer, const QPixmap & pm );
35 
37  DtBMPSymbol( DtNullDrawer & drawer, const QString & filename );
38 
40  DtBMPSymbol(const DtBMPSymbol& orig);
41 
43  DtBMPSymbol& operator=(const DtBMPSymbol& orig);
44 
46  virtual ~DtBMPSymbol();
47 
49  virtual DtSymbol * clone()const;
50 
52  virtual const QString & filename() const;
53  virtual void setFilename(const QString&);
54 
56  virtual const QPixmap& pixmap() const;
57  virtual void setPixmap(const QPixmap&);
58 
60  virtual void setGhosted(bool ghosted);
61 
63  virtual bool ghosted() const;
64 
65  virtual bool isScalable() const;
66 
67  bool operator==(const DtBMPSymbol& orig) const;
68  bool operator!=(const DtBMPSymbol& orig) const;
69 
70  virtual bool transparentCacheChanged() const;
71 
72 private:
74  DtBMPSymbol();
75 
76 protected:
77  QString myFilename;
78  QPixmap myPixmap;
79  bool myGhosted;
80 };
81 
82 #endif

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)