fw4spl
fwGuiQt::dialog::LoggerDialog Class Reference

LoggerDialog allowing the choice of an element among severals (_selections) More...

#include <LoggerDialog.hpp>

+ Inheritance diagram for fwGuiQt::dialog::LoggerDialog:
+ Collaboration diagram for fwGuiQt::dialog::LoggerDialog:

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUIQT_API LoggerDialog (::fwGui::GuiBaseObject::Key key)
 Constructor.
 
virtual FWGUIQT_API ~LoggerDialog ()
 Destructor.
 
virtual FWGUIQT_API void setTitle (const std::string &title) override
 Set the dialog title. More...
 
virtual FWGUIQT_API void setMessage (const std::string &message) override
 Set the dialog message. More...
 
virtual FWGUIQT_API void setLogger (const ::fwLog::Logger::sptr &logger) override
 Set the dialog logger. More...
 
virtual FWGUIQT_API bool show () override
 Show the dialog and return whether the user has selected the Ok or Cancel button.
 
- Public Member Functions inherited from fwGui::dialog::ILoggerDialog
FWGUI_API ILoggerDialog ()
 Constructor.
 
virtual FWGUI_API ~ILoggerDialog ()
 Destructor.
 
- 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::dialog::ILoggerDialog
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
 

Protected Slots

void displayLogs (int state)
 Slot called when the user wants to display the logs. More...
 

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::dialog::ILoggerDialog
typedef std::string FactoryRegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 
- Static Public Attributes inherited from fwGui::dialog::ILoggerDialog
static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY = "::fwGui::dialog::LoggerDialog"
 This unique key should be used for all factory for specific Selector(qt,wx,...)
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

LoggerDialog allowing the choice of an element among severals (_selections)

Definition at line 29 of file t/include/fwGuiQt/dialog/LoggerDialog.hpp.

Member Function Documentation

void fwGuiQt::dialog::LoggerDialog::displayLogs ( int  state)
protectedslot

Slot called when the user wants to display the logs.

Parameters
[in]stateCheckbox state

Definition at line 216 of file t/src/fwGuiQt/dialog/LoggerDialog.cpp.

Referenced by show().

+ Here is the caller graph for this function:

void fwGuiQt::dialog::LoggerDialog::setLogger ( const ::fwLog::Logger::sptr &  logger)
overridevirtual

Set the dialog logger.

Parameters
[in]loggerDialog logger

Implements fwGui::dialog::ILoggerDialog.

Definition at line 62 of file t/src/fwGuiQt/dialog/LoggerDialog.cpp.

void fwGuiQt::dialog::LoggerDialog::setMessage ( const std::string &  message)
overridevirtual

Set the dialog message.

Parameters
[in]messageDialog message

Implements fwGui::dialog::ILoggerDialog.

Definition at line 55 of file t/src/fwGuiQt/dialog/LoggerDialog.cpp.

void fwGuiQt::dialog::LoggerDialog::setTitle ( const std::string &  title)
overridevirtual

Set the dialog title.

Parameters
[in]titleDialog title

Implements fwGui::dialog::ILoggerDialog.

Definition at line 48 of file t/src/fwGuiQt/dialog/LoggerDialog.cpp.


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