00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef GUIMAIN_H
00011 #define GUIMAIN_H
00012
00013 #include <qvariant.h>
00014 #include <qpixmap.h>
00015 #include <qmainwindow.h>
00016
00017 class QVBoxLayout;
00018 class QHBoxLayout;
00019 class QGridLayout;
00020 class QAction;
00021 class QActionGroup;
00022 class QToolBar;
00023 class QPopupMenu;
00024 class DirectoryView;
00025 class Graph;
00026 class QButtonGroup;
00027 class QCheckBox;
00028 class QComboBox;
00029 class QFrame;
00030 class QGroupBox;
00031 class QLabel;
00032 class QLineEdit;
00033 class QListView;
00034 class QListViewItem;
00035 class QPushButton;
00036 class QRadioButton;
00037 class QSpinBox;
00038 class QTabWidget;
00039 class QWidget;
00040 class WeightMatrix;
00041
00042 class YAVA : public QMainWindow
00043 {
00044 Q_OBJECT
00045
00046 public:
00047 YAVA( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
00048 ~YAVA();
00049
00050 QTabWidget* MainTab;
00051 QWidget* tab;
00052 DirectoryView* AudioDirView;
00053 QGroupBox* groupBox2;
00054 QLabel* magicNumberLabel;
00055 QLabel* AudioMagicNumber;
00056 QLabel* textLabel5;
00057 QLabel* AudioDataSize;
00058 QLabel* textLabel8;
00059 QLabel* AudioSampleRate;
00060 QFrame* line4;
00061 QLabel* offsetLabel;
00062 QLabel* AudioOffset;
00063 QLabel* textLabel7;
00064 QLabel* AudioEncoding;
00065 QLabel* textLabel9;
00066 QLabel* AudioChannels;
00067 QFrame* line3;
00068 QLabel* textLabel2_3;
00069 QLabel* AudioVowel;
00070 QLabel* textLabel1_4;
00071 QLabel* AudioVowelClassified;
00072 QGroupBox* AudioWaveformBox;
00073 Graph* AudioWaveForm;
00074 QGroupBox* groupBox23;
00075 Graph* FFT;
00076 QGroupBox* AudiowindowedformBox;
00077 Graph* AudioBarChart;
00078 QPushButton* AudioClassifySample;
00079 QPushButton* AudioPlay;
00080 QFrame* line1;
00081 QGroupBox* groupBox19;
00082 QLabel* textLabel1_2;
00083 QLabel* textLabel2;
00084 QLabel* textLabel1;
00085 QSpinBox* AudioProcessingInterleaving;
00086 QLabel* textLabel2_2;
00087 QComboBox* AudioProcessingFactor;
00088 QSpinBox* AudioNumberOfWindows;
00089 QGroupBox* groupBox4;
00090 QLabel* textLabel13;
00091 QLineEdit* AudioFilename;
00092 QPushButton* AudioRecordFileSelect;
00093 QLabel* textLabel14;
00094 QSpinBox* AudioSeconds;
00095 QLabel* AudioRecordVowelLabel;
00096 QComboBox* AudioRecordVowel;
00097 QPushButton* AudioRecord;
00098 QWidget* tab_2;
00099 QLabel* textLabel7_3_3;
00100 QPushButton* SetManagerTrainingSetNewSet;
00101 QPushButton* SetManagerSetManagerTrainingTrainingSetLoadSet;
00102 QPushButton* SetManagerTrainingSetSaveSet;
00103 QLineEdit* SetManagerTrainingSetName;
00104 QListView* SetManagerTrainingList;
00105 QPushButton* SetManagerAddToTraining;
00106 QPushButton* SetManagerRemoveFromTraining;
00107 QPushButton* SetManagerMoveFromTrainingToTesting;
00108 DirectoryView* SetManagerDirView;
00109 QPushButton* SetManagerAddToTest;
00110 QPushButton* SetManagerRemoveFromTest;
00111 QPushButton* SetManagerMoveFromTestingToTraining;
00112 QLabel* textLabel7_3;
00113 QPushButton* SetManagerTestingSetNewSet;
00114 QPushButton* SetManagerTestingSetLoadSetButton;
00115 QPushButton* SetManagerTestingSetSaveSet;
00116 QLineEdit* SetManagerTestingSetName;
00117 QListView* SetManagerTestingList;
00118 QWidget* tab_3;
00119 QPushButton* NeuralNetGenerateSystem;
00120 QPushButton* NeuralNetLoadSystem;
00121 QPushButton* NeuralNetSaveSystem;
00122 QFrame* line4_2;
00123 QTabWidget* NeuralNetTabGroup;
00124 QWidget* tab_4;
00125 QGroupBox* GroupBox9;
00126 QLabel* TextLabel2;
00127 QSpinBox* NeuralNetNetwork0NumberOfLayers;
00128 QFrame* Frame3;
00129 QLabel* TextLabel3;
00130 QSpinBox* NeuralNetNetwork0ChangeLayer;
00131 QGroupBox* NeuralNetNetwork0LayerBox;
00132 QLabel* TextLabel1;
00133 QSpinBox* NeuralNetNetwork0NumberOfNeurons;
00134 QGroupBox* groupBox20;
00135 QLabel* textLabel2_4;
00136 QLabel* textLabel3;
00137 QComboBox* NeuralNetNetwork0HiddenLayerFunction;
00138 QComboBox* NeuralNetNetwork0OutputLayerFunction;
00139 QGroupBox* GroupBox8_2;
00140 QLabel* TextLabel6_2;
00141 QLineEdit* NeuralNetNetwork0ThetaMax;
00142 QLabel* TextLabel5;
00143 QLineEdit* NeuralNetNetwork0WeightMax;
00144 QLineEdit* NeuralNetNetwork0WeightMin;
00145 QLabel* TextLabel8;
00146 QLineEdit* NeuralNetNetwork0ThetaMin;
00147 QLabel* TextLabel7_2;
00148 QWidget* tab_5;
00149 QGroupBox* GroupBox9_4;
00150 QLabel* TextLabel2_4;
00151 QSpinBox* NeuralNetNetwork1NumberOfLayers;
00152 QFrame* Frame3_4;
00153 QLabel* TextLabel3_4;
00154 QSpinBox* NeuralNetNetwork1ChangeLayer;
00155 QGroupBox* NeuralNetNetwork0LayerBox_2;
00156 QLabel* TextLabel1_2;
00157 QSpinBox* NeuralNetNetwork1NumberOfNeurons;
00158 QGroupBox* groupBox20_2;
00159 QLabel* textLabel2_4_2;
00160 QLabel* textLabel3_2;
00161 QComboBox* NeuralNetNetwork1HiddenLayerFunction;
00162 QComboBox* NeuralNetNetwork1OutputLayerFunction;
00163 QGroupBox* GroupBox8_2_4;
00164 QLabel* TextLabel6_2_4;
00165 QLineEdit* NeuralNetNetwork1ThetaMax;
00166 QLabel* TextLabel5_4;
00167 QLineEdit* NeuralNetNetwork1WeightMax;
00168 QLineEdit* NeuralNetNetwork1WeightMin;
00169 QLabel* TextLabel8_4;
00170 QLineEdit* NeuralNetNetwork1ThetaMin;
00171 QLabel* TextLabel7_2_4;
00172 QWidget* tab_6;
00173 QGroupBox* GroupBox9_5;
00174 QLabel* TextLabel2_5;
00175 QSpinBox* NeuralNetNetwork0NumberOfLayers_3;
00176 QFrame* Frame3_5;
00177 QLabel* TextLabel3_5;
00178 QSpinBox* NeuralNetNetwork2CangeLayer;
00179 QGroupBox* NeuralNetNetwork0LayerBox_3;
00180 QLabel* TextLabel1_5;
00181 QSpinBox* NeuralNetNetwork2NumberOfNeurons;
00182 QGroupBox* groupBox20_3;
00183 QLabel* textLabel2_4_3;
00184 QLabel* textLabel3_3;
00185 QComboBox* NeuralNetNetwork2HiddenLayerFunction;
00186 QComboBox* NeuralNetNetwork2OutputLayerFunction;
00187 QGroupBox* GroupBox8_2_5;
00188 QLabel* TextLabel6_2_5;
00189 QLineEdit* NeuralNetNetwork2ThetaMax;
00190 QLabel* TextLabel5_5;
00191 QLineEdit* NeuralNetNetwork2WeightMax;
00192 QLineEdit* NeuralNetNetwork2WeightMin;
00193 QLabel* TextLabel8_5;
00194 QLineEdit* NeuralNetNetwork2ThetaMin;
00195 QLabel* TextLabel7_2_5;
00196 QWidget* tab_7;
00197 QComboBox* LearnSettingsLearnMethod;
00198 QSpinBox* LearnSettingsNumberOfEpochs;
00199 QLabel* textLabel14_3;
00200 QLabel* textLabel13_3;
00201 QLineEdit* LearnSettingsEpsilon;
00202 QLineEdit* LearnSettingsMomentumTerm;
00203 QCheckBox* LearnSettingsMomentumTermCheck;
00204 QLineEdit* LearnSettingsWeightDecay;
00205 QCheckBox* LearnSettingsWeightDecayCheck;
00206 QLineEdit* LearnSettingsOptimalTolerance;
00207 QCheckBox* LearnSettingsOptimalToleranceCheck;
00208 QLabel* textLabel12_3;
00209 QPushButton* LearnSettingsStartLearning;
00210 QWidget* tab_8;
00211 QGroupBox* OutputNetwork0;
00212 Graph* OutputLearnImprovementNetwork0;
00213 QGroupBox* OutputNetwork1;
00214 Graph* OutputLearnImprovementNetwork1;
00215 QGroupBox* OutputNetwork2;
00216 Graph* OutputLearnImprovementNetwork2;
00217 QGroupBox* OutputAll;
00218 Graph* OutputLearnImprovementAll;
00219 QGroupBox* OutputWeightMatrix;
00220 WeightMatrix* weightMatrix1;
00221 QButtonGroup* OutputNetButtonGroup;
00222 QRadioButton* OutPutNetButton0;
00223 QRadioButton* OutPutNetButton1;
00224 QRadioButton* OutPutNetButton2;
00225 QLabel* textLabel4_3;
00226 QSpinBox* OutputMatrixLayer0;
00227 QLabel* textLabel5_3;
00228 QSpinBox* OutputMatrixLayer1;
00229 QMenuBar *menubar;
00230 QPopupMenu *FileMenu;
00231 QPopupMenu *AboutMenu;
00232 QAction* Quit;
00233 QAction* About;
00234
00235 public slots:
00236 virtual void OutputMatrixLayer1SetValue( int );
00237 virtual void OutputMatrixLayer0SetValue( int );
00238 virtual void AudioDirViewFolderSelected( QString * );
00239 virtual void SetManagerAddToTrainingPressed();
00240 virtual void SetManagerRemoveFromTrainingPressed();
00241 virtual void SetManagerMoveFromTrainingToTestingPressed();
00242 virtual void SetManagerAddToTestPressed();
00243 virtual void SetManagerRemoveFromTestPressed();
00244 virtual void SetManagerMoveFromTestingToTrainingPressed();
00245 virtual void SetManagerTrainingSetNewSetPressed();
00246 virtual void SetManagerTrainingSetSaveSetPressed();
00247 virtual void AudioRecordPressed();
00248 virtual void AudioPlayPressed();
00249 virtual void AudioRecordFileSelectPressed();
00250 virtual void AudioProcessingInterleavingChanged( int );
00251 virtual void AudioProcessingFactorChanged( int );
00252 virtual void AudioNumberOfWindowsChanged( int );
00253 virtual void startLearningPressed();
00254 virtual void SetManagerTrainingSetNameChanged( const QString & );
00255 virtual void SetManagerTestingSetLoadSet();
00256 virtual void SetManagerTestingSetSaveSetPressed();
00257 virtual void SetManagerTestingSetNewSetPressed();
00258 virtual void SetManagerTrainingSetLoadSet();
00259 virtual void SetManagerTestingSetNameChanged( const QString & );
00260 virtual void NeuralNetLoadSystemPressed();
00261 virtual void NeuralNetSaveSystemPressed();
00262 virtual void NeuralNetNetwork0NumberOfLayersChanged( int );
00263 virtual void NeuralNetNetwork0ChangeLayerChanged( int );
00264 virtual void NeuralNetNetwork0NumberOfNeuronsChanged( int );
00265 virtual void NeuralNetNetwork0ActivationFunctionChanged( int );
00266 virtual void NeuralNetNetwork1NumberOfLayersChanged( int );
00267 virtual void NeuralNetNetwork1ChangeLayerChanged( int );
00268 virtual void NeuralNetNetwork1NumberOfNeuronsChanged( int );
00269 virtual void NeuralNetNetwork1ActivationFunctionChanged( int );
00270 virtual void NeuralNetNetwork2NumberOfLayersChanged( int );
00271 virtual void NeuralNetNetwork2ChangeLayerChanged( int );
00272 virtual void NeuralNetNetwork2NumberOfNeuronsChanged( int );
00273 virtual void NeuralNetNetwork2ActivationFunctionChanged( int );
00274 virtual void AudioClassifySamplePressed();
00275 virtual void OutputDisplayWeightMatrix();
00276 virtual void NeuralNetGenerateSystemPressed();
00277 virtual void LearnSettingsAutoLearnPressed();
00278 virtual void openAboutForm();
00279 virtual void setOutputLayerSelectorMaximum();
00280
00281 protected:
00282 QGridLayout* GUIMainLayout;
00283 QGridLayout* tabLayout;
00284 QVBoxLayout* layout89;
00285 QHBoxLayout* layout90;
00286 QVBoxLayout* layout89_2;
00287 QGridLayout* groupBox2Layout;
00288 QVBoxLayout* layout88;
00289 QHBoxLayout* layout110;
00290 QVBoxLayout* layout107;
00291 QHBoxLayout* layout104;
00292 QHBoxLayout* layout105;
00293 QHBoxLayout* layout106;
00294 QVBoxLayout* layout109;
00295 QHBoxLayout* layout103;
00296 QHBoxLayout* layout102;
00297 QHBoxLayout* layout101;
00298 QHBoxLayout* layout111;
00299 QHBoxLayout* layout86;
00300 QGridLayout* AudioWaveformBoxLayout;
00301 QGridLayout* groupBox23Layout;
00302 QGridLayout* AudiowindowedformBoxLayout;
00303 QHBoxLayout* layout66;
00304 QHBoxLayout* layout125;
00305 QGridLayout* groupBox19Layout;
00306 QHBoxLayout* layout83;
00307 QGridLayout* layout82;
00308 QVBoxLayout* layout77;
00309 QHBoxLayout* layout75;
00310 QGridLayout* groupBox4Layout;
00311 QVBoxLayout* layout83_2;
00312 QHBoxLayout* layout122;
00313 QHBoxLayout* layout82_2;
00314 QHBoxLayout* layout60;
00315 QGridLayout* tabLayout_2;
00316 QHBoxLayout* layout63;
00317 QVBoxLayout* layout59;
00318 QHBoxLayout* layout57;
00319 QVBoxLayout* layout62;
00320 QVBoxLayout* layout54;
00321 QVBoxLayout* layout61;
00322 QVBoxLayout* layout54_2;
00323 QVBoxLayout* layout60_2;
00324 QHBoxLayout* layout57_2;
00325 QGridLayout* tabLayout_3;
00326 QVBoxLayout* layout88_2;
00327 QHBoxLayout* layout84;
00328 QGridLayout* tabLayout_4;
00329 QHBoxLayout* layout87;
00330 QVBoxLayout* layout86_2;
00331 QGridLayout* GroupBox9Layout;
00332 QVBoxLayout* layout67;
00333 QHBoxLayout* layout66_2;
00334 QGridLayout* Frame3Layout;
00335 QVBoxLayout* layout65;
00336 QHBoxLayout* layout64;
00337 QGridLayout* NeuralNetNetwork0LayerBoxLayout;
00338 QGridLayout* layout63_2;
00339 QGridLayout* groupBox20Layout;
00340 QHBoxLayout* layout79;
00341 QVBoxLayout* layout78;
00342 QVBoxLayout* layout77_2;
00343 QGridLayout* GroupBox8_2Layout;
00344 QVBoxLayout* layout64_2;
00345 QGridLayout* layout63_3;
00346 QGridLayout* tabLayout_5;
00347 QHBoxLayout* layout90_2;
00348 QVBoxLayout* layout89_3;
00349 QGridLayout* GroupBox9_4Layout;
00350 QVBoxLayout* layout67_2;
00351 QHBoxLayout* layout66_3;
00352 QGridLayout* Frame3_4Layout;
00353 QVBoxLayout* layout65_3;
00354 QHBoxLayout* layout64_2_2;
00355 QGridLayout* NeuralNetNetwork0LayerBox_2Layout;
00356 QGridLayout* layout63_2_2;
00357 QGridLayout* groupBox20_2Layout;
00358 QHBoxLayout* layout79_2;
00359 QVBoxLayout* layout78_2;
00360 QVBoxLayout* layout77_2_2;
00361 QGridLayout* GroupBox8_2_4Layout;
00362 QVBoxLayout* layout64_3;
00363 QGridLayout* layout63_3_2;
00364 QGridLayout* tabLayout_6;
00365 QHBoxLayout* layout92;
00366 QVBoxLayout* layout91;
00367 QGridLayout* GroupBox9_5Layout;
00368 QVBoxLayout* layout67_3;
00369 QHBoxLayout* layout66_5;
00370 QGridLayout* Frame3_5Layout;
00371 QVBoxLayout* layout65_5;
00372 QHBoxLayout* layout64_4;
00373 QGridLayout* NeuralNetNetwork0LayerBox_3Layout;
00374 QGridLayout* layout63_4;
00375 QGridLayout* groupBox20_3Layout;
00376 QHBoxLayout* layout79_3;
00377 QVBoxLayout* layout78_3;
00378 QVBoxLayout* layout77_3;
00379 QGridLayout* GroupBox8_2_5Layout;
00380 QVBoxLayout* layout64_5;
00381 QGridLayout* layout63_5;
00382 QGridLayout* tabLayout_7;
00383 QHBoxLayout* layout100;
00384 QVBoxLayout* layout99;
00385 QGridLayout* layout81;
00386 QGridLayout* layout55;
00387 QHBoxLayout* layout98;
00388 QVBoxLayout* layout97;
00389 QHBoxLayout* layout96;
00390 QGridLayout* tabLayout_8;
00391 QVBoxLayout* layout89_4;
00392 QHBoxLayout* layout60_3;
00393 QVBoxLayout* layout59_2;
00394 QGridLayout* OutputNetwork0Layout;
00395 QGridLayout* OutputNetwork1Layout;
00396 QGridLayout* OutputNetwork2Layout;
00397 QVBoxLayout* layout58;
00398 QGridLayout* OutputAllLayout;
00399 QHBoxLayout* layout57_3;
00400 QGridLayout* OutputWeightMatrixLayout;
00401 QVBoxLayout* layout60_4;
00402 QGridLayout* OutputNetButtonGroupLayout;
00403 QVBoxLayout* layout79_4;
00404 QVBoxLayout* layout59_3;
00405 QHBoxLayout* layout88_3;
00406
00407 protected slots:
00408 virtual void languageChange();
00409 private:
00410 QPixmap image0;
00411
00412 };
00413
00414 #endif // GUIMAIN_H