UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zq_view.hpp
1 /* zq_view.hpp */
2 /* $Id: zq_view.hpp,v 1.5 2008/04/17 12:10:24 vlad Exp $ */
3 #ifndef __zq_view_hpp
4 #define __zq_view_hpp
5 
6 
7 #include <qpen.h>
8 
9 #include "zq_object.hpp"
10 #include "zqb_view.hpp"
11 
12 
18 class ZqView : public ZqObject, public ZqbView
19 {
20 public:
21 
23  ZqView (const char* szName = NULL);
24 
26  ZqView (ZqbPlaceholder* pPh, const char* szName = NULL);
27 
28 
29  /*
30  * Refresh operations for the view
31  */
32 
35  virtual void updateView ();
36 
37 
38  /*
39  * Link between document and view
40  */
41 
44  virtual void attachDoc (ZdDocument* pData);
45 
48  virtual void detachDoc ();
49 
50 private:
51 
53  static int s_iNameCounter;
54 
55 };
56 
57 
58 #endif /* zq_view.hpp */
Definition: zqb_view.hpp:22
virtual void updateView()
Definition: zqb_placeholder.hpp:25
Definition: zq_view.hpp:18
virtual void attachDoc(ZdDocument *pData)
Definition: zd_document.hpp:16
virtual void detachDoc()
ZqView(const char *szName=NULL)
Definition: zq_object.hpp:36