![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: nullDrawer.h,v $ $Revision: 1.8 $ $State: Exp $ 00007 *********************************************************************/ 00008 00011 00012 #ifndef DtNullDrawer_H_ 00013 #define DtNullDrawer_H_ 00014 00015 #include "symbolDrawerInterface/symbolDrawerInterfaceDefines.h" 00016 #include "symbolDrawerInterface/symbolDrawer.h" 00017 00018 class DtSymbol; 00019 class QPaintDevice; 00020 00021 00031 00032 class DT_DLL_symbolDrawerInterface DtNullDrawer : public DtSymbolDrawer 00033 { 00034 public: 00035 virtual ~DtNullDrawer(); 00036 DtNullDrawer( ); 00037 00038 virtual bool draw(QPainter& paint, 00039 const DtSymbol * const symbol ) const; 00040 00041 virtual QSize calcBBox( const DtSymbol * const symbol ) const; 00042 00043 static DtSymbolDrawer* create(); 00044 00045 protected: 00047 DtNullDrawer(const DtNullDrawer& orig); 00048 00050 DtNullDrawer& operator=(const DtNullDrawer& orig); 00051 }; 00052 00053 #endif 00054