]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_PropertyPanel.cpp
Salome HOME
Some slight improvements and bugs fixing.
[modules/shaper.git] / src / XGUI / XGUI_PropertyPanel.cpp
index 767e0dfcc8b1682dab0140468572ede859ee1cea..e9383b4d71bfef5cce48587573e689dba4419087 100644 (file)
@@ -5,8 +5,8 @@
  *      Author: sbh
  */
 
-#include <XGUI_Constants.h>
 #include <XGUI_PropertyPanel.h>
+#include <XGUI_Constants.h>
 #include <ModuleBase_WidgetPoint2D.h>
 
 #include <QWidget>
@@ -22,7 +22,8 @@
 #include <iostream>
 #endif
 
-XGUI_PropertyPanel::XGUI_PropertyPanel(QWidget* theParent)
+XGUI_PropertyPanel::XGUI_PropertyPanel(QWidget* theParent) :
+QDockWidget(theParent)
 {
   this->setWindowTitle(tr("Property Panel"));
   QAction* aViewAct = this->toggleViewAction();
@@ -97,8 +98,8 @@ void XGUI_PropertyPanel::setModelWidgets(const QList<ModuleBase_ModelWidget*>& t
       connect(*anIt, SIGNAL(focusOutWidget(ModuleBase_ModelWidget*)),
               this, SLOT(onActivateNextWidget(ModuleBase_ModelWidget*)));
 
-      connect(*anIt, SIGNAL(activated(ModuleBase_ModelWidget*)),
-              this, SIGNAL(widgetActivated(ModuleBase_ModelWidget*)));
+      //connect(*anIt, SIGNAL(activated(ModuleBase_ModelWidget*)),
+      //        this, SIGNAL(widgetActivated(ModuleBase_ModelWidget*)));
 
       ModuleBase_WidgetPoint2D* aPointWidget = dynamic_cast<ModuleBase_WidgetPoint2D*>(*anIt);
       if (aPointWidget)