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);
53 QDockWidget* objectBrowser();
55 QAction* wCreateAction(
const int id,
56 const QString& toolTip,
59 const QString& status,
62 bool checkable =
false,
64 const char* member =0);
66 int wCreateMenu(
const QString& subMenu,
67 const int parentMenuId,
68 const int menuId = -1,
69 const int groupId = -1,
70 const int index = -1);
72 int wCreateMenu(
const QString& subMenu,
73 const QString& parentMenu,
74 const int menuId = -1,
75 const int groupId = -1,
76 const int index = -1);
78 int wCreateMenu(
const int actionId,
80 const int groupId = -1,
81 const int index = -1);
83 int wCreateMenu(
const int actionId,
85 const int groupId = -1,
86 const int index = -1);
88 int wCreateMenu(QAction* action,
90 const int actionId = -1,
91 const int groupId = -1,
92 const int index = -1);
94 int wCreateMenu(QAction* action,
96 const int actionId = -1,
97 const int groupId = -1,
98 const int index = -1);
100 int wCreateTool(
const QString& title,
101 const QString& name = QString());
103 int wCreateTool(
const int actionId,
105 const int index = -1);
107 int wCreateTool(
const int actionId,
108 const QString& toolbar,
109 const int index = -1);
111 int wCreateTool(QAction* action,
113 const int actionId = -1,
114 const int index = -1);
116 int wCreateTool(QAction* action,
117 const QString& toolbar,
118 const int actionId = -1,
119 const int index = -1);
121 static QAction* wSeparator();
126 virtual CAM_DataModel* createDataModel();