TarzaNN
TarzaNN neural network simulator
|
00001 /**************************************************************************** 00002 ** 00003 ** Copyright C 2002-2012 Laboratory for Active and Attentive Vision (LAAV), Department of Computer Science and Engineering, York University, Toronto, ON, Canada. 00004 ** All rights reserved. 00005 ** 00006 ** This file is part of the TarzaNN Neural Network Simulator. 00007 ** 00008 ** This file may be distributed and/or modified under the terms of the 00009 ** GNU General Public License version 2 as published by the Free Software 00010 ** Foundation and appearing in the file LICENSE.GPL included in the 00011 ** packaging of this file. 00012 ** 00013 ** See http://www.tarzann.org/gpl/ for GPL licensing information. 00014 ** 00015 ** Contact info@tarzann.org if any conditions of this licensing are 00016 ** not clear to you. 00017 ** 00018 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00019 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00020 ** 00021 ****************************************************************************/ 00022 00023 #ifndef UI_FEATURE_PLANE_PROP_H_INCLUDED 00024 #define UI_FEATURE_PLANE_PROP_H_INCLUDED 00025 00026 #include "common.h" 00027 #include "FeaturePlaneAbstract.h" 00028 #include "Network.h" 00029 #include <QWidget> 00030 #include <QLineEdit> 00031 #include <QComboBox> 00032 #include <QDialog> 00033 #include <QLayout> 00034 #include <QGroupBox> 00035 #include <QVBoxLayout> 00036 #include <QPushButton> 00049 class UI_FeaturePlaneProp: public QDialog 00050 { 00051 Q_OBJECT 00052 00053 public: 00064 UI_FeaturePlaneProp(FeaturePlaneAbstract *thefp, Network * theNetwork, FeaturePlaneAbstract **theOutsideReference, QWidget *p=0, const char *name=0); 00065 00069 ~UI_FeaturePlaneProp(); 00070 00071 public slots: 00072 00079 void slotFPOkButtonPressed(); 00080 00084 void slotFPCancelButtonPressed(); 00090 void slotFPDisplayDynamicList(const QString &newFPType); 00091 00092 private: 00093 00097 FeaturePlaneAbstract *fp; 00101 Network *network; 00105 FeaturePlaneAbstract **outsideReference; 00109 QGroupBox *dynamicListPlaceHolder; 00113 int dynamicListPos; 00117 Qt::Alignment labelAlign; 00121 Qt::Alignment valueAlign; 00125 Qt::Alignment helpAlign; 00129 int dialogWidth; 00133 QComboBox* fpTypeComboBox; 00137 QLineEdit* nameLineEdit; 00141 QVBoxLayout* theLayout; 00142 00146 QMap<QString,QLineEdit*> paramsLineEdit; 00150 QMap<QString,QComboBox*> paramsComboBox; 00151 00155 QPushButton* okButton; 00156 }; 00157 #endif //UI_FEATURE_PLANE_PROP_H_INCLUDED