20 #ifndef _SUITWRAPPER_HXX_
21 #define _SUITWRAPPER_HXX_
30 #include <QDockWidget>
31 #include <QGraphicsScene>
52 QDockWidget* objectBrowser();
54 QAction* createAction(
const int id,
55 const QString& toolTip,
58 const QString& status,
61 bool checkable =
false,
63 const char* member =0);
65 int createMenu(
const QString& subMenu,
66 const int parentMenuId,
67 const int menuId = -1,
68 const int groupId = -1,
69 const int index = -1);
71 int createMenu(
const QString& subMenu,
72 const QString& parentMenu,
73 const int menuId = -1,
74 const int groupId = -1,
75 const int index = -1);
77 int createMenu(
const int actionId,
79 const int groupId = -1,
80 const int index = -1);
82 int createMenu(
const int actionId,
84 const int groupId = -1,
85 const int index = -1);
87 int createMenu(QAction* action,
89 const int actionId = -1,
90 const int groupId = -1,
91 const int index = -1);
93 int createMenu(QAction* action,
95 const int actionId = -1,
96 const int groupId = -1,
97 const int index = -1);
99 int createTool(
const QString& title,
100 const QString& name = QString());
102 int createTool(
const int actionId,
104 const int index = -1);
106 int createTool(
const int actionId,
107 const QString& toolbar,
108 const int index = -1);
110 int createTool(QAction* action,
112 const int actionId = -1,
113 const int index = -1);
115 int createTool(QAction* action,
116 const QString& toolbar,
117 const int actionId = -1,
118 const int index = -1);
120 static QAction* separator();
122 void setMenuShown(QAction* act,
bool show);
123 void setToolShown(QAction* act,
bool show);
125 void createNewSchema(
const QString& schemaName,
127 bool renameSchema(
const QString& oldName,
128 const QString& newName,
130 bool deleteSchema(
QWidget* viewWindow);
131 void createNewRun(
const QString& schemaName,
132 const QString& runName,
135 QStringList getQuickDirList();
136 virtual void onHelpContextModule(
const QString&,
const QString&,
const QString& = QString() );