QVISH 0.1
Classes | Public Member Functions | Public Attributes | List of all members
Wizt::qVPlanktonViewer Class Referenceabstract

A Vish object representing a QT rendering of the underlying Object Pool structure. More...

#include <qVPlanktonViewer.hpp>

Inheritance diagram for Wizt::qVPlanktonViewer:
Wizt::VObjectNet Wizt::VPlanktonViewer Wizt::qVScriptor

Classes

struct  InputType
 

Public Member Functions

void addToTab (QTabWidget &theContainerWidget, const QString &Name)
 Add this viewer to the specific QTabWidget and register it for removal during destruction.
 
virtual string qname ()=0
 Override this function providing the name how it should show up in the PlanktonViewer menu.
 
 qVPlanktonViewer (const string &name, int p, const RefPtr< VCreationPreferences > &VP)
 
virtual QWidget * qwidget ()=0
 Override this function providing the actual QT widget.
 
void setCurrent () const
 

Public Attributes

QPointer< QTabWidget > myContainerWidget
 
VPolyOutput< InputType, VMainWindowmyPlanktonEater
 The connection type to the VMainWindow.
 
QPointer< QWidget > myTabContent
 

Detailed Description

A Vish object representing a QT rendering of the underlying Object Pool structure.

qVish needs to implement two virtual functions:

virtual QWidget*qwidget();
virtual string qname();
virtual QWidget * qwidget()=0
Override this function providing the actual QT widget.
virtual string qname()=0
Override this function providing the name how it should show up in the PlanktonViewer menu.
Todo:
Equip this object type with an input that allows to trigger re-rendering of the VObjectPool structure.

Member Function Documentation

◆ qname()

virtual string Wizt::qVPlanktonViewer::qname ( )
pure virtual

Override this function providing the name how it should show up in the PlanktonViewer menu.

Implemented in Wizt::VPlanktonViewer, Wizt::VObjectNet, and Wizt::qVScriptor.

◆ qwidget()

virtual QWidget * Wizt::qVPlanktonViewer::qwidget ( )
pure virtual

Override this function providing the actual QT widget.

Implemented in Wizt::VPlanktonViewer, Wizt::VObjectNet, and Wizt::qVScriptor.


The documentation for this class was generated from the following files: