From: vsv Date: Wed, 14 Dec 2016 07:54:47 +0000 (+0300) Subject: Remove dependency on XGUI X-Git-Tag: V_2.7.0~351^2~55^2~21 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e18069c6ce0a9e81cb44bc57c2b91d655333c39b;p=modules%2Fshaper.git Remove dependency on XGUI --- diff --git a/src/CollectionPlugin/CMakeLists.txt b/src/CollectionPlugin/CMakeLists.txt index 653aeb8e6..00c353de7 100644 --- a/src/CollectionPlugin/CMakeLists.txt +++ b/src/CollectionPlugin/CMakeLists.txt @@ -53,7 +53,6 @@ INCLUDE_DIRECTORIES( ../Events ../ModuleBase ../Config - ../XGUI ${CAS_INCLUDE_DIRS} ) @@ -64,8 +63,6 @@ SET(PROJECT_LIBRARIES GeomAlgoAPI GeomValidators ModuleBase - XGUI - ${QT_LIBRARIES} ) 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);