AvogadroLibs  1.90.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
ViewFactory Class Referenceabstract

The ViewFactory class is a pure virtual that provides a method of dynamically adding views to the MultiViewWidget class. More...

#include <avogadro/qtgui/viewfactory.h>

Public Member Functions

virtual QStringList views () const =0
 Get the list of views the factory provides. More...
 
virtual QWidget * createView (const QString &view)=0
 Create a named view, the caller assumes ownership of the widget. More...
 

Detailed Description

Author
Marcus D. Hanwell

Member Function Documentation

virtual QStringList views ( ) const
pure virtual
Returns
A list of supported views.
virtual QWidget* createView ( const QString &  view)
pure virtual
Parameters
viewThe name of the view.
Returns
A new widget of the requested type, NULL if none exists.

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