#include <sxUiView.h>
Classes | |
| class | PrivateData |
Public Types | |
| enum | { EditNone, EditSelect, EditSelecting, EditMove, EditMoving, EditConnect, EditConnecting, EditDelete, EditDeleteConnection } |
Public Slots | |
| void | zoomValueChanged (const QString &txt) |
| scale ites to given value handle zoom combo box changed | |
| void | captureToImage () |
| capture to image | |
| void | zoomFit () |
| zoom to fit to current view | |
Public Member Functions | |
| sxUiView (QGraphicsScene *scn, QWidget *parent=0) | |
| void | SetEditMode (int mode) |
| int | EditMode () const |
| void | SetZoomComboBox (QComboBox *cb) |
Protected Member Functions | |
| void | mousePressEvent (QMouseEvent *event) |
| Handle mouse move event. | |
| void | mouseMoveEvent (QMouseEvent *event) |
| void | mouseReleaseEvent (QMouseEvent *event) |
| Handle mouse release, do select all item(s) inside selection rectangle. | |
| void | mouseDoubleClickEvent (QMouseEvent *event) |
| display property | |
| void | drawForeground (QPainter *painter, const QRectF &rect) |
| Draw selection rectangle. | |
| void | drawBackground (QPainter *painter, const QRectF &rect) |
| void sxUiView::mousePressEvent | ( | QMouseEvent * | event | ) | [protected] |
Handle mouse move event.
References sxConnection::Destination(), sxUiDesign::RemoveComponent(), sxPort::RemoveConnection(), and sxConnection::Source().
1.5.7.1