#include <SalomeWrap_Module.hxx>
Public Member Functions | |
SalomeWrap_Module (const char *name) | |
QxScene_ViewWindow * | getNewWindow (QGraphicsScene *scene) |
int | AssociateViewToWindow (QGraphicsView *gView, QxScene_ViewWindow *viewWindow) |
int | activeStudyId () |
QDockWidget * | objectBrowser () |
QAction * | wCreateAction (const int id, const QString &toolTip, const QIcon &icon, const QString &menu, const QString &status, const int shortCut, QObject *parent=0, bool checkable=false, QObject *receiver=0, const char *member=0) |
int | wCreateMenu (const QString &subMenu, const int parentMenuId, const int menuId=-1, const int groupId=-1, const int index=-1) |
int | wCreateMenu (const QString &subMenu, const QString &parentMenu, const int menuId=-1, const int groupId=-1, const int index=-1) |
int | wCreateMenu (const int actionId, const int menuId, const int groupId=-1, const int index=-1) |
int | wCreateMenu (const int actionId, const QString &menu, const int groupId=-1, const int index=-1) |
int | wCreateMenu (QAction *action, const int menuId, const int actionId=-1, const int groupId=-1, const int index=-1) |
int | wCreateMenu (QAction *action, const QString &menu, const int actionId=-1, const int groupId=-1, const int index=-1) |
int | wCreateTool (const QString &title, const QString &name=QString()) |
int | wCreateTool (const int actionId, const int toolbarId, const int index=-1) |
int | wCreateTool (const int actionId, const QString &toolbar, const int index=-1) |
int | wCreateTool (QAction *action, const int toolbarId, const int actionId=-1, const int index=-1) |
int | wCreateTool (QAction *action, const QString &toolbar, const int actionId=-1, const int index=-1) |
SalomeWrap_DataModel * | getDataModel () |
Static Public Member Functions | |
static QAction * | wSeparator () |
Protected Member Functions | |
virtual CAM_DataModel * | createDataModel () |
Protected Attributes | |
std::map< QGraphicsScene *, QxScene_ViewWindow * > | _mapOfViewWindow |
Definition at line 39 of file SalomeWrap_Module.hxx.
SalomeWrap_Module::SalomeWrap_Module | ( | const char * | name | ) |
Definition at line 41 of file SalomeWrap_Module.cxx.
References _mapOfViewWindow.
int SalomeWrap_Module::activeStudyId | ( | ) |
Definition at line 82 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::activeStudyId().
int SalomeWrap_Module::AssociateViewToWindow | ( | QGraphicsView * | gView, |
QxScene_ViewWindow * | viewWindow | ||
) |
Definition at line 74 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::AssociateViewToWindow().
|
protectedvirtual |
Reimplemented in Yacsgui.
Definition at line 220 of file SalomeWrap_Module.cxx.
SalomeWrap_DataModel * SalomeWrap_Module::getDataModel | ( | ) |
Definition at line 215 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::createNewRun(), YACS::HMI::SuitWrapper::createNewSchema(), YACS::HMI::SuitWrapper::deleteSchema(), and YACS::HMI::SuitWrapper::renameSchema().
QxScene_ViewWindow * SalomeWrap_Module::getNewWindow | ( | QGraphicsScene * | scene | ) |
create a new QxScene_ViewWindow unless the active view is an empty QxScene_ViewWindow automatically created when SALOME module is loaded.
Definition at line 50 of file SalomeWrap_Module.cxx.
References _mapOfViewWindow, and YASSERT.
Referenced by YACS::HMI::SuitWrapper::getNewWindow().
QDockWidget * SalomeWrap_Module::objectBrowser | ( | ) |
Definition at line 87 of file SalomeWrap_Module.cxx.
References gui.logview::w.
Referenced by YACS::HMI::SuitWrapper::objectBrowser().
QAction * SalomeWrap_Module::wCreateAction | ( | const int | id, |
const QString & | toolTip, | ||
const QIcon & | icon, | ||
const QString & | menu, | ||
const QString & | status, | ||
const int | shortCut, | ||
QObject * | parent = 0 , |
||
bool | checkable = false , |
||
QObject * | receiver = 0 , |
||
const char * | member = 0 |
||
) |
Definition at line 108 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::createAction().
int SalomeWrap_Module::wCreateMenu | ( | const QString & | subMenu, |
const int | parentMenuId, | ||
const int | menuId = -1 , |
||
const int | groupId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 123 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::createMenu().
int SalomeWrap_Module::wCreateMenu | ( | const QString & | subMenu, |
const QString & | parentMenu, | ||
const int | menuId = -1 , |
||
const int | groupId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 132 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateMenu | ( | const int | actionId, |
const int | menuId, | ||
const int | groupId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 141 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateMenu | ( | const int | actionId, |
const QString & | menu, | ||
const int | groupId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 149 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateMenu | ( | QAction * | action, |
const int | menuId, | ||
const int | actionId = -1 , |
||
const int | groupId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 157 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateMenu | ( | QAction * | action, |
const QString & | menu, | ||
const int | actionId = -1 , |
||
const int | groupId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 166 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateTool | ( | const QString & | title, |
const QString & | name = QString() |
||
) |
Definition at line 175 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::createTool().
int SalomeWrap_Module::wCreateTool | ( | const int | actionId, |
const int | toolbarId, | ||
const int | index = -1 |
||
) |
Definition at line 180 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateTool | ( | const int | actionId, |
const QString & | toolbar, | ||
const int | index = -1 |
||
) |
Definition at line 187 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateTool | ( | QAction * | action, |
const int | toolbarId, | ||
const int | actionId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 194 of file SalomeWrap_Module.cxx.
int SalomeWrap_Module::wCreateTool | ( | QAction * | action, |
const QString & | toolbar, | ||
const int | actionId = -1 , |
||
const int | index = -1 |
||
) |
Definition at line 202 of file SalomeWrap_Module.cxx.
|
static |
Definition at line 210 of file SalomeWrap_Module.cxx.
Referenced by YACS::HMI::SuitWrapper::separator().
|
protected |
Definition at line 128 of file SalomeWrap_Module.hxx.
Referenced by getNewWindow(), and SalomeWrap_Module().