fw4spl
ClassFactoryRegistryInfo.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __MONITORQT_ACTION_CLASSFACTORYREGISTRYINFO_HPP__
8 #define __MONITORQT_ACTION_CLASSFACTORYREGISTRYINFO_HPP__
9 
10 #include "monitorQt/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 #include <QApplication>
15 #include <QDialog>
16 #include <QTreeWidget>
17 
18 namespace monitorQt
19 {
20 namespace action
21 {
25 class MONITORQT_CLASS_API ClassFactoryRegistryInfo : public ::fwGui::IActionSrv
26 {
27 
28 public:
29 
31 
33  MONITORQT_API ClassFactoryRegistryInfo() noexcept;
34 
36  MONITORQT_API virtual ~ClassFactoryRegistryInfo() noexcept;
37 
38 protected:
39 
41  void configuring() override;
42 
44  void starting() override;
45 
47  void updating() override;
48 
50  void stopping() override;
51 
52 private:
53 
55  QDialog* m_dialog;
56 
58  QTreeWidget* m_tree;
59 
60 };
61 
62 } // namespace action
63 } // namespace monitorQt
64 
65 #endif // __MONITORQT_ACTION_CLASSFACTORYREGISTRYINFO_HPP__
66 
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
Implements an action to show services registered in factory.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.