#define HYDROGUI_DATABROWSER_H
#include <SUIT_DataBrowser.h>
+#include <SUIT_TreeModel.h>
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
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<SUIT_DataObject*>& theList,
+ SUIT_DataObject* theTargetParent, int theTargetRow, Qt::DropAction theDropAction );
private:
HYDROGUI_Module* myModule;