![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: mmmSymbol.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtMMMSymbol_H_ 00013 #define DtMMMSymbol_H_ 00014 00016 #include "symbology/ttsSymbol.h" 00017 00018 class DtMMMDrawer; 00019 00021 #include <QtGui/QColor> 00022 00023 class QString; 00024 00028 #include "symbology/symbologyDefines.h" 00029 class DT_DLL_symbology DtMMMSymbol : public DtTTSSymbol 00030 { 00031 public: 00032 00033 00035 DtMMMSymbol( DtSymbolDrawer & drawer, 00036 const QString & string = QString(), 00037 const QString & altString = QString() ); 00038 00040 DtMMMSymbol( DtNullDrawer & drawer, 00041 const QString & string = QString(), 00042 const QString & altString = QString() ); 00043 00045 DtMMMSymbol( const DtMMMSymbol& orig ); 00046 00048 DtMMMSymbol& operator=( const DtMMMSymbol& orig ); 00049 00051 virtual ~DtMMMSymbol(); 00052 00054 virtual DtSymbol * clone()const; 00055 00056 //-member data i/o 00057 00058 virtual Qt::BrushStyle fillStyle() const; 00059 virtual void setFillStyle(const Qt::BrushStyle style); 00060 00061 virtual const QColor & fillColor() const; 00062 virtual void setFillColor( const QColor & color ); 00063 00066 virtual void setBackgroundChar(const QChar&); 00067 virtual const QChar& backgroundChar() const; 00068 00069 protected: 00070 virtual QString internalBitmapSymbolCacheKey() const; 00071 00072 private: 00074 DtMMMSymbol(); 00075 00076 protected: 00077 00078 Qt::BrushStyle myFillStyle; 00079 QColor myFillColor; 00080 QChar myBackgroundChar; 00081 }; 00082 00083 #endif