OpenStructure
Signals | Public Member Functions
EventButton Class Reference

#include <event_button.hh>

Inherits QToolButton.

Signals

void ButtonPressed (Widget *button)
 
void ButtonDragged (EventButton *button)
 
void ButtonDropped (EventButton *button)
 

Public Member Functions

 EventButton (const QString &name, Widget *widget, bool pressed, QWidget *parent=NULL)
 
virtual WidgetGetWidget ()
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 

Detailed Description

button box

Definition at line 35 of file event_button.hh.

Constructor & Destructor Documentation

◆ EventButton()

EventButton ( const QString &  name,
Widget widget,
bool  pressed,
QWidget *  parent = NULL 
)

Member Function Documentation

◆ ButtonDragged

void ButtonDragged ( EventButton button)
signal

◆ ButtonDropped

void ButtonDropped ( EventButton button)
signal

◆ ButtonPressed

void ButtonPressed ( Widget button)
signal

◆ dragEnterEvent()

virtual void dragEnterEvent ( QDragEnterEvent *  event)
virtual

◆ dropEvent()

virtual void dropEvent ( QDropEvent *  event)
virtual

◆ GetWidget()

virtual Widget* GetWidget ( )
virtual

◆ mouseMoveEvent()

virtual void mouseMoveEvent ( QMouseEvent *  event)
virtual

The documentation for this class was generated from the following file: