fw4spl
fwGuiQt::container::QtContainer Class Reference

Defines the QWidget container for UI. More...

#include <QtContainer.hpp>

+ Inheritance diagram for fwGuiQt::container::QtContainer:
+ Collaboration diagram for fwGuiQt::container::QtContainer:

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUIQT_API QtContainer (::fwGui::GuiBaseObject::Key key) noexcept
 
virtual FWGUIQT_API void setQtContainer (QWidget *container)
 
virtual FWGUIQT_API QWidget * getQtContainer ()
 
virtual FWGUIQT_API void setLayout (QLayout *const layout)
 Assign a layout to the container widget. Previous layout and its children are deleted and the container widget take the ownership of the new layout. More...
 
virtual FWGUIQT_API void clean () override
 
virtual FWGUIQT_API void destroyContainer () override
 
virtual FWGUIQT_API bool isShownOnScreen () override
 
virtual FWGUIQT_API void setVisible (bool isVisible) override
 
virtual FWGUIQT_API void setEnabled (bool isEnabled) override
 
- Public Member Functions inherited from fwGui::container::fwContainer
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::container::fwContainer
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Additional Inherited Members

- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

Defines the QWidget container for UI.

Definition at line 35 of file QtContainer.hpp.

Member Function Documentation

void fwGuiQt::container::QtContainer::setLayout ( QLayout *const  layout)
virtual

Assign a layout to the container widget. Previous layout and its children are deleted and the container widget take the ownership of the new layout.

Parameters
Thelayout to set on the container widget

Definition at line 38 of file QtContainer.cpp.

References SLM_ASSERT.


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