X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ListModel.h;h=46a8487d3b268e241f2b852be1a377162d2be808;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=11fd1dfa3fcb0cafd28fe0eea9da80a91fb2b520;hpb=2cf9e838e652ae811d9b3931914771ad1836c6b8;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ListModel.h b/src/HYDROGUI/HYDROGUI_ListModel.h index 11fd1dfa..46a8487d 100644 --- a/src/HYDROGUI/HYDROGUI_ListModel.h +++ b/src/HYDROGUI/HYDROGUI_ListModel.h @@ -75,6 +75,8 @@ public: void setDecorationEnabled( const bool theIsToEnable ); + void undoLastMove(); + protected: bool isObjectVisible( int theIndex ) const; bool isDragAndDropAllowed( const QList& theItems, const int theDropItem ) const; @@ -82,7 +84,7 @@ protected: private: friend class test_HYDROGUI_ListModel; - Object2VisibleList myObjects; + Object2VisibleList myObjects, myPrevObjects; QPixmap myEmpty, myEye; bool myIsDecorationEnabled;