fw4spl
App.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
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 __FWGUIQT_APP_HPP__
8 #define __FWGUIQT_APP_HPP__
9 
10 #include "fwGuiQt/config.hpp"
11 
12 #include <fwRuntime/profile/Profile.hpp>
13 
14 #include <QApplication>
15 
16 namespace fwGuiQt
17 {
18 
23 class FWGUIQT_CLASS_API App : public QApplication
24 {
25 Q_OBJECT
26 
27 public:
28  FWGUIQT_API App(int & argc, char ** argv, bool guiEnabled);
29 
30 public Q_SLOTS:
31  void aboutToQuit();
32  void onExit();
33 
34 };
35 
36 } // namespace fwGuiQt
37 
38 
39 #endif /*__FWGUIQT_APP_HPP__*/
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...
Definition: WindowLevel.hpp:32
Defines the Qt application.
Definition: App.hpp:23