27 #include "../../../qt/widgets/layout/LayoutEditor.h" 
   28 #include "../../af/ApplicationController.h" 
   29 #include "../../af/Project.h" 
   33 #include <QtCore/QObject> 
   34 #include <QtGui/QMenu> 
   35 #include <QtGui/QMenuBar> 
   50     delete m_layoutEditor;
 
   55   if(m_layoutEditor == 0)
 
   59     QMenuBar* menubar = (QMenuBar*)menu->parent();
 
   60     QWidget* parent = (QWidget*)menubar->parent();
 
   67   m_layoutEditor->getLayoutEditor()->show();
 
This is an abstract class used to register actions into vp pluging. 
 
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters. 
 
virtual ~LayoutEditorAction()
 
static ApplicationController & getInstance()
It gives access to the controller singleton. 
 
LayoutEditorAction(QMenu *menu)
 
virtual void onActionActivated(bool checked)
 
This file defines the Transformation class. 
 
QMenu * getMenu(const QString &id)
Returns a menu registered with key id.