VR-Forces 4.0.4 Class Documentation
include/symbology/bmpSymbol.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2001 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: bmpSymbol.h,v $ $Revision: 1.13 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtBMPSymbol_H_
00013 #define DtBMPSymbol_H_
00014 
00015 #include "symbology/symbol.h"
00016 
00017 #include <QtGui/QPixmap>
00018 
00019 class DtSymbolDrawer;
00020 class DtNullDrawer;
00021 
00022 class QString;
00023 
00026 #include "symbology/symbologyDefines.h"
00027 class DT_DLL_symbology DtBMPSymbol : public DtSymbol
00028 {
00029 public:
00030 
00032    DtBMPSymbol( DtSymbolDrawer & drawer );
00033    DtBMPSymbol( DtSymbolDrawer & drawer, const QString & filename );
00034    DtBMPSymbol( DtSymbolDrawer & drawer, const QPixmap & pm );
00035 
00037    DtBMPSymbol( DtNullDrawer & drawer, const QString & filename );
00038 
00040    DtBMPSymbol(const DtBMPSymbol& orig);
00041 
00043    DtBMPSymbol& operator=(const DtBMPSymbol& orig);
00044 
00046    virtual ~DtBMPSymbol();
00047 
00049    virtual DtSymbol * clone()const;
00050 
00052    virtual const QString &    filename() const;
00053    virtual void   setFilename(const QString&);
00054 
00056    virtual const QPixmap& pixmap() const;
00057    virtual void setPixmap(const QPixmap&);
00058 
00060    virtual void setGhosted(bool ghosted);
00061 
00063    virtual bool ghosted() const;
00064 
00065    virtual bool isScalable() const;
00066 
00067    bool operator==(const DtBMPSymbol& orig) const;
00068    bool operator!=(const DtBMPSymbol& orig) const;
00069 
00070    virtual bool transparentCacheChanged() const;
00071 
00072 private:
00074    DtBMPSymbol();
00075 
00076 protected: 
00077    QString           myFilename;
00078    QPixmap           myPixmap;
00079    bool              myGhosted;
00080 };
00081 
00082 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)