TarzaNN
TarzaNN neural network simulator
Public Slots | Public Member Functions | Public Attributes
UI_Designer Class Reference

#include <UI_Designer.h>

List of all members.

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

NetworkNN
Q3PopupMenu * contextCanvasMenu
Q3PopupMenu * contextPlaneMenu
Q3PopupMenu * contextConnMenu

Detailed Description

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.


Constructor & Destructor Documentation

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.

Parameters:
theNetworkThe neural network
parentThe parent widget
nameThe name of this widget
WFlagsThe widget flags
UI_Designer::~UI_Designer ( )

Destroys the object and frees any allocated resources.


Member Function Documentation

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.

Parameters:
itemThe item which properties are to be displyed

Member Data Documentation

Context menu which appears when one clicks on the canvas.

Context menu which appears when one clicks on a connection.

Context menu which appears when one clicks on a plane.

The neural network


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines