TarzaNN
TarzaNN neural network simulator
|
#include <UI_FeaturePlaneProp.h>
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 () |
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.
UI_FeaturePlaneProp::UI_FeaturePlaneProp | ( | FeaturePlaneAbstract * | thefp, |
Network * | theNetwork, | ||
FeaturePlaneAbstract ** | theOutsideReference, | ||
QWidget * | p = 0 , |
||
const char * | name = 0 |
||
) |
Creates a new UI_FeaturePlaneProp.
thefp | The FeaturePlaneAbstract which properties will be displayed |
theNetwork | The neural network |
theOutsideReference | The pointer which points to the thefp |
parent | The parent of this canvas |
name | The 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.
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.
newFPType | The 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.