#include <NetworkPanel.h>


Public Member Functions | |
| NetworkPanel (QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Constructor of the NetworkPanel class. | |
| virtual | ~NetworkPanel () |
| Destructor of the NetworkPanel class. | |
| virtual void | fillToolBars (QToolBar *mainToolBar, QToolBar *panelToolBar) |
| Fills the given tool bars in a panel frame with actions for the panel. | |
| NetworkGraphicsView * | getNetworkGraphicsView () |
| Returns the graphics view that is used to display the model's graphics scene. | |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *event) |
| Handles key press events for the widget. | |
Private Attributes | |
| NetworkGraphicsView * | m_networkGraphicsView |
| The graphics view widget to use for displaying the nodes. | |
| NetworkPanel::NetworkPanel | ( | QWidget * | parent = 0, |
|
| Qt::WindowFlags | flags = 0 | |||
| ) |
Constructor of the NetworkPanel class.
Constructors and Destructors.
| parent | The parent widget the created instance will be a child of. | |
| flags | Extra widget options. |
| parent | The parent widget the created instance will be a child of. | |
| flags | Extra widget options. |
| NetworkPanel::~NetworkPanel | ( | ) | [virtual] |
Destructor of the NetworkPanel class.
Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.
| void NetworkPanel::fillToolBars | ( | QToolBar * | mainToolBar, | |
| QToolBar * | panelToolBar | |||
| ) | [virtual] |
Fills the given tool bars in a panel frame with actions for the panel.
Public Functions.
| mainToolBar | The main tool bar to fill with actions. | |
| panelToolBar | The panel tool bar to fill with actions. |
| mainToolBar | The main tool bar to fill with actions. | |
| panelToolBar | The panel tool bar to fill with actions. |
Reimplemented from Panel.
| NetworkGraphicsView * NetworkPanel::getNetworkGraphicsView | ( | ) |
Returns the graphics view that is used to display the model's graphics scene.
| void NetworkPanel::keyPressEvent | ( | QKeyEvent * | event | ) | [protected] |
Handles key press events for the widget.
Protected Events.
| event | The description of the key event. |
| event | The description of the key event. |
The graphics view widget to use for displaying the nodes.
1.5.9