TarzaNN
TarzaNN neural network simulator
|
#include <UI_FilterProp.h>
Public Slots | |
void | slotOkButtonPressed () |
void | slotCancelButtonPressed () |
void | slotUpdatePreviewImage () |
void | slotDisplayDynamicList (const QString &newFilterType) |
Public Member Functions | |
UI_FilterProp (FeaturePlaneInput *theInput, FeaturePlaneAbstract *theFPSource, FeaturePlaneAbstract *theFPDest, QStringList *planeNames, Network *theNetwork, FeaturePlaneAbstract **theFPDestReference, FeaturePlaneInput **theOutsideReference, QWidget *p=0, const char *name=0) | |
~UI_FilterProp () |
UI_FilterProp is the add/edit dialog box for feature plane inputs. The dialog box has two parts. The first is the general properties panel, which contains the common properties to all FeaturePlaneInput types. The second is a dynamically generated type-specific properties panel which displays properties specific to a certain type of FeaturePlaneInput. If FeaturePlaneInput passed to the constructor is NULL, UI_FilterProp displays an add dialog with default properties, otherwise it displays an edit dialog with the properties of the UI_FilterProp. Inherits from QDialog.
UI_FilterProp::UI_FilterProp | ( | FeaturePlaneInput * | theInput, |
FeaturePlaneAbstract * | theFPSource, | ||
FeaturePlaneAbstract * | theFPDest, | ||
QStringList * | planeNames, | ||
Network * | theNetwork, | ||
FeaturePlaneAbstract ** | theFPDestReference, | ||
FeaturePlaneInput ** | theOutsideReference, | ||
QWidget * | p = 0 , |
||
const char * | name = 0 |
||
) |
Creates a new UI_FilterProp.
theInput | The FeaturePlaneInput which properties will be displayed |
theFPSource | The source FeaturePlaneAbstract |
theFPDest | The destination FeaturePlaneAbstract |
planeNames | The names of the potential destination FeaturePlaneAbstract objects |
theNetwork | The neural network |
theFPDestReference | The pointer which points to the theFPDest |
theOutsideReference | The pointer which points to the theInput |
parent | The parent of this canvas |
name | The name of this canvas |
The parent and name are passed on to the QDialog constructor.
UI_FilterProp::~UI_FilterProp | ( | ) |
Destroys the object and frees any allocated resources.
void UI_FilterProp::slotCancelButtonPressed | ( | ) | [slot] |
Responds to the Cancel button press and closes the dialog box.
void UI_FilterProp::slotDisplayDynamicList | ( | const QString & | newFilterType | ) | [slot] |
Displays the dynamic type-specific properties according to the newFilterType parameter.
newFilterType | The type which properties are to be displayed |
void UI_FilterProp::slotOkButtonPressed | ( | ) | [slot] |
Responds to the OK button press and updates the input's properties. Does input validation and if the input is valid creates a new FeaturePlaneInput with the modified properties and points the outsideReference to it.
void UI_FilterProp::slotUpdatePreviewImage | ( | ) | [slot] |
Updates the preview image of the filter. Called when one of the parameters is changed.