TarzaNN
TarzaNN neural network simulator
|
#include <UI_Designer.h>
Public Slots | |
void | slotPlaneMenuAboutToShow () |
void | slotContextPlaneMenuAboutToShow () |
void | slotConnMenuAboutToShow () |
void | slotMenuAboutToHide () |
void | slotUpdatePropDisplay (Q3CanvasPolygonalItem *item) |
Public Member Functions | |
UI_Designer (Network *theNetwork, QWidget *parent, const char *name=0, Qt::WFlags fl=0) | |
~UI_Designer () | |
Public Attributes | |
Network * | NN |
Q3PopupMenu * | contextCanvasMenu |
Q3PopupMenu * | contextPlaneMenu |
Q3PopupMenu * | contextConnMenu |
UI_Designer is the main class of the graphical designer application for TarzaNN. It displays the working canvas, the property display and the controls. Inherits from QMainWindow.
UI_Designer::UI_Designer | ( | Network * | theNetwork, |
QWidget * | parent, | ||
const char * | name = 0 , |
||
Qt::WFlags | fl = 0 |
||
) |
Creates a new UI_Designer. The parent, name and widget flags f, are passed on to the QMainWindow constructor.
theNetwork | The neural network |
parent | The parent widget |
name | The name of this widget |
WFlags | The widget flags |
UI_Designer::~UI_Designer | ( | ) |
Destroys the object and frees any allocated resources.
void UI_Designer::slotConnMenuAboutToShow | ( | ) | [slot] |
Listens to the menuAboutToShow signal. Enables/disables items of the connection menu according to the current state of the neural network, before the menu is displayed
void UI_Designer::slotContextPlaneMenuAboutToShow | ( | ) | [slot] |
Listens to the menuAboutToShow signal. Enables/disables items of the context plane menu according to the current state of the neural network, before the menu is displayed
void UI_Designer::slotMenuAboutToHide | ( | ) | [slot] |
Listens to the menuAboutToHide signal. Enables/disables items of all the menus according to the current state of the neural network.
void UI_Designer::slotPlaneMenuAboutToShow | ( | ) | [slot] |
Listens to the menuAboutToShow signal. Enables/disables items of the plane menu according to the current state of the neural network, before the menu is displayed
void UI_Designer::slotUpdatePropDisplay | ( | Q3CanvasPolygonalItem * | item | ) | [slot] |
Updates the properties' display when the selected item on the canvas changes.
item | The item which properties are to be displyed |
Q3PopupMenu* UI_Designer::contextCanvasMenu |
Context menu which appears when one clicks on the canvas.
Q3PopupMenu* UI_Designer::contextConnMenu |
Context menu which appears when one clicks on a connection.
Q3PopupMenu* UI_Designer::contextPlaneMenu |
Context menu which appears when one clicks on a plane.
The neural network