19 #ifndef OST_GUI_BOTTOM_BAR_EVENT_BUTTON
20 #define OST_GUI_BOTTOM_BAR_EVENT_BUTTON
26 #include <QToolButton>
27 #include <QMouseEvent>
28 #include <QDragEnterEvent>
32 namespace ost {
namespace gui {
38 EventButton(
const QString& name,
Widget* widget,
bool pressed, QWidget* parent=NULL);
40 virtual Widget* GetWidget();
41 virtual void mouseMoveEvent(QMouseEvent* event);
42 virtual void dropEvent(QDropEvent* event);
43 virtual void dragEnterEvent (QDragEnterEvent* event );
45 void ButtonPressed(
Widget* button);
50 virtual void clicked();
#define DLLEXPORT_OST_GUI