AvogadroLibs  1.90.0
Public Slots | Public Member Functions | List of all members
CustomElements Class Reference

Manipulate custom element types in the current molecule.

#include <customelements.h>

Inheritance diagram for CustomElements:
ExtensionPlugin

Public Slots

void setMolecule (QtGui::Molecule *mol)
 
- Public Slots inherited from ExtensionPlugin
virtual void setMolecule (QtGui::Molecule *mol)=0
 
virtual bool readMolecule (QtGui::Molecule &mol)
 
virtual void setScene (Rendering::Scene *scene)
 
virtual void setCamera (Rendering::Camera *camera)
 
virtual void setActiveWidget (QWidget *widget)
 

Public Member Functions

 CustomElements (QObject *parent_=0)
 
QString name () const
 
QString description () const
 
QList< QAction * > actions () const
 
QStringList menuPath (QAction *) const
 
- Public Member Functions inherited from ExtensionPlugin
 ExtensionPlugin (QObject *parent=0)
 
virtual QList< Io::FileFormat * > fileFormats () const
 

Additional Inherited Members

- Signals inherited from ExtensionPlugin
void moleculeReady (int numberOfMolecules)
 
void fileFormatsReady ()
 
void requestActiveTool (QString toolName)
 
void requestActiveDisplayTypes (QStringList displayTypes)
 

Member Function Documentation

◆ name()

QString name ( ) const
virtual

The name of the extension plugin, will be displayed in the user interface.

Implements ExtensionPlugin.

◆ description()

QString description ( ) const
virtual

A description of the extension plugin, may be displayed in the user interface.

Implements ExtensionPlugin.

◆ actions()

QList<QAction*> actions ( ) const
virtual
Returns
The QActions for this extension (should be at least one).

Implements ExtensionPlugin.

◆ menuPath()

QStringList menuPath ( QAction *  action) const
virtual
Returns
The menu path of the supplied action. This can be empty if the action was not recognized, or contain two or more strings (top level, plus name, e.g. File, &Open).

Implements ExtensionPlugin.


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