X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fgenericgui%2FSceneElementaryNodeItem.hxx;h=fdc2f16ae151014a9941cc2e0b8a778230aa688f;hb=884c24e399ddcf623cee5d6d7136a06255b6f3f0;hp=a4ff92790f997a404fe8faebc6b63686378b50a0;hpb=f4c10bf1781a76534bb1fa293aef541aef56148b;p=modules%2Fyacs.git diff --git a/src/genericgui/SceneElementaryNodeItem.hxx b/src/genericgui/SceneElementaryNodeItem.hxx index a4ff92790..fdc2f16ae 100644 --- a/src/genericgui/SceneElementaryNodeItem.hxx +++ b/src/genericgui/SceneElementaryNodeItem.hxx @@ -1,21 +1,22 @@ -// Copyright (C) 2006-2008 CEA/DEN, EDF R&D +// Copyright (C) 2006-2014 CEA/DEN, EDF R&D // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. // -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + #ifndef _SCENEELEMENTARYNODEITEM_HXX_ #define _SCENEELEMENTARYNODEITEM_HXX_ @@ -39,8 +40,13 @@ namespace YACS QWidget *widget); virtual void update(GuiEvent event, int type, Subject* son); virtual void popupMenu(QWidget *caller, const QPoint &globalPos); + virtual void autoPosNewPort(AbstractSceneItem *item, int nbPorts); virtual void reorganize(); + virtual void reorganizeShrinkExpand(ShrinkMode theShrinkMode); + virtual void shrinkExpandRecursive(bool isExpanding, bool fromHere, ShrinkMode theShrinkMode); + virtual void setShownState(shownState ss); protected: + int _maxPorts; }; }