7 #ifndef __FWGUIQT_CONTAINER_QTCONTAINER_HPP__ 8 #define __FWGUIQT_CONTAINER_QTCONTAINER_HPP__ 10 #include "fwGuiQt/config.hpp" 12 #include <fwCore/base.hpp> 14 #include <fwGui/container/fwContainer.hpp> 16 #include <fwTools/Object.hpp> 42 ::fwGui::factory::New< QtContainer > )
48 FWGUIQT_API virtual
void setQtContainer(QWidget* container);
49 FWGUIQT_API virtual QWidget* getQtContainer();
57 FWGUIQT_API virtual
void setLayout(QLayout* const layout);
59 FWGUIQT_API virtual
void clean() override;
60 FWGUIQT_API virtual
void destroyContainer() override;
61 FWGUIQT_API virtual
bool isShownOnScreen() override;
63 FWGUIQT_API virtual
void setVisible(
bool isVisible) override;
64 FWGUIQT_API virtual
void setEnabled(
bool isEnabled) override;
68 QPointer<QWidget> m_container;
The namespace fwGui contains the base interface for IHM services.
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.
Defines the QWidget container for UI.
Defines the generic container for IHM.