TarzaNN
TarzaNN neural network simulator
Public Slots | Public Member Functions
UI_FeaturePlaneProp Class Reference

#include <UI_FeaturePlaneProp.h>

List of all members.

Public Slots

void slotFPOkButtonPressed ()
void slotFPCancelButtonPressed ()
void slotFPDisplayDynamicList (const QString &newFPType)

Public Member Functions

 UI_FeaturePlaneProp (FeaturePlaneAbstract *thefp, Network *theNetwork, FeaturePlaneAbstract **theOutsideReference, QWidget *p=0, const char *name=0)
 ~UI_FeaturePlaneProp ()

Detailed Description

UI_FeaturePlaneProp is the add/edit dialog box for feature planes. The dialog box has two parts. The first is the general properties panel, which contains properties common to all FeaturePlaneAbstract types. The second is a dynamically generated type-specific properties panel which displays properties specific to a certain type of FeaturePlaneAbstract. If the FeaturePlaneAbstract passed to the constructor is NULL UI_FeaturePlaneProp displays an add dialog with default properties, otherwise it displays an edit dialog with the properties of the passed FeaturePlaneAbstract. Inherits from QDialog.


Constructor & Destructor Documentation

UI_FeaturePlaneProp::UI_FeaturePlaneProp ( FeaturePlaneAbstract thefp,
Network theNetwork,
FeaturePlaneAbstract **  theOutsideReference,
QWidget *  p = 0,
const char *  name = 0 
)

Creates a new UI_FeaturePlaneProp.

Parameters:
thefpThe FeaturePlaneAbstract which properties will be displayed
theNetworkThe neural network
theOutsideReferenceThe pointer which points to the thefp
parentThe parent of this canvas
nameThe name of this canvas The parent and name are passed on to the QDialog constructor.
UI_FeaturePlaneProp::~UI_FeaturePlaneProp ( )

Destroys the object and frees any allocated resources.


Member Function Documentation

void UI_FeaturePlaneProp::slotFPCancelButtonPressed ( ) [slot]

Responds to the Cancel button press and closes the dialog box.

void UI_FeaturePlaneProp::slotFPDisplayDynamicList ( const QString &  newFPType) [slot]

Displays the dynamic type-specific properties according to the newFPType parameter.

Parameters:
newFPTypeThe type which properties are to be displayed
void UI_FeaturePlaneProp::slotFPOkButtonPressed ( ) [slot]

Responds to the OK button press and updates the fp's properties. Does input validation and if the input is valid creates a new FeaturePlaneAbstract with the modified properties and points the outsideReference to it.


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