20 #ifndef _SALOMEWRAP_MODULE_HXX_
21 #define _SALOMEWRAP_MODULE_HXX_
25 #include <SalomeApp_Module.h>
26 #include <SALOMEconfig.h>
28 #include <QGraphicsScene>
29 #include <QGraphicsView>
30 #include <QDockWidget>
34 class SalomeApp_Application;
35 class QxScene_ViewWindow;
49 QxScene_ViewWindow* viewWindow);
51 QDockWidget* objectBrowser();
53 QAction* wCreateAction(
const int id,
54 const QString& toolTip,
57 const QString& status,
60 bool checkable =
false,
62 const char* member =0);
64 int wCreateMenu(
const QString& subMenu,
65 const int parentMenuId,
66 const int menuId = -1,
67 const int groupId = -1,
68 const int index = -1);
70 int wCreateMenu(
const QString& subMenu,
71 const QString& parentMenu,
72 const int menuId = -1,
73 const int groupId = -1,
74 const int index = -1);
76 int wCreateMenu(
const int actionId,
78 const int groupId = -1,
79 const int index = -1);
81 int wCreateMenu(
const int actionId,
83 const int groupId = -1,
84 const int index = -1);
86 int wCreateMenu(QAction* action,
88 const int actionId = -1,
89 const int groupId = -1,
90 const int index = -1);
92 int wCreateMenu(QAction* action,
94 const int actionId = -1,
95 const int groupId = -1,
96 const int index = -1);
98 int wCreateTool(
const QString& title,
99 const QString& name = QString());
101 int wCreateTool(
const int actionId,
103 const int index = -1);
105 int wCreateTool(
const int actionId,
106 const QString& toolbar,
107 const int index = -1);
109 int wCreateTool(QAction* action,
111 const int actionId = -1,
112 const int index = -1);
114 int wCreateTool(QAction* action,
115 const QString& toolbar,
116 const int actionId = -1,
117 const int index = -1);
119 static QAction* wSeparator();
124 virtual CAM_DataModel* createDataModel();
#define SALOMEWRAP_EXPORT
std::map< QGraphicsScene *, QxScene_ViewWindow * > _mapOfViewWindow