7 #ifndef __FWGUIQT_CONTAINER_QTMENUCONTAINER_HPP__ 8 #define __FWGUIQT_CONTAINER_QTMENUCONTAINER_HPP__ 10 #include "fwGuiQt/config.hpp" 12 #include <fwCore/base.hpp> 14 #include <fwGui/container/fwMenu.hpp> 16 #include <fwTools/Object.hpp> 40 ::fwGui::factory::New< QtMenuContainer > );
46 FWGUIQT_API virtual
void clean() override;
47 FWGUIQT_API virtual
void destroyContainer() override;
49 FWGUIQT_API virtual
void setQtMenu(QMenu* menu);
50 FWGUIQT_API virtual QMenu* getQtMenu();
54 QPointer<QMenu> m_menu;
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.