]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_WidgetToolbox.h
Salome HOME
Bugfixes for focus processing in the property panel
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetToolbox.h
index 2e106a720903b35294ad6a48600260e28b3ca633..21ab5a2c28dd9a209fb40f2fe03be2b84fe15195 100644 (file)
@@ -25,6 +25,8 @@ class ModuleBase_WidgetToolbox : public ModuleBase_ModelWidget
   virtual bool restoreValue();
   virtual QList<QWidget*> getControls() const;
   virtual bool focusTo();
+  virtual void setHighlighted(bool isHighlighted);
+  virtual void enableFocusProcessing();
 
   int addPage(ModuleBase_PageBase* theWidget,
               const QString& theName, const QString& theCaseId);
@@ -37,6 +39,7 @@ class ModuleBase_WidgetToolbox : public ModuleBase_ModelWidget
   void onPageChanged();
 
  private:
+  bool myIsPassFocusToCurrentPage;
   QToolBox* myToolBox;
   QStringList myCaseIds;
   QList<ModuleBase_PageBase*> myPages;