---
name: "View.h"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/View.h"
---

# View.h(3tulip)

## NAME

View.h -

## SYNOPSIS

`#include <QtGui/QWidget>`\
 `#include <QtGui/QMainWindow>`\
 `#include <tulip/Plugin.h>`\
 `#include <tulip/TulipRelease.h>`\
 `#include <tulip/TemplateFactory.h>`\
 `#include <tulip/ObservableGraph.h>`\
 `#include <tulip/Vector.h>`\
 `#include 'GWInteractor.h'`\

### Classes

class **tlp::View**\
 *Tulip view interface class.*  class **tlp::ViewContext**\
 class **tlp::ViewFactory**\

### Namespaces

namespace **tlp**\

### Defines

\#define **VIEWPLUGINFACTORY**(T, C, N, A, D, I, R, G)\
 \#define **VIEWPLUGINOFGROUP**(C, N, A, D, I, R, G)   VIEWPLUGINFACTORY(View,C,N,A,D,I,R,G)\
 \#define **VIEWPLUGIN**(C, N, A, D, I, R)   VIEWPLUGINOFGROUP(C,N,A,D,I,R,'')\

## Define Documentation

### #define VIEWPLUGIN(C, N, A, D, I, R) VIEWPLUGINOFGROUP(C,N,A,D,I,R,'')

### #define VIEWPLUGINFACTORY(T, C, N, A, D, I, R, G) Value:

```
class C##T##Factory:public tlp::T##Factory       {                                                public:                                            C##T##Factory(){                             initFactory();                               factory->registerPlugin(this);             }                                    string getName() const { return string(N);}      string getGroup() const { return string(G);}     string getAuthor() const {return string(A);}     string getDate() const {return string(D);}       string getInfo() const {return string(I);}       string getRelease() const {return string(R);}  string getTulipRelease() const {return string(TULIP_RELEASE);}   tlp::T * createPluginObject(ViewContext *ic)           {                                        C *tmp = new C();                        return ((tlp::T *) tmp);                 }                                  };                                               extern 'C' {                                              C##T##Factory C##T##FactoryInitializer;               }
```

### #define VIEWPLUGINOFGROUP(C, N, A, D, I, R, G) VIEWPLUGINFACTORY(View,C,N,A,D,I,R,G)

## Author

Generated automatically by Doxygen for Tulip QT Library from the source code.
