#include <Yacsgui.hxx>
Public Slots | |
bool | deactivateModule (SUIT_Study *theStudy) |
bool | activateModule (SUIT_Study *theStudy) |
void | onDblClick (SUIT_DataObject *object) |
void | onCleanOnExit () |
Public Member Functions | |
Yacsgui () | |
virtual | ~Yacsgui () |
void | initialize (CAM_Application *app) |
void | windows (QMap< int, int > &theMap) const |
virtual QString | engineIOR () const |
virtual void | viewManagers (QStringList &list) const |
virtual void | setResource (SUIT_ResourceMgr *r) |
virtual void | createPreferences () |
virtual void | preferencesChanged (const QString §, const QString &name) |
virtual void | loadSchema (const std::string &filename, bool edit=true, bool arrangeLocalNodes=false) |
virtual void | studyActivated () |
Public Member Functions inherited from SalomeWrap_Module | |
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 () |
Protected Slots | |
void | onWindowActivated (SUIT_ViewWindow *svw) |
void | onWindowClosed (SUIT_ViewWindow *svw) |
void | onTryClose (bool &isClosed, QxScene_ViewWindow *window) |
Protected Member Functions | |
virtual CAM_DataModel * | createDataModel () |
bool | createSComponent () |
Protected Attributes | |
YACS::HMI::SuitWrapper * | _wrapper |
YACS::HMI::GenericGui * | _genericGui |
bool | _selectFromTree |
Yacsgui_Resource * | _myresource |
SUIT_ViewWindow * | _currentSVW |
std::map< int, YACS::HMI::QtGuiContext * > | _studyContextMap |
Protected Attributes inherited from SalomeWrap_Module | |
std::map< QGraphicsScene *, QxScene_ViewWindow * > | _mapOfViewWindow |
Static Protected Attributes | |
static int | _oldStudyId = -1 |
Friends | |
class | Yacsgui_Resource |
Additional Inherited Members | |
Static Public Member Functions inherited from SalomeWrap_Module | |
static QAction * | wSeparator () |
Definition at line 43 of file Yacsgui.hxx.
Yacsgui::Yacsgui | ( | ) |
Definition at line 63 of file Yacsgui.cxx.
References _genericGui, _selectFromTree, _studyContextMap, _wrapper, and DEBTRACE.
|
virtual |
|
slot |
Definition at line 156 of file Yacsgui.cxx.
References _currentSVW, _genericGui, DEBTRACE, onWindowActivated(), and YACS::HMI::GenericGui::showDockWidgets().
Referenced by onWindowActivated().
|
protectedvirtual |
Reimplemented from SalomeWrap_Module.
Definition at line 305 of file Yacsgui.cxx.
|
virtual |
Definition at line 346 of file Yacsgui.cxx.
References _myresource, Yacsgui_Resource::createPreferences(), and DEBTRACE.
|
protected |
Definition at line 310 of file Yacsgui.cxx.
References DEBTRACE, and engineIOR().
Referenced by initialize().
|
slot |
Definition at line 196 of file Yacsgui.cxx.
References _genericGui, _studyContextMap, DEBTRACE, and YACS::HMI::GenericGui::showDockWidgets().
|
virtual |
void Yacsgui::initialize | ( | CAM_Application * | app | ) |
Definition at line 81 of file Yacsgui.cxx.
References _currentSVW, _genericGui, _wrapper, YACS::HMI::CatalogWidget::addCatalogFromFile(), YACS::HMI::GenericGui::createActions(), YACS::HMI::GenericGui::createMenus(), createSComponent(), YACS::HMI::GenericGui::createTools(), DEBTRACE, YACS::HMI::GenericGui::getCatalogWidget(), onCleanOnExit(), onDblClick(), onWindowActivated(), setResource(), and studyActivated().
|
virtual |
Definition at line 383 of file Yacsgui.cxx.
References _genericGui, and YACS::HMI::GenericGui::loadSchema().
|
slot |
Definition at line 388 of file Yacsgui.cxx.
References _currentSVW, _genericGui, and YACS::HMI::GenericGui::onCleanOnExit().
Referenced by initialize(), and ~Yacsgui().
|
slot |
Definition at line 232 of file Yacsgui.cxx.
References _genericGui, _selectFromTree, and DEBTRACE.
Referenced by initialize().
|
protectedslot |
Definition at line 298 of file Yacsgui.cxx.
References _genericGui, YACS::HMI::GenericGui::closeContext(), DEBTRACE, and YASSERT.
Referenced by onWindowActivated().
|
protectedslot |
Definition at line 257 of file Yacsgui.cxx.
References _currentSVW, _genericGui, _selectFromTree, _studyContextMap, activateModule(), DEBTRACE, onTryClose(), onWindowClosed(), SalomeWrap_DataModel::setSelected(), YACS::HMI::GenericGui::switchContext(), and YASSERT.
Referenced by activateModule(), and initialize().
|
protectedslot |
Definition at line 291 of file Yacsgui.cxx.
References _currentSVW, and DEBTRACE.
Referenced by onWindowActivated().
|
virtual |
Definition at line 352 of file Yacsgui.cxx.
References _genericGui, _myresource, YACS::HMI::CatalogWidget::addCatalogFromFile(), DEBTRACE, YACS::HMI::GenericGui::getCatalogWidget(), and Yacsgui_Resource::preferencesChanged().
|
virtual |
Definition at line 339 of file Yacsgui.cxx.
References _myresource, DEBTRACE, Yacsgui_Resource::preferencesChanged(), and Yacsgui_Resource.
Referenced by initialize().
|
virtual |
Definition at line 362 of file Yacsgui.cxx.
References _oldStudyId, _studyContextMap, and DEBTRACE.
Referenced by initialize().
|
virtual |
Definition at line 150 of file Yacsgui.cxx.
References DEBTRACE.
void Yacsgui::windows | ( | QMap< int, int > & | theMap | ) | const |
|
friend |
Definition at line 47 of file Yacsgui.hxx.
Referenced by setResource().
|
protected |
Definition at line 83 of file Yacsgui.hxx.
Referenced by activateModule(), initialize(), onCleanOnExit(), onWindowActivated(), and onWindowClosed().
|
protected |
Definition at line 80 of file Yacsgui.hxx.
Referenced by activateModule(), deactivateModule(), initialize(), loadSchema(), onCleanOnExit(), onDblClick(), onTryClose(), onWindowActivated(), preferencesChanged(), Yacsgui(), and ~Yacsgui().
|
protected |
Definition at line 82 of file Yacsgui.hxx.
Referenced by createPreferences(), preferencesChanged(), and setResource().
|
staticprotected |
Definition at line 85 of file Yacsgui.hxx.
Referenced by studyActivated().
|
protected |
Definition at line 81 of file Yacsgui.hxx.
Referenced by onDblClick(), onWindowActivated(), and Yacsgui().
|
protected |
Definition at line 84 of file Yacsgui.hxx.
Referenced by deactivateModule(), onWindowActivated(), studyActivated(), and Yacsgui().
|
protected |
Definition at line 79 of file Yacsgui.hxx.
Referenced by initialize(), Yacsgui(), and ~Yacsgui().