Choreonoid  1.5
App.h
Go to the documentation of this file.
1 
5 #ifndef CNOID_BASE_APP_H
6 #define CNOID_BASE_APP_H
7 
8 #include <string>
9 #include <QWidget>
10 #include "exportdecl.h"
11 
12 namespace cnoid {
13 
14 class ExtensionManager;
15 class AppImpl;
16 
17 class CNOID_EXPORT App : public QObject
18 {
19  Q_OBJECT
20 
21 public:
28  App(int& argc, char**& argv);
29  ~App();
30 
31  void initialize(const char* appName, const char* vendorName, const QIcon& icon, const char* pluginPathList);
32 
33  int exec();
34 
35  static void clearFocusView();
36 
37  virtual bool eventFilter(QObject* watched, QEvent* event);
38 
39 private:
40  AppImpl* impl;
41 
42 private Q_SLOTS:
43  void onFocusChanged(QWidget* old, QWidget* now);
44 
45 };
46 
47 }
48 
49 #endif
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
Definition: App.h:17
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37