viewer QGraphicsScene: deriver SUIT_ViewModel comme QxGraph_Viewer More...
#include <SuitWrapper.hxx>

Public Member Functions | |
| SuitWrapper (QObject *wrapped) | |
| virtual | ~SuitWrapper () | 
| QWidget * | getNewWindow (QGraphicsScene *scene) | 
| int | AssociateViewToWindow (QGraphicsView *gView, QWidget *viewWindow) | 
| int | activeStudyId () | 
| QDockWidget * | objectBrowser () | 
| QAction * | createAction (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 | createMenu (const QString &subMenu, const int parentMenuId, const int menuId=-1, const int groupId=-1, const int index=-1) | 
| int | createMenu (const QString &subMenu, const QString &parentMenu, const int menuId=-1, const int groupId=-1, const int index=-1) | 
| int | createMenu (const int actionId, const int menuId, const int groupId=-1, const int index=-1) | 
| int | createMenu (const int actionId, const QString &menu, const int groupId=-1, const int index=-1) | 
| int | createMenu (QAction *action, const int menuId, const int actionId=-1, const int groupId=-1, const int index=-1) | 
| int | createMenu (QAction *action, const QString &menu, const int actionId=-1, const int groupId=-1, const int index=-1) | 
| int | createTool (const QString &title, const QString &name=QString()) | 
| int | createTool (const int actionId, const int toolbarId, const int index=-1) | 
| int | createTool (const int actionId, const QString &toolbar, const int index=-1) | 
| int | createTool (QAction *action, const int toolbarId, const int actionId=-1, const int index=-1) | 
| int | createTool (QAction *action, const QString &toolbar, const int actionId=-1, const int index=-1) | 
| void | setMenuShown (QAction *act, bool show) | 
| void | setToolShown (QAction *act, bool show) | 
| void | createNewSchema (const QString &schemaName, QWidget *viewWindow) | 
| bool | renameSchema (const QString &oldName, const QString &newName, QWidget *viewWindow) | 
| bool | deleteSchema (QWidget *viewWindow) | 
| void | createNewRun (const QString &schemaName, const QString &runName, QWidget *refWindow, QWidget *viewWindow) | 
| QStringList | getQuickDirList () | 
| virtual void | onHelpContextModule (const QString &, const QString &, const QString &=QString()) | 
Static Public Member Functions | |
| static QAction * | separator () | 
Protected Attributes | |
| QObject * | _wrapped | 
viewer QGraphicsScene: deriver SUIT_ViewModel comme QxGraph_Viewer
wrapping for SalomeApp_Module
Definition at line 42 of file SuitWrapper.hxx.
| SuitWrapper::SuitWrapper | ( | QObject * | wrapped | ) | 
Definition at line 49 of file SuitWrapper.cxx.
      
  | 
  virtual | 
Definition at line 53 of file SuitWrapper.cxx.
| int SuitWrapper::activeStudyId | ( | ) | 
Definition at line 118 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::activeStudyId().
| int SuitWrapper::AssociateViewToWindow | ( | QGraphicsView * | gView, | 
| QWidget * | viewWindow | ||
| ) | 
return studyId used in context delete when study is closed.
Definition at line 66 of file SuitWrapper.cxx.
References _wrapped, SalomeWrap_Module::AssociateViewToWindow(), and YASSERT.
| QAction * SuitWrapper::createAction | ( | 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 130 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateAction().
| int SuitWrapper::createMenu | ( | const QString & | subMenu, | 
| const int | parentMenuId, | ||
| const int | menuId = -1,  | 
        ||
| const int | groupId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 146 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateMenu().
| int SuitWrapper::createMenu | ( | const QString & | subMenu, | 
| const QString & | parentMenu, | ||
| const int | menuId = -1,  | 
        ||
| const int | groupId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 156 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateMenu().
| int SuitWrapper::createMenu | ( | const int | actionId, | 
| const int | menuId, | ||
| const int | groupId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 166 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateMenu().
| int SuitWrapper::createMenu | ( | const int | actionId, | 
| const QString & | menu, | ||
| const int | groupId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 175 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateMenu().
| int SuitWrapper::createMenu | ( | QAction * | action, | 
| const int | menuId, | ||
| const int | actionId = -1,  | 
        ||
| const int | groupId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 184 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateMenu().
| int SuitWrapper::createMenu | ( | QAction * | action, | 
| const QString & | menu, | ||
| const int | actionId = -1,  | 
        ||
| const int | groupId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 194 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateMenu().
| void SuitWrapper::createNewRun | ( | const QString & | schemaName, | 
| const QString & | runName, | ||
| QWidget * | refWindow, | ||
| QWidget * | viewWindow | ||
| ) | 
Definition at line 282 of file SuitWrapper.cxx.
References _wrapped, SalomeWrap_DataModel::createNewRun(), and SalomeWrap_Module::getDataModel().
| void SuitWrapper::createNewSchema | ( | const QString & | schemaName, | 
| QWidget * | viewWindow | ||
| ) | 
Definition at line 261 of file SuitWrapper.cxx.
References _wrapped, SalomeWrap_DataModel::createNewSchema(), and SalomeWrap_Module::getDataModel().
| int SuitWrapper::createTool | ( | const QString & | title, | 
| const QString & | name = QString()  | 
        ||
| ) | 
Definition at line 204 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateTool().
| int SuitWrapper::createTool | ( | const int | actionId, | 
| const int | toolbarId, | ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 210 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateTool().
| int SuitWrapper::createTool | ( | const int | actionId, | 
| const QString & | toolbar, | ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 218 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateTool().
| int SuitWrapper::createTool | ( | QAction * | action, | 
| const int | toolbarId, | ||
| const int | actionId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 226 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateTool().
| int SuitWrapper::createTool | ( | QAction * | action, | 
| const QString & | toolbar, | ||
| const int | actionId = -1,  | 
        ||
| const int | index = -1  | 
        ||
| ) | 
Definition at line 235 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::wCreateTool().
| bool SuitWrapper::deleteSchema | ( | QWidget * | viewWindow | ) | 
Definition at line 276 of file SuitWrapper.cxx.
References _wrapped, SalomeWrap_DataModel::deleteSchema(), and SalomeWrap_Module::getDataModel().
| QWidget * SuitWrapper::getNewWindow | ( | QGraphicsScene * | scene | ) | 
Definition at line 57 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::getNewWindow().
| QStringList SuitWrapper::getQuickDirList | ( | ) | 
Definition at line 291 of file SuitWrapper.cxx.
| QDockWidget * SuitWrapper::objectBrowser | ( | ) | 
Definition at line 124 of file SuitWrapper.cxx.
References _wrapped, and SalomeWrap_Module::objectBrowser().
      
  | 
  virtual | 
Definition at line 300 of file SuitWrapper.cxx.
References gui.Appli::app.
| bool SuitWrapper::renameSchema | ( | const QString & | oldName, | 
| const QString & | newName, | ||
| QWidget * | viewWindow | ||
| ) | 
Definition at line 268 of file SuitWrapper.cxx.
References _wrapped, SalomeWrap_Module::getDataModel(), and SalomeWrap_DataModel::renameSchema().
      
  | 
  static | 
Definition at line 244 of file SuitWrapper.cxx.
References SalomeWrap_Module::wSeparator().
| void SuitWrapper::setMenuShown | ( | QAction * | act, | 
| bool | show | ||
| ) | 
| void SuitWrapper::setToolShown | ( | QAction * | act, | 
| bool | show | ||
| ) | 
      
  | 
  protected | 
Definition at line 139 of file SuitWrapper.hxx.
Referenced by activeStudyId(), AssociateViewToWindow(), createAction(), createMenu(), createNewRun(), createNewSchema(), createTool(), deleteSchema(), getNewWindow(), objectBrowser(), renameSchema(), setMenuShown(), and setToolShown().