X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_DataBrowser.h;h=11856cf6352a48de4a750a44e30f66f3761e6773;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=3c3e3201ac4dc9d10ea64ab19afd219998569f46;hpb=abe63c42525c9299302649cdb5dcff4f83368c26;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_DataBrowser.h b/src/HYDROGUI/HYDROGUI_DataBrowser.h index 3c3e3201..11856cf6 100644 --- a/src/HYDROGUI/HYDROGUI_DataBrowser.h +++ b/src/HYDROGUI/HYDROGUI_DataBrowser.h @@ -24,13 +24,14 @@ #define HYDROGUI_DATABROWSER_H #include +#include class HYDROGUI_Module; /**\class HYDROGUI_DataBrowser *\brief The data model browser widget implementation */ -class HYDROGUI_DataBrowser : public SUIT_DataBrowser +class HYDROGUI_DataBrowser : public SUIT_DataBrowser, public SUIT_DataSearcher { Q_OBJECT @@ -38,7 +39,19 @@ public: HYDROGUI_DataBrowser( HYDROGUI_Module* theModule, SUIT_DataObject*, QWidget* = 0 ); ~HYDROGUI_DataBrowser(); - HYDROGUI_Module* module() const; + HYDROGUI_Module* module() const; + + /*! + Find a data object by the specified entry. + \param theEntry - Entry of the object. + \return data object. + */ + virtual SUIT_DataObject* findObject( const QString& ) const; + +signals: + void dropped( const QList& theList, + SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction ); + void dataChanged(); private: HYDROGUI_Module* myModule;