7 #ifndef __FWGUIQT_CONTAINER_QTMENUITEMCONTAINER_HPP__ 8 #define __FWGUIQT_CONTAINER_QTMENUITEMCONTAINER_HPP__ 10 #include "fwGuiQt/config.hpp" 12 #include <fwCore/base.hpp> 14 #include <fwGui/container/fwMenuItem.hpp> 16 #include <fwTools/Object.hpp> 39 ::fwGui::factory::New< QtMenuItemContainer > );
45 FWGUIQT_API virtual
void clean() override;
46 FWGUIQT_API virtual
void destroyContainer() override;
48 FWGUIQT_API virtual
void setQtMenuItem(QAction* menuItem);
49 FWGUIQT_API virtual QAction* getQtMenuItem();
53 QPointer<QAction> m_menuItem;
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.