VR-Forces 4.2 Class Documentation
symbolLensArea.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: symbolLensArea.h,v $ $Revision: 1.26 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef SYMBOLLENSAREA_H
13 #define SYMBOLLENSAREA_H
14 
16 #include "filterLenses/lensArea.h"
17 class DtSymbol;
18 class DtSymbolList;
19 
23 {
24  Q_OBJECT
25 
26 public:
27 
29  DtSymbolLensArea(QWidget * parent = 0, Qt::WindowFlags = 0, bool useGL = false);
30 
32  virtual ~DtSymbolLensArea();
33 
34  virtual void setSymbolList(DtSymbolList* mySymbolList);
35 
37  virtual DtSymbolList* symbolList();
38 
39 public:
40 
42  static DtSymbolLensArea* create(QWidget * parent, const Qt::WindowFlags& flags, bool useGL = false);
43 
48  virtual void drawOrderSymbols(DtSymbolList* list, bool addAll);
49 
52  virtual void insertIntoDrawOrder(DtSymbol*);
53 
55  virtual void drawOrderSymbols();
56 
58  virtual DtSymbolList* drawOrder();
59 
61  virtual void clearDrawOrder();
62 
64  virtual void setForceDrawOrderAdd(bool);
65  virtual bool forceDrawOrderAdd() const;
66 
68  void setBlockSymbolTick(bool);
69  bool blockSymbolTick() const;
70 
72  virtual void removeSymbol(DtSymbol*);
73 
74 public slots:
75  //redraw the background
76  virtual void tick();
77 
78 protected slots:
79 
80  virtual void symbolDestroyed(QObject*);
81 
82 protected:
83 
84  DtSymbol* filterModelData(DtSymbol* symbol);
85 
86  //Tick the symbolList if it exists.
87  virtual void tickSymbolList();
88 
89  virtual void addSymbolToDrawOrder(DtSymbol* s);
90 
91 protected:
92  //The following items are passed into this class
93  //Thus they are not owned or deleted, but the class
94  //should be destroyed before these items are
95 
96  //Only one of these symbols is used at the same time
98 
100 
103 };
104 
106 {
107  myBlockSymbolTick = b;
108 }
109 
111 {
112  return myBlockSymbolTick;
113 }
114 
115 #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)