#include <DescriptorWidget.h>
Signals | |
void | descriptorSelected (int index) |
Public Member Functions | |
void | addDescriptor (QGraphicsItem *item) |
void | clear () |
DescriptorWidget (QWidget *parent=0) | |
Protected Member Functions | |
int | findDescriptor (const QGraphicsItem *item) |
virtual void | mousePressEvent (QMouseEvent *event) |
Protected Attributes | |
QVector< QGraphicsItem * > | m_items |
QGraphicsScene * | m_scene |
Definition at line 33 of file DescriptorWidget.h.
DescriptorWidget::DescriptorWidget | ( | QWidget * | parent = 0 |
) |
Definition at line 6 of file DescriptorWidget.cpp.
void DescriptorWidget::addDescriptor | ( | QGraphicsItem * | item | ) |
Definition at line 17 of file DescriptorWidget.cpp.
void DescriptorWidget::clear | ( | ) |
Definition at line 34 of file DescriptorWidget.cpp.
void DescriptorWidget::descriptorSelected | ( | int | index | ) | [signal] |
int DescriptorWidget::findDescriptor | ( | const QGraphicsItem * | item | ) | [protected] |
Definition at line 55 of file DescriptorWidget.cpp.
void DescriptorWidget::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 49 of file DescriptorWidget.cpp.
QVector<QGraphicsItem * > DescriptorWidget::m_items [protected] |
Definition at line 52 of file DescriptorWidget.h.
QGraphicsScene* DescriptorWidget::m_scene [protected] |
Definition at line 51 of file DescriptorWidget.h.