Eneboo - Documentación para desarrolladores
|
#include <actiondnd.h>
Métodos públicos | |
QDesignerToolBar (QMainWindow *mw) | |
QDesignerToolBar (QMainWindow *mw, Dock dock) | |
QPtrList< QAction > | insertedActions () const |
void | addAction (QAction *a) |
void | clear () |
void | installEventFilters (QWidget *w) |
void | insertAction (QWidget *w, QAction *a) |
void | insertAction (int index, QAction *a) |
void | appendAction (QAction *a) |
void | removeAction (QAction *a) |
void | reInsert () |
void | removeWidget (QWidget *w) |
Métodos protegidos | |
bool | eventFilter (QObject *, QEvent *) |
void | paintEvent (QPaintEvent *) |
void | dragEnterEvent (QDragEnterEvent *) |
void | dragMoveEvent (QDragMoveEvent *) |
void | dragLeaveEvent (QDragLeaveEvent *) |
void | dropEvent (QDropEvent *) |
void | contextMenuEvent (QContextMenuEvent *e) |
void | mousePressEvent (QMouseEvent *e) |
void | mouseReleaseEvent (QMouseEvent *e) |
QDesignerToolBar::QDesignerToolBar | ( | QMainWindow * | mw | ) |
QDesignerToolBar::QDesignerToolBar | ( | QMainWindow * | mw, |
Dock | dock | ||
) |
void QDesignerToolBar::addAction | ( | QAction * | a | ) |
void QDesignerToolBar::appendAction | ( | QAction * | a | ) | [inline] |
void QDesignerToolBar::clear | ( | void | ) | [virtual] |
Deletes all the toolbar's child widgets.
Reimplementado de QToolBar.
void QDesignerToolBar::contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected, virtual] |
Reimplementado de QDockWindow.
void QDesignerToolBar::dragEnterEvent | ( | QDragEnterEvent * | ) | [protected, virtual] |
This event handler is called when a drag is in progress and the mouse enters this widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
void QDesignerToolBar::dragLeaveEvent | ( | QDragLeaveEvent * | ) | [protected, virtual] |
This event handler is called when a drag is in progress and the mouse leaves this widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
void QDesignerToolBar::dragMoveEvent | ( | QDragMoveEvent * | ) | [protected, virtual] |
This event handler is called when a drag is in progress and the mouse enters this widget, and whenever it moves within the widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
void QDesignerToolBar::dropEvent | ( | QDropEvent * | ) | [protected, virtual] |
This event handler is called when the drag is dropped on this widget.
See the Drag-and-drop documentation for an overview of how to provide drag-and-drop in your application.
Reimplementado de QWidget.
Reimplementado de QDockWindow.
void QDesignerToolBar::installEventFilters | ( | QWidget * | w | ) |
void QDesignerToolBar::mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse press events for the widget.
If you create new widgets in the mousePressEvent() the mouseReleaseEvent() may not end up where you expect, depending on the underlying window system (or X11 window manager), the widgets' location and maybe more.
The default implementation implements the closing of popup widgets when you click outside the window. For other widget types it does nothing.
Reimplementado de QWidget.
void QDesignerToolBar::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
This event handler, for event e, can be reimplemented in a subclass to receive mouse release events for the widget.
Reimplementado de QWidget.
void QDesignerToolBar::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Processes the paint event event.
Paints the frame and the contents.
Opens the painter on the frame and calls drawFrame(), then drawContents().
Reimplementado de QFrame.
void QDesignerToolBar::reInsert | ( | ) |
void QDesignerToolBar::removeAction | ( | QAction * | a | ) | [inline] |
void QDesignerToolBar::removeWidget | ( | QWidget * | w | ) |