7 #ifndef __FWGUIQT_DIALOG_LOGGERDIALOG_HPP__ 8 #define __FWGUIQT_DIALOG_LOGGERDIALOG_HPP__ 10 #include "fwGuiQt/config.hpp" 12 #include <fwGui/dialog/ILoggerDialog.hpp> 16 #include <QTableWidget> 38 ::fwGui::factory::New< LoggerDialog > );
50 FWGUIQT_API
virtual void setTitle(
const std::string& title)
override;
56 FWGUIQT_API
virtual void setMessage(
const std::string& message)
override;
62 FWGUIQT_API
virtual void setLogger(const ::fwLog::Logger::sptr& logger)
override;
67 FWGUIQT_API
virtual bool show()
override;
75 void displayLogs(
int state);
82 std::string m_message;
85 ::fwLog::Logger::sptr m_logger;
88 QPointer<QDialog> m_dialog;
91 QPointer<QTableWidget> m_logTableWidget;
ILoggerDialog is used to display a dialog message and a set of logs.
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...
LoggerDialog allowing the choice of an element among severals (_selections)
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.