fw4spl
fwGui::dialog::ILoggerDialog Class Referenceabstract

ILoggerDialog is used to display a dialog message and a set of logs. More...

#include <ILoggerDialog.hpp>

+ Inheritance diagram for fwGui::dialog::ILoggerDialog:
+ Collaboration diagram for fwGui::dialog::ILoggerDialog:

Public Types

typedef std::string FactoryRegistryKeyType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUI_API ILoggerDialog ()
 Constructor.
 
virtual FWGUI_API ~ILoggerDialog ()
 Destructor.
 
virtual FWGUI_API void setTitle (const std::string &title)=0
 Set the dialog title. More...
 
virtual FWGUI_API void setMessage (const std::string &message)=0
 Set the dialog message. More...
 
virtual FWGUI_API void setLogger (const ::fwLog::Logger::sptr &logger)=0
 Set the dialog logger. More...
 
virtual FWGUI_API bool show ()=0
 Show the dialog and return whether the user has selected the Ok or Cancel button.
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- 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
 

Static Public Attributes

static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY = "::fwGui::dialog::LoggerDialog"
 This unique key should be used for all factory for specific Selector(qt,wx,...)
 

Demangling methods

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

Additional Inherited Members

- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Detailed Description

ILoggerDialog is used to display a dialog message and a set of logs.

Definition at line 26 of file ILoggerDialog.hpp.

Member Function Documentation

virtual FWGUI_API void fwGui::dialog::ILoggerDialog::setLogger ( const ::fwLog::Logger::sptr &  logger)
pure virtual

Set the dialog logger.

Parameters
[in]loggerDialog logger

Implemented in fwGui::dialog::LoggerDialog, and fwGuiQt::dialog::LoggerDialog.

virtual FWGUI_API void fwGui::dialog::ILoggerDialog::setMessage ( const std::string &  message)
pure virtual

Set the dialog message.

Parameters
[in]messageDialog message

Implemented in fwGui::dialog::LoggerDialog, and fwGuiQt::dialog::LoggerDialog.

virtual FWGUI_API void fwGui::dialog::ILoggerDialog::setTitle ( const std::string &  title)
pure virtual

Set the dialog title.

Parameters
[in]titleDialog title

Implemented in fwGui::dialog::LoggerDialog, and fwGuiQt::dialog::LoggerDialog.


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