From: vsv Date: Wed, 14 Dec 2016 07:54:47 +0000 (+0300) Subject: Remove dependency on XGUI X-Git-Tag: before_porting_8.2.0~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88712d404a18f89824ce7d0219cdbbd8097163dd;p=modules%2Fshaper.git Remove dependency on XGUI --- diff --git a/src/CollectionPlugin/CMakeLists.txt b/src/CollectionPlugin/CMakeLists.txt index 31bd93d10..c1b22136e 100644 --- a/src/CollectionPlugin/CMakeLists.txt +++ b/src/CollectionPlugin/CMakeLists.txt @@ -41,7 +41,6 @@ INCLUDE_DIRECTORIES( ../Events ../ModuleBase ../Config - ../XGUI ${CAS_INCLUDE_DIRS} ) @@ -52,7 +51,6 @@ SET(PROJECT_LIBRARIES GeomAlgoAPI GeomValidators ModuleBase - XGUI ) ADD_DEFINITIONS(-DCOLLECTIONPLUGIN_EXPORTS ${CAS_DEFINITIONS}) diff --git a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp index 80f3e3d68..5c0040a91 100644 --- a/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp +++ b/src/CollectionPlugin/CollectionPlugin_WidgetField.cpp @@ -10,10 +10,7 @@ #include #include #include - -#include -#include -#include +#include #include #include @@ -356,8 +353,7 @@ bool CollectionPlugin_WidgetField::eventFilter(QObject* theObject, QEvent* theEv } else if (theEvent->type() == QEvent::FocusIn) { QTableWidget* aTable = dynamic_cast(theObject); if (aTable) { - XGUI_Workshop* aWorkshop = XGUI_Tools::workshop(myWorkshop); - XGUI_PropertyPanel* aPanel = aWorkshop->propertyPanel(); + ModuleBase_IPropertyPanel* aPanel = myWorkshop->propertyPanel(); if (aPanel->activeWidget() != this) { myActivation = true; aPanel->activateWidget(this, false);