#include <NetworkGraphicsView.h>


Public Slots | |
| void | displayAllPins () |
| Sets the pin display mode for selected or all node items to show all pins. | |
| void | displayConnectedPins () |
| Sets the pin display mode for selected or all node items to show only connected pins. | |
| void | displayPinsCollapsed () |
| Sets the pin display mode for selected or all node items to show all pins as one collapsed pin. | |
Signals | |
| void | contextMenuRequested (const QPointF &scenePosition) |
| Signal to notify connected objects that a context menu has been requested at the given scene position. | |
Public Member Functions | |
| NetworkGraphicsView (QWidget *parent=0) | |
| Constructor of the NetworkGraphicsView class. | |
| ~NetworkGraphicsView () | |
| Destructor of the NetworkGraphicsView class. | |
| void | setScene (QGraphicsScene *scene) |
| Sets the scene to display in the graphics view. | |
Protected Member Functions | |
| virtual void | keyPressEvent (QKeyEvent *event) |
| Event handler for key press events. | |
| virtual void | mousePressEvent (QMouseEvent *event) |
| Event handler for mouse press events. | |
| virtual void | mouseMoveEvent (QMouseEvent *event) |
| Event handler for mouse move events. | |
| virtual void | contextMenuEvent (QContextMenuEvent *event) |
| Event handler for context menu events. | |
Private Member Functions | |
| void | setPinDisplayMode (NodeGraphicsItem::PinDisplayMode pinDisplayMode) |
| Sets the pin display mode for selected or all node items to the given mode. | |
| void | cancelCreatingConnection () |
| Cancels the creation of a new connection between pins of nodes. | |
| NetworkGraphicsView::NetworkGraphicsView | ( | QWidget * | parent = 0 |
) |
Constructor of the NetworkGraphicsView class.
Constructors and Destructors.
| parent | The parent widget the created instance will be a child of. |
| parent | The parent widget the created instance will be a child of. |
| NetworkGraphicsView::~NetworkGraphicsView | ( | void | ) |
Destructor of the NetworkGraphicsView class.
| void NetworkGraphicsView::setScene | ( | QGraphicsScene * | scene | ) |
Sets the scene to display in the graphics view.
Public Functions.
| scene | The scene to display in the graphics view. |
| scene | The scene to display in the graphics view. |
| void NetworkGraphicsView::displayAllPins | ( | ) | [slot] |
Sets the pin display mode for selected or all node items to show all pins.
Public Slots.
| void NetworkGraphicsView::displayConnectedPins | ( | ) | [slot] |
Sets the pin display mode for selected or all node items to show only connected pins.
| void NetworkGraphicsView::displayPinsCollapsed | ( | ) | [slot] |
Sets the pin display mode for selected or all node items to show all pins as one collapsed pin.
| void NetworkGraphicsView::contextMenuRequested | ( | const QPointF & | scenePosition | ) | [signal] |
Signal to notify connected objects that a context menu has been requested at the given scene position.
| scenePosition | The position in scene coordinates at which the context menu has been requested. |
| void NetworkGraphicsView::keyPressEvent | ( | QKeyEvent * | event | ) | [protected, virtual] |
Event handler for key press events.
Protected Events.
| event | The description of the key event. |
| event | The description of the key event. |
Reimplemented from BaseGraphicsView.
| void NetworkGraphicsView::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Event handler for mouse press events.
| event | The description of the mouse event. |
Reimplemented from BaseGraphicsView.
| void NetworkGraphicsView::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Event handler for mouse move events.
| event | The description of the mouse event. |
Reimplemented from BaseGraphicsView.
| void NetworkGraphicsView::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [protected, virtual] |
Event handler for context menu events.
| event | The object that contains details about the event. |
| void NetworkGraphicsView::setPinDisplayMode | ( | NodeGraphicsItem::PinDisplayMode | pinDisplayMode | ) | [private] |
Sets the pin display mode for selected or all node items to the given mode.
Private Functions.
| pinDisplayMode | The pin display mode to set for the node items. |
| pinDisplayMode | The pin display mode to set for the node items. |
| void NetworkGraphicsView::cancelCreatingConnection | ( | ) | [private] |
Cancels the creation of a new connection between pins of nodes.
1.5.9